@wakastellar/ui 3.2.0 → 3.3.2
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/charts.cjs.js +1 -1
- package/dist/charts.d.ts +1 -17
- package/dist/charts.es.js +2 -16
- package/dist/chunk-BDDJmn7V.js +1 -0
- package/dist/chunk-BH6uBOac.mjs +23 -0
- package/dist/cli/index.cjs +621 -188
- package/dist/cn-DnPbmOCy.js +1 -0
- package/dist/cn-DpLcAzrf.mjs +22 -0
- package/dist/doc.cjs.js +2 -0
- package/dist/doc.d.ts +1 -0
- package/dist/doc.es.js +131 -0
- package/dist/exceljs.min-BuefmDRS.js +28 -0
- package/dist/exceljs.min-DG9M8IZ1.mjs +32037 -0
- package/dist/export.cjs.js +1 -1
- package/dist/export.d.ts +1 -30
- package/dist/export.es.js +2 -5
- package/dist/index.cjs.js +259 -240
- package/dist/index.d.ts +1 -35
- package/dist/index.es.js +95716 -98932
- package/dist/rich-text.cjs.js +1 -1
- package/dist/rich-text.d.ts +1 -21
- package/dist/rich-text.es.js +2 -4
- package/dist/separator-BDReXBvI.mjs +59 -0
- package/dist/separator-BKjNl9sI.js +1 -0
- package/dist/src/blocks/waka-doc-shell/index.d.ts +3 -0
- package/dist/src/blocks/waka-doc-shell/types.d.ts +32 -0
- package/dist/src/charts.d.ts +17 -0
- package/dist/src/components/command/index.d.ts +83 -0
- package/dist/{components → src/components}/index.d.ts +39 -0
- package/dist/src/components/waka-actor-badge/index.d.ts +8 -0
- package/dist/src/components/waka-actors-list/index.d.ts +18 -0
- package/dist/src/components/waka-ai-assistant-button/index.d.ts +8 -0
- package/dist/src/components/waka-credit-activity-feed/index.d.ts +21 -0
- package/dist/src/components/waka-credit-alert/index.d.ts +24 -0
- package/dist/src/components/waka-credit-balance/index.d.ts +30 -0
- package/dist/src/components/waka-credit-balance/types.d.ts +34 -0
- package/dist/src/components/waka-credit-breakdown/index.d.ts +32 -0
- package/dist/src/components/waka-credit-burn-rate/index.d.ts +25 -0
- package/dist/src/components/waka-credit-history/index.d.ts +31 -0
- package/dist/src/components/waka-credit-meter/index.d.ts +27 -0
- package/dist/src/components/waka-credit-pricing-pack/index.d.ts +17 -0
- package/dist/src/components/waka-credit-projection/index.d.ts +21 -0
- package/dist/src/components/waka-credit-quota/index.d.ts +25 -0
- package/dist/src/components/waka-credit-receipt/index.d.ts +23 -0
- package/dist/src/components/waka-credit-top-up/index.d.ts +26 -0
- package/dist/src/components/waka-credit-transaction/index.d.ts +22 -0
- package/dist/src/components/waka-credit-transfer-form/index.d.ts +27 -0
- package/dist/src/components/waka-credit-usage-chart/index.d.ts +34 -0
- package/dist/src/components/waka-doc-breadcrumb/index.d.ts +11 -0
- package/dist/src/components/waka-doc-callout/index.d.ts +9 -0
- package/dist/src/components/waka-doc-code-block/index.d.ts +9 -0
- package/dist/src/components/waka-doc-nav/index.d.ts +16 -0
- package/dist/src/components/waka-doc-renderer/index.d.ts +7 -0
- package/dist/src/components/waka-doc-search/index.d.ts +18 -0
- package/dist/src/components/waka-doc-table/index.d.ts +8 -0
- package/dist/src/components/waka-doc-toc/index.d.ts +11 -0
- package/dist/src/components/waka-doc-toolbar/index.d.ts +10 -0
- package/dist/src/components/waka-doc-version/index.d.ts +13 -0
- package/dist/src/components/waka-document-flyover/index.d.ts +10 -0
- package/dist/src/components/waka-document-preview-popup/index.d.ts +26 -0
- package/dist/src/components/waka-hour-balance-badge/index.d.ts +8 -0
- package/dist/src/components/waka-hour-consumption-table/index.d.ts +15 -0
- package/dist/src/components/waka-hour-pack-dialog/index.d.ts +8 -0
- package/dist/src/components/waka-project-stats-header/index.d.ts +15 -0
- package/dist/src/components/waka-step-comment-bubble/index.d.ts +13 -0
- package/dist/src/components/waka-step-comment-panel/index.d.ts +20 -0
- package/dist/src/components/waka-step-permission-matrix/index.d.ts +12 -0
- package/dist/src/components/waka-time-entry-dialog/index.d.ts +16 -0
- package/dist/src/components/waka-time-tracking-flyover/index.d.ts +11 -0
- package/dist/src/doc.d.ts +33 -0
- package/dist/src/export.d.ts +30 -0
- package/dist/src/index.d.ts +35 -0
- package/dist/src/rich-text.d.ts +21 -0
- package/dist/types-B6GVaSIP.mjs +934 -0
- package/dist/types-BH9cQRqZ.js +1 -0
- package/dist/ui.css +2 -1
- package/dist/useDataTableImport-BPvfo--2.mjs +250 -0
- package/dist/useDataTableImport-Cm_pCKnO.js +7 -0
- package/dist/waka-doc-renderer-BZ2-SqyT.js +3 -0
- package/dist/waka-doc-renderer-BkIvas3z.mjs +1679 -0
- package/dist/waka-rich-text-editor-BJGlQgpq.js +1 -0
- package/dist/waka-rich-text-editor-BJzzxeP1.mjs +361 -0
- package/dist/waka-rich-text-editor-wnXLwvUo.js +1 -0
- package/package.json +100 -70
- package/src/blocks/footer/index.tsx +7 -1
- package/src/blocks/login/index.tsx +7 -1
- package/src/blocks/profile/index.tsx +5 -3
- package/src/blocks/waka-doc-shell/WakaDocShell.stories.tsx +198 -0
- package/src/blocks/waka-doc-shell/index.tsx +240 -0
- package/src/blocks/waka-doc-shell/types.ts +40 -0
- package/src/components/index.ts +46 -0
- package/src/components/waka-actor-badge/index.tsx +34 -0
- package/src/components/waka-actors-list/index.tsx +125 -0
- package/src/components/waka-ai-assistant-button/index.tsx +31 -0
- package/src/components/waka-credit-activity-feed/WakaCreditActivityFeed.stories.tsx +261 -0
- package/src/components/waka-credit-activity-feed/index.tsx +364 -0
- package/src/components/waka-credit-alert/WakaCreditAlert.stories.tsx +170 -0
- package/src/components/waka-credit-alert/index.tsx +179 -0
- package/src/components/waka-credit-balance/WakaCreditBalance.stories.tsx +259 -0
- package/src/components/waka-credit-balance/index.tsx +433 -0
- package/src/components/waka-credit-balance/types.ts +38 -0
- package/src/components/waka-credit-breakdown/WakaCreditBreakdown.stories.tsx +186 -0
- package/src/components/waka-credit-breakdown/index.tsx +487 -0
- package/src/components/waka-credit-burn-rate/WakaCreditBurnRate.stories.tsx +227 -0
- package/src/components/waka-credit-burn-rate/index.tsx +475 -0
- package/src/components/waka-credit-history/WakaCreditHistory.stories.tsx +290 -0
- package/src/components/waka-credit-history/index.tsx +654 -0
- package/src/components/waka-credit-meter/WakaCreditMeter.stories.tsx +418 -0
- package/src/components/waka-credit-meter/index.tsx +624 -0
- package/src/components/waka-credit-pricing-pack/WakaCreditPricingPack.stories.tsx +217 -0
- package/src/components/waka-credit-pricing-pack/index.tsx +185 -0
- package/src/components/waka-credit-projection/WakaCreditProjection.stories.tsx +163 -0
- package/src/components/waka-credit-projection/index.tsx +345 -0
- package/src/components/waka-credit-quota/WakaCreditQuota.stories.tsx +260 -0
- package/src/components/waka-credit-quota/index.tsx +461 -0
- package/src/components/waka-credit-receipt/WakaCreditReceipt.stories.tsx +98 -0
- package/src/components/waka-credit-receipt/index.tsx +247 -0
- package/src/components/waka-credit-top-up/WakaCreditTopUp.stories.tsx +196 -0
- package/src/components/waka-credit-top-up/index.tsx +403 -0
- package/src/components/waka-credit-transaction/WakaCreditTransaction.stories.tsx +218 -0
- package/src/components/waka-credit-transaction/index.tsx +278 -0
- package/src/components/waka-credit-transfer-form/WakaCreditTransferForm.stories.tsx +122 -0
- package/src/components/waka-credit-transfer-form/index.tsx +352 -0
- package/src/components/waka-credit-usage-chart/WakaCreditUsageChart.stories.tsx +214 -0
- package/src/components/waka-credit-usage-chart/index.tsx +307 -0
- package/src/components/waka-doc-breadcrumb/WakaDocBreadcrumb.stories.tsx +47 -0
- package/src/components/waka-doc-breadcrumb/index.tsx +42 -0
- package/src/components/waka-doc-callout/WakaDocCallout.stories.tsx +67 -0
- package/src/components/waka-doc-callout/index.tsx +86 -0
- package/src/components/waka-doc-code-block/WakaDocCodeBlock.stories.tsx +92 -0
- package/src/components/waka-doc-code-block/index.tsx +120 -0
- package/src/components/waka-doc-nav/WakaDocNav.stories.tsx +95 -0
- package/src/components/waka-doc-nav/index.tsx +125 -0
- package/src/components/waka-doc-renderer/WakaDocRenderer.stories.tsx +120 -0
- package/src/components/waka-doc-renderer/index.tsx +217 -0
- package/src/components/waka-doc-search/WakaDocSearch.stories.tsx +64 -0
- package/src/components/waka-doc-search/index.tsx +158 -0
- package/src/components/waka-doc-table/WakaDocTable.stories.tsx +47 -0
- package/src/components/waka-doc-table/index.tsx +37 -0
- package/src/components/waka-doc-toc/WakaDocToc.stories.tsx +54 -0
- package/src/components/waka-doc-toc/index.tsx +90 -0
- package/src/components/waka-doc-toolbar/WakaDocToolbar.stories.tsx +79 -0
- package/src/components/waka-doc-toolbar/index.tsx +131 -0
- package/src/components/waka-doc-version/WakaDocVersion.stories.tsx +41 -0
- package/src/components/waka-doc-version/index.tsx +63 -0
- package/src/components/waka-document-flyover/index.tsx +36 -0
- package/src/components/waka-document-preview-popup/index.tsx +103 -0
- package/src/components/waka-hour-balance-badge/index.tsx +43 -0
- package/src/components/waka-hour-consumption-table/index.tsx +72 -0
- package/src/components/waka-hour-pack-dialog/index.tsx +72 -0
- package/src/components/waka-project-stats-header/index.tsx +69 -0
- package/src/components/waka-step-comment-bubble/index.tsx +71 -0
- package/src/components/waka-step-comment-panel/index.tsx +106 -0
- package/src/components/waka-step-permission-matrix/index.tsx +65 -0
- package/src/components/waka-time-entry-dialog/index.tsx +131 -0
- package/src/components/waka-time-tracking-flyover/index.tsx +41 -0
- package/dist/cn-B-fTneHh.js +0 -1
- package/dist/cn-DzRe1GWm.mjs +0 -21
- package/dist/components/command/index.d.ts +0 -51
- package/dist/exceljs.min-BcLLX0PC.js +0 -29
- package/dist/exceljs.min-KOayaaQ4.mjs +0 -23013
- package/dist/index-B9GTFkji.js +0 -1
- package/dist/index-c0jcWyEL.mjs +0 -466
- package/dist/types-BOWIoR7j.mjs +0 -1111
- package/dist/types-D2yCJ91P.js +0 -1
- package/dist/useDataTableImport-COVnvslz.js +0 -9
- package/dist/useDataTableImport-DAlxBY8w.mjs +0 -237
- /package/dist/{blocks → src/blocks}/activity-timeline/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/antivirus-dashboard/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/apm-overview/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/auth-2fa/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/calendar-view/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/chat/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/chat/widget.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/chat-interface/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/checkout-flow/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/cicd-builder/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/clamav-service-status/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/cloud-cost-dashboard/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/container-orchestrator/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/dashboard/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/dashboard-kpi/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/database-admin/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/deployment-dashboard/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/empty-states/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/error-pages/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/faq/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/file-manager/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/file-scan-uploader/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/footer/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/gitops-sync-status/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/header/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/headtab/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/i18n-editor/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/incident-manager/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/infrastructure-map/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/kanban-board/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/landing/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/language-selector/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/layout/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/login/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/login/types.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/on-call-schedule/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/player-profile/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/pricing/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/profile/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/quarantine-manager/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/release-notes/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/scan-history-log/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/scan-policy-editor/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/scan-report-generator/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/settings/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/sidebar/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/signature-database-manager/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/threat-alert-banner/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/user-management/index.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/wizard/index.d.ts +0 -0
- /package/dist/{cli → src/cli}/commands/add.d.ts +0 -0
- /package/dist/{cli → src/cli}/commands/init.d.ts +0 -0
- /package/dist/{cli → src/cli}/commands/list.d.ts +0 -0
- /package/dist/{cli → src/cli}/commands/search.d.ts +0 -0
- /package/dist/{cli → src/cli}/index.d.ts +0 -0
- /package/dist/{cli → src/cli}/utils/config.d.ts +0 -0
- /package/dist/{cli → src/cli}/utils/logger.d.ts +0 -0
- /package/dist/{cli → src/cli}/utils/registry.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTable.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTableAdvanced.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTableColumnResizer.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTableContextMenu.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTableEditCell.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTableFilters.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTableGrouping.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTablePagination.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTableSelection.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/DataTableToolbar.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/examples/EditExample.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/hooks/useDataTable.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/hooks/useDataTableAdvanced.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/hooks/useDataTableEdit.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/hooks/useDataTableExport.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/hooks/useDataTableImport.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/hooks/useDataTableTheme.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/hooks/useDataTableVirtualization.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/hooks/useTableLayout.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/index.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/types.d.ts +0 -0
- /package/dist/{components → src/components}/DataTable/utils.d.ts +0 -0
- /package/dist/{components → src/components}/accordion/index.d.ts +0 -0
- /package/dist/{components → src/components}/alert/index.d.ts +0 -0
- /package/dist/{components → src/components}/alert-dialog/index.d.ts +0 -0
- /package/dist/{components → src/components}/aspect-ratio/index.d.ts +0 -0
- /package/dist/{components → src/components}/avatar/index.d.ts +0 -0
- /package/dist/{components → src/components}/badge/index.d.ts +0 -0
- /package/dist/{components → src/components}/button/index.d.ts +0 -0
- /package/dist/{components → src/components}/calendar/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/index.d.ts +0 -0
- /package/dist/{components → src/components}/checkbox/index.d.ts +0 -0
- /package/dist/{components → src/components}/code/index.d.ts +0 -0
- /package/dist/{components → src/components}/collapsible/index.d.ts +0 -0
- /package/dist/{components → src/components}/context-menu/index.d.ts +0 -0
- /package/dist/{components → src/components}/dialog/index.d.ts +0 -0
- /package/dist/{components → src/components}/dropdown-menu/index.d.ts +0 -0
- /package/dist/{components → src/components}/error-boundary/ErrorBoundary.d.ts +0 -0
- /package/dist/{components → src/components}/error-boundary/index.d.ts +0 -0
- /package/dist/{components → src/components}/form/index.d.ts +0 -0
- /package/dist/{components → src/components}/hover-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/index.d.ts +0 -0
- /package/dist/{components → src/components}/input-otp/index.d.ts +0 -0
- /package/dist/{components → src/components}/label/index.d.ts +0 -0
- /package/dist/{components → src/components}/language-selector/index.d.ts +0 -0
- /package/dist/{components → src/components}/menubar/index.d.ts +0 -0
- /package/dist/{components → src/components}/navigation-menu/index.d.ts +0 -0
- /package/dist/{components → src/components}/popover/index.d.ts +0 -0
- /package/dist/{components → src/components}/progress/index.d.ts +0 -0
- /package/dist/{components → src/components}/radio-group/index.d.ts +0 -0
- /package/dist/{components → src/components}/scroll-area/index.d.ts +0 -0
- /package/dist/{components → src/components}/select/index.d.ts +0 -0
- /package/dist/{components → src/components}/separator/index.d.ts +0 -0
- /package/dist/{components → src/components}/sheet/index.d.ts +0 -0
- /package/dist/{components → src/components}/skeleton/index.d.ts +0 -0
- /package/dist/{components → src/components}/slider/index.d.ts +0 -0
- /package/dist/{components → src/components}/switch/index.d.ts +0 -0
- /package/dist/{components → src/components}/table/index.d.ts +0 -0
- /package/dist/{components → src/components}/tabs/index.d.ts +0 -0
- /package/dist/{components → src/components}/textarea/index.d.ts +0 -0
- /package/dist/{components → src/components}/theme-selector/index.d.ts +0 -0
- /package/dist/{components → src/components}/toast/index.d.ts +0 -0
- /package/dist/{components → src/components}/toaster/index.d.ts +0 -0
- /package/dist/{components → src/components}/toggle/index.d.ts +0 -0
- /package/dist/{components → src/components}/tooltip/index.d.ts +0 -0
- /package/dist/{components → src/components}/typography/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-3d-pie-chart/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-achievement-unlock/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-activity-feed/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-ad-banner/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-ad-fallback/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-ad-inline/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-ad-interstitial/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-ad-placeholder/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-ad-provider/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-ad-sidebar/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-ad-sticky-footer/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-address-autocomplete/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-admincrumb/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-alert-panel/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-alert-stack/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-allocation-matrix/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-approval-chain/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-artifact-list/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-audit-log/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-autocomplete/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-badge-showcase/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-barcode/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-biometric-prompt/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-bottom-sheet/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-breadcrumb/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-breadcrumb-path/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-budget-burn/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-build-matrix/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-capacity-planner/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-carousel/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-cart-summary/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-challenge-timer/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/WakaAreaChart.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/WakaBarChart.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/WakaChart.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/WakaLineChart.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/WakaMiniChart.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/WakaPieChart.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/WakaSparkline.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/dataTableHelpers.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/hooks/useChartTheme.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/hooks/useRechartsLoader.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-charts/types.d.ts +0 -0
- /package/dist/{components → src/components}/waka-chat-bubble/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-checklist/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-checkout-stepper/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-cohort-table/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-color-picker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-combo-counter/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-combobox/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-command-bar/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-compare-period/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-config-comparator/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-connection-matrix/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-container-list/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-content-recommendation/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-contribution-graph/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-cost-breakdown/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-coupon-input/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-credit-card-input/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-daily-reward/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-database-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-date-range-picker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-datetime-picker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-datetime-picker.form-integration/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-dependency-tree/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-deployment-lane/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-device-trust/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-dock/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-drawer/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-empty-state/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-env-var-editor/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-error-shake/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-feature-announcement/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-feature-flag-row/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-file-upload/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-floating-nav/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-flow-diagram/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-funnel-chart/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-glow-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-goal-progress/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-haptic-button/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-health-pulse/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-heatmap/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-hotspot/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-image/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-incident-timeline/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-invoice-preview/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-kanban/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-kpi-dashboard/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-kubernetes-overview/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-leaderboard/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-level-progress/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-liquid-button/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-loading-orbit/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-log-viewer/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-loot-box/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-magic-link/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-magnetic-button/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-mention-input/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-metric-sparkline/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-migration-list/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-milestone-road/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-modal/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-morph-button/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-network-topology/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-notifications/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-number-input/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-orbital-menu/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-order-tracker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-outstream-video/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-pagination/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-password-strength/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-payment-method-picker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-permission-matrix/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-phone-input/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-pipeline-view/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-player-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-pod-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-points-popup/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-power-up/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-presence-indicator/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-pricing-table/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-product-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-progress-onboarding/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-pull-to-refresh/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-qrcode/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-query-explain/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-quest-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-quota-bar/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-radar-score/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-rank-badge/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-rating-input/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-reaction-picker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-region-map/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-resource-gauge/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-resource-pool/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-rich-text-editor/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-rollback-slider/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-sankey-diagram/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-schedule-picker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-scratch-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-season-pass/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-secret-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-security-scan-result/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-security-score/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-segmented-control/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-server-rack/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-service-graph/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-session-manager/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-signature-pad/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-skeleton-wave/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-skill-tree/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-sla-tracker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-slider-range/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-spin-wheel/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-spinner/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-sponsored-badge/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-sponsored-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-sponsored-feed/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-spotlight/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-stat/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-stats-hexagon/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-status-matrix/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-stepper/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-streak-counter/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-success-explosion/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-swipe-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-tabs-morph/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-tag-input/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-team-banner/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-terminal-output/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-test-report/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-theme-creator/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-theme-manager/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-thread-view/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-tilt-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-time-picker/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-timeline/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-tooltip-tour/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-tour-guide/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-tournament-bracket/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-trace-viewer/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-tree/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-treemap-chart/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-two-factor-setup/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-typewriter/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-typing-indicator/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-versus-card/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-video/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-video-ad/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-video-call/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-video-overlay/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-virtual-list/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-voice-message/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-welcome-modal/index.d.ts +0 -0
- /package/dist/{components → src/components}/waka-xp-bar/index.d.ts +0 -0
- /package/dist/{context → src/context}/admincrumb-context.d.ts +0 -0
- /package/dist/{context → src/context}/index.d.ts +0 -0
- /package/dist/{context → src/context}/language-context.d.ts +0 -0
- /package/dist/{context → src/context}/theme-context.d.ts +0 -0
- /package/dist/{context → src/context}/theme-provider.d.ts +0 -0
- /package/dist/{context → src/context}/waka-provider.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/index.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/use-toast.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/use-translation.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useToast.d.ts +0 -0
- /package/dist/{lib → src/lib}/i18n.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Header.d.ts +0 -0
- /package/dist/{stories → src/stories}/Header.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Page.d.ts +0 -0
- /package/dist/{stories → src/stories}/Page.stories.d.ts +0 -0
- /package/dist/{types → src/types}/index.d.ts +0 -0
- /package/dist/{types → src/types}/link.d.ts +0 -0
- /package/dist/{types → src/types}/provider.d.ts +0 -0
- /package/dist/{utils → src/utils}/cn.d.ts +0 -0
- /package/dist/{utils → src/utils}/datetime-helpers.d.ts +0 -0
- /package/dist/{utils → src/utils}/error-handling.d.ts +0 -0
- /package/dist/{utils → src/utils}/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/logger.d.ts +0 -0
- /package/dist/{utils → src/utils}/security.d.ts +0 -0
- /package/dist/{utils → src/utils}/theme-loader.d.ts +0 -0
- /package/dist/{utils → src/utils}/tweak.d.ts +0 -0
package/dist/rich-text.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./waka-rich-text-editor-BJGlQgpq.js`);exports.WakaRichTextEditor=e.t;
|
package/dist/rich-text.d.ts
CHANGED
|
@@ -1,21 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Entry point pour WakaRichTextEditor
|
|
3
|
-
*
|
|
4
|
-
* Usage:
|
|
5
|
-
* ```ts
|
|
6
|
-
* import { WakaRichTextEditor } from "@wakastellar/ui/rich-text"
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* Dépendances requises:
|
|
10
|
-
* - @tiptap/react (>=2.0.0)
|
|
11
|
-
* - @tiptap/starter-kit (>=2.0.0)
|
|
12
|
-
* - @tiptap/extension-underline (>=2.0.0)
|
|
13
|
-
* - @tiptap/extension-link (>=2.0.0)
|
|
14
|
-
* - @tiptap/extension-text-align (>=2.0.0)
|
|
15
|
-
*
|
|
16
|
-
* Installation:
|
|
17
|
-
* ```bash
|
|
18
|
-
* pnpm add @tiptap/react @tiptap/starter-kit @tiptap/extension-underline @tiptap/extension-link @tiptap/extension-text-align
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export { WakaRichTextEditor, type WakaRichTextEditorProps, type ToolbarButton } from './components/waka-rich-text-editor';
|
|
1
|
+
export {}
|
package/dist/rich-text.es.js
CHANGED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { t as e } from "./cn-DpLcAzrf.mjs";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { cva as n } from "class-variance-authority";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import { Slot as i } from "@radix-ui/react-slot";
|
|
6
|
+
import * as a from "@radix-ui/react-separator";
|
|
7
|
+
//#region src/components/button/index.tsx
|
|
8
|
+
var o = n("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:h-4 [&_svg]:w-4 [&_svg]:shrink-0", {
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
|
|
12
|
+
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
|
13
|
+
outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
|
|
14
|
+
secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
|
|
15
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
16
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
default: "h-9 px-4 py-2",
|
|
20
|
+
sm: "h-8 rounded-md px-3 text-xs",
|
|
21
|
+
lg: "h-10 rounded-md px-8",
|
|
22
|
+
icon: "h-9 w-9"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
variant: "default",
|
|
27
|
+
size: "default"
|
|
28
|
+
}
|
|
29
|
+
}), s = t.forwardRef(({ className: t, variant: n, size: a, asChild: s = !1, ...c }, l) => /* @__PURE__ */ r(s ? i : "button", {
|
|
30
|
+
className: e(o({
|
|
31
|
+
variant: n,
|
|
32
|
+
size: a,
|
|
33
|
+
className: t
|
|
34
|
+
})),
|
|
35
|
+
ref: l,
|
|
36
|
+
...c
|
|
37
|
+
}));
|
|
38
|
+
s.displayName = "Button";
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/components/input/index.tsx
|
|
41
|
+
var c = t.forwardRef(({ className: t, type: n, ...i }, a) => /* @__PURE__ */ r("input", {
|
|
42
|
+
type: n,
|
|
43
|
+
className: e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", t),
|
|
44
|
+
ref: a,
|
|
45
|
+
...i
|
|
46
|
+
}));
|
|
47
|
+
c.displayName = "Input";
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/components/separator/index.tsx
|
|
50
|
+
var l = t.forwardRef(({ className: t, orientation: n = "horizontal", decorative: i = !0, ...o }, s) => /* @__PURE__ */ r(a.Root, {
|
|
51
|
+
ref: s,
|
|
52
|
+
decorative: i,
|
|
53
|
+
orientation: n,
|
|
54
|
+
className: e("shrink-0 bg-border", n === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", t),
|
|
55
|
+
...o
|
|
56
|
+
}));
|
|
57
|
+
l.displayName = a.Root.displayName;
|
|
58
|
+
//#endregion
|
|
59
|
+
export { c as n, s as r, l as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BDDJmn7V.js`),t=require(`./cn-DnPbmOCy.js`);let n=require(`react`);n=e.n(n);let r=require(`class-variance-authority`),i=require(`react/jsx-runtime`),a=require(`@radix-ui/react-slot`),o=require(`@radix-ui/react-separator`);o=e.n(o);var s=(0,r.cva)(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:h-4 [&_svg]:w-4 [&_svg]:shrink-0`,{variants:{variant:{default:`bg-primary text-primary-foreground shadow hover:bg-primary/90`,destructive:`bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90`,outline:`border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2`,sm:`h-8 rounded-md px-3 text-xs`,lg:`h-10 rounded-md px-8`,icon:`h-9 w-9`}},defaultVariants:{variant:`default`,size:`default`}}),c=n.forwardRef(({className:e,variant:n,size:r,asChild:o=!1,...c},l)=>(0,i.jsx)(o?a.Slot:`button`,{className:t.t(s({variant:n,size:r,className:e})),ref:l,...c}));c.displayName=`Button`;var l=n.forwardRef(({className:e,type:n,...r},a)=>(0,i.jsx)(`input`,{type:n,className:t.t(`flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,e),ref:a,...r}));l.displayName=`Input`;var u=n.forwardRef(({className:e,orientation:n=`horizontal`,decorative:r=!0,...a},s)=>(0,i.jsx)(o.Root,{ref:s,decorative:r,orientation:n,className:t.t(`shrink-0 bg-border`,n===`horizontal`?`h-[1px] w-full`:`h-full w-[1px]`,e),...a}));u.displayName=o.Root.displayName,Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { WakaDocShellProps } from './types';
|
|
2
|
+
export type { WakaDocShellProps };
|
|
3
|
+
export declare function WakaDocShell({ content, mode, canEdit, onModeChange, onChange, debounceMs, saveStatus, navItems, activePageId, onPageChange, breadcrumbs, onBreadcrumbClick, searchPages, onSearchSelect, versions, currentVersion, onVersionChange, className, }: WakaDocShellProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DocNavItem } from '../../components/waka-doc-nav';
|
|
2
|
+
import { DocSearchPage } from '../../components/waka-doc-search';
|
|
3
|
+
import { DocVersion } from '../../components/waka-doc-version';
|
|
4
|
+
import { BreadcrumbItem } from '../../components/waka-doc-breadcrumb';
|
|
5
|
+
import { SaveStatus } from '../../components/waka-doc-toolbar';
|
|
6
|
+
export interface WakaDocShellProps {
|
|
7
|
+
/** Contenu markdown à afficher/éditer */
|
|
8
|
+
content: string;
|
|
9
|
+
/** Mode d'affichage */
|
|
10
|
+
mode?: "view" | "edit";
|
|
11
|
+
/** L'utilisateur peut-il basculer en mode édition */
|
|
12
|
+
canEdit?: boolean;
|
|
13
|
+
/** Callback changement de mode */
|
|
14
|
+
onModeChange?: (mode: "view" | "edit") => void;
|
|
15
|
+
/** Callback changement de contenu (mode edit, debounced) */
|
|
16
|
+
onChange?: (content: string) => void;
|
|
17
|
+
/** Délai debounce en ms */
|
|
18
|
+
debounceMs?: number;
|
|
19
|
+
/** Statut de sauvegarde */
|
|
20
|
+
saveStatus?: SaveStatus;
|
|
21
|
+
navItems?: DocNavItem[];
|
|
22
|
+
activePageId?: string;
|
|
23
|
+
onPageChange?: (item: DocNavItem) => void;
|
|
24
|
+
breadcrumbs?: BreadcrumbItem[];
|
|
25
|
+
onBreadcrumbClick?: (item: BreadcrumbItem) => void;
|
|
26
|
+
searchPages?: DocSearchPage[];
|
|
27
|
+
onSearchSelect?: (page: DocSearchPage) => void;
|
|
28
|
+
versions?: DocVersion[];
|
|
29
|
+
currentVersion?: string;
|
|
30
|
+
onVersionChange?: (versionId: string) => void;
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry point pour les composants WakaCharts
|
|
3
|
+
*
|
|
4
|
+
* Usage:
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { WakaBarChart, WakaLineChart, WakaPieChart } from "@wakastellar/ui/charts"
|
|
7
|
+
* ```
|
|
8
|
+
*
|
|
9
|
+
* Dépendances requises:
|
|
10
|
+
* - recharts (>=2.10.0)
|
|
11
|
+
*
|
|
12
|
+
* Installation:
|
|
13
|
+
* ```bash
|
|
14
|
+
* pnpm add recharts
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export * from './components/waka-charts';
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
6
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
7
|
+
} & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
10
|
+
label?: string;
|
|
11
|
+
shouldFilter?: boolean;
|
|
12
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
onValueChange?: (value: string) => void;
|
|
16
|
+
loop?: boolean;
|
|
17
|
+
disablePointerSelection?: boolean;
|
|
18
|
+
vimBindings?: boolean;
|
|
19
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
interface CommandDialogProps extends DialogProps {
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
}
|
|
23
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
25
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
26
|
+
} & {
|
|
27
|
+
asChild?: boolean;
|
|
28
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
29
|
+
value?: string;
|
|
30
|
+
onValueChange?: (search: string) => void;
|
|
31
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
32
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
33
|
+
children?: React.ReactNode;
|
|
34
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
35
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
36
|
+
} & {
|
|
37
|
+
asChild?: boolean;
|
|
38
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
39
|
+
label?: string;
|
|
40
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
44
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
45
|
+
} & {
|
|
46
|
+
asChild?: boolean;
|
|
47
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
51
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
52
|
+
} & {
|
|
53
|
+
asChild?: boolean;
|
|
54
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
55
|
+
heading?: React.ReactNode;
|
|
56
|
+
value?: string;
|
|
57
|
+
forceMount?: boolean;
|
|
58
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
59
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
60
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
61
|
+
} & {
|
|
62
|
+
asChild?: boolean;
|
|
63
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
64
|
+
alwaysRender?: boolean;
|
|
65
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
66
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
67
|
+
children?: React.ReactNode;
|
|
68
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
69
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
70
|
+
} & {
|
|
71
|
+
asChild?: boolean;
|
|
72
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
73
|
+
disabled?: boolean;
|
|
74
|
+
onSelect?: (value: string) => void;
|
|
75
|
+
value?: string;
|
|
76
|
+
keywords?: string[];
|
|
77
|
+
forceMount?: boolean;
|
|
78
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
79
|
+
declare const CommandShortcut: {
|
|
80
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
displayName: string;
|
|
82
|
+
};
|
|
83
|
+
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
|
|
@@ -230,3 +230,42 @@ export { WakaContentRecommendation, type WakaContentRecommendationProps, type Re
|
|
|
230
230
|
export { WakaVideoAd, type WakaVideoAdProps, } from './waka-video-ad';
|
|
231
231
|
export { WakaOutstreamVideo, type WakaOutstreamVideoProps, } from './waka-outstream-video';
|
|
232
232
|
export { WakaVideoOverlay, type WakaVideoOverlayProps, type OverlayPosition, type OverlayTrigger, } from './waka-video-overlay';
|
|
233
|
+
export * from './waka-credit-balance';
|
|
234
|
+
export * from './waka-credit-meter';
|
|
235
|
+
export * from './waka-credit-quota';
|
|
236
|
+
export * from './waka-credit-alert';
|
|
237
|
+
export * from './waka-credit-transaction';
|
|
238
|
+
export * from './waka-credit-history';
|
|
239
|
+
export * from './waka-credit-activity-feed';
|
|
240
|
+
export * from './waka-credit-usage-chart';
|
|
241
|
+
export * from './waka-credit-burn-rate';
|
|
242
|
+
export * from './waka-credit-breakdown';
|
|
243
|
+
export * from './waka-credit-projection';
|
|
244
|
+
export * from './waka-credit-pricing-pack';
|
|
245
|
+
export * from './waka-credit-top-up';
|
|
246
|
+
export * from './waka-credit-receipt';
|
|
247
|
+
export * from './waka-credit-transfer-form';
|
|
248
|
+
export * from './waka-doc-callout';
|
|
249
|
+
export * from './waka-doc-code-block';
|
|
250
|
+
export * from './waka-doc-toc';
|
|
251
|
+
export * from './waka-doc-nav';
|
|
252
|
+
export * from './waka-doc-search';
|
|
253
|
+
export * from './waka-doc-version';
|
|
254
|
+
export * from './waka-doc-toolbar';
|
|
255
|
+
export { WakaDocBreadcrumb, type WakaDocBreadcrumbProps } from './waka-doc-breadcrumb';
|
|
256
|
+
export * from './waka-doc-table';
|
|
257
|
+
export * from './waka-doc-renderer';
|
|
258
|
+
export * from './waka-hour-balance-badge';
|
|
259
|
+
export * from './waka-actor-badge';
|
|
260
|
+
export * from './waka-step-comment-bubble';
|
|
261
|
+
export * from './waka-step-comment-panel';
|
|
262
|
+
export * from './waka-time-entry-dialog';
|
|
263
|
+
export * from './waka-time-tracking-flyover';
|
|
264
|
+
export * from './waka-document-preview-popup';
|
|
265
|
+
export * from './waka-document-flyover';
|
|
266
|
+
export * from './waka-ai-assistant-button';
|
|
267
|
+
export * from './waka-step-permission-matrix';
|
|
268
|
+
export * from './waka-actors-list';
|
|
269
|
+
export * from './waka-project-stats-header';
|
|
270
|
+
export * from './waka-hour-pack-dialog';
|
|
271
|
+
export * from './waka-hour-consumption-table';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ActorBadgeProps {
|
|
2
|
+
role: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
isPrimary?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function ActorBadge({ role, name, isPrimary, className }: ActorBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { ActorBadge };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface Actor {
|
|
2
|
+
id: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
userName: string;
|
|
5
|
+
role: string;
|
|
6
|
+
isPrimary: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface ActorsListProps {
|
|
9
|
+
wakaActors: Actor[];
|
|
10
|
+
ppActors: Actor[];
|
|
11
|
+
requiredWakaRoles: string[];
|
|
12
|
+
requiredPpRoles: string[];
|
|
13
|
+
onAdd: (side: "waka" | "pp") => void;
|
|
14
|
+
onRemove: (actorId: string) => void;
|
|
15
|
+
onTogglePrimary: (actorId: string) => void;
|
|
16
|
+
}
|
|
17
|
+
declare function ActorsList({ wakaActors, ppActors, requiredWakaRoles, requiredPpRoles, onAdd, onRemove, onTogglePrimary, }: ActorsListProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export { ActorsList };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface AiAssistantButtonProps {
|
|
2
|
+
onClick: () => void;
|
|
3
|
+
hasExistingDoc?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function AiAssistantButton({ onClick, hasExistingDoc, disabled, className }: AiAssistantButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { AiAssistantButton };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CreditTransaction } from '../waka-credit-balance/types';
|
|
2
|
+
export interface WakaCreditActivityFeedProps {
|
|
3
|
+
/** List of credit transactions to display */
|
|
4
|
+
activities: CreditTransaction[];
|
|
5
|
+
/** Maximum number of items to display */
|
|
6
|
+
maxItems?: number;
|
|
7
|
+
/** Show "Load more" button at bottom */
|
|
8
|
+
showLoadMore?: boolean;
|
|
9
|
+
/** Callback when "Load more" is clicked */
|
|
10
|
+
onLoadMore?: () => void;
|
|
11
|
+
/** Show loading skeleton state */
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
/** Message to display when activity list is empty */
|
|
14
|
+
emptyMessage?: string;
|
|
15
|
+
/** Enable staggered fade-in animation for items */
|
|
16
|
+
animated?: boolean;
|
|
17
|
+
/** Additional CSS classes */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare function WakaCreditActivityFeed({ activities, maxItems, showLoadMore, onLoadMore, loading, emptyMessage, animated, className, }: WakaCreditActivityFeedProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default WakaCreditActivityFeed;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CreditAlertLevel } from '../waka-credit-balance/types';
|
|
2
|
+
export type { CreditAlertLevel } from '../waka-credit-balance/types';
|
|
3
|
+
export interface WakaCreditAlertProps {
|
|
4
|
+
/** Alert severity level */
|
|
5
|
+
level: CreditAlertLevel;
|
|
6
|
+
/** Current credit balance */
|
|
7
|
+
balance: number;
|
|
8
|
+
/** Threshold value that triggered the alert */
|
|
9
|
+
threshold?: number;
|
|
10
|
+
/** Custom message (overrides default) */
|
|
11
|
+
message?: string;
|
|
12
|
+
/** Callback when dismissing the alert */
|
|
13
|
+
onDismiss?: () => void;
|
|
14
|
+
/** Callback when clicking the top-up action */
|
|
15
|
+
onTopUp?: () => void;
|
|
16
|
+
/** Label for the top-up button */
|
|
17
|
+
topUpLabel?: string;
|
|
18
|
+
/** Whether the alert can be dismissed */
|
|
19
|
+
dismissable?: boolean;
|
|
20
|
+
/** Additional CSS classes */
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function WakaCreditAlert({ level, balance, threshold, message, onDismiss, onTopUp, topUpLabel, dismissable, className, }: WakaCreditAlertProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export default WakaCreditAlert;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CreditThresholds } from './types';
|
|
2
|
+
export type { CreditThresholds } from './types';
|
|
3
|
+
export interface WakaCreditBalanceProps {
|
|
4
|
+
/** Current credit balance */
|
|
5
|
+
balance: number;
|
|
6
|
+
/** Currency symbol or label (default: "credits") */
|
|
7
|
+
currency?: string;
|
|
8
|
+
/** Trend indicator */
|
|
9
|
+
trend?: {
|
|
10
|
+
direction: "up" | "down" | "neutral";
|
|
11
|
+
value: string;
|
|
12
|
+
text?: string;
|
|
13
|
+
};
|
|
14
|
+
/** Thresholds for color changes */
|
|
15
|
+
thresholds?: CreditThresholds;
|
|
16
|
+
/** Visual variant */
|
|
17
|
+
variant?: "card" | "compact" | "minimal";
|
|
18
|
+
/** Component size */
|
|
19
|
+
size?: "sm" | "md" | "lg";
|
|
20
|
+
/** Enable animated counter on value change */
|
|
21
|
+
animated?: boolean;
|
|
22
|
+
/** Show loading skeleton */
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
/** Custom value formatter */
|
|
25
|
+
formatValue?: (value: number) => string;
|
|
26
|
+
/** Additional CSS classes */
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare function WakaCreditBalance({ balance, currency, trend, thresholds, variant, size, animated, loading, formatValue, className, }: WakaCreditBalanceProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export default WakaCreditBalance;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type CreditTransactionType = "debit" | "credit" | "refund" | "bonus" | "expiry";
|
|
2
|
+
export type CreditTransactionStatus = "completed" | "pending" | "failed" | "cancelled";
|
|
3
|
+
export type CreditAlertLevel = "info" | "warning" | "critical" | "depleted";
|
|
4
|
+
export interface CreditTransaction {
|
|
5
|
+
id: string;
|
|
6
|
+
type: CreditTransactionType;
|
|
7
|
+
amount: number;
|
|
8
|
+
description: string;
|
|
9
|
+
service?: string;
|
|
10
|
+
timestamp: string | Date;
|
|
11
|
+
status: CreditTransactionStatus;
|
|
12
|
+
balanceAfter?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface CreditPack {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
credits: number;
|
|
18
|
+
price: number;
|
|
19
|
+
currency?: string;
|
|
20
|
+
unitPrice?: number;
|
|
21
|
+
bonusPercent?: number;
|
|
22
|
+
highlighted?: boolean;
|
|
23
|
+
highlightLabel?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface CreditThresholds {
|
|
26
|
+
warning: number;
|
|
27
|
+
critical: number;
|
|
28
|
+
}
|
|
29
|
+
export interface CreditServiceUsage {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
value: number;
|
|
33
|
+
color?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface BreakdownItem {
|
|
2
|
+
/** Unique identifier */
|
|
3
|
+
id: string;
|
|
4
|
+
/** Display name */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Credit consumption value */
|
|
7
|
+
value: number;
|
|
8
|
+
/** Custom color for this segment */
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface WakaCreditBreakdownProps {
|
|
12
|
+
/** Breakdown data items */
|
|
13
|
+
data: BreakdownItem[];
|
|
14
|
+
/** Visualization variant */
|
|
15
|
+
variant?: "pie" | "donut" | "bar";
|
|
16
|
+
/** Show percentage labels */
|
|
17
|
+
showPercentages?: boolean;
|
|
18
|
+
/** Show legend */
|
|
19
|
+
showLegend?: boolean;
|
|
20
|
+
/** Chart height in pixels */
|
|
21
|
+
height?: number;
|
|
22
|
+
/** Enable animations */
|
|
23
|
+
animated?: boolean;
|
|
24
|
+
/** Callback when a segment is clicked */
|
|
25
|
+
onSegmentClick?: (item: BreakdownItem) => void;
|
|
26
|
+
/** Custom value formatter */
|
|
27
|
+
formatValue?: (value: number) => string;
|
|
28
|
+
/** Additional CSS classes */
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function WakaCreditBreakdown({ data, variant, showPercentages, showLegend, height, animated, onSegmentClick, formatValue, className, }: WakaCreditBreakdownProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export default WakaCreditBreakdown;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface WakaCreditBurnRateProps {
|
|
2
|
+
/** Array of daily usage data points */
|
|
3
|
+
dailyUsage: {
|
|
4
|
+
date: string;
|
|
5
|
+
value: number;
|
|
6
|
+
}[];
|
|
7
|
+
/** Current credit balance */
|
|
8
|
+
balance: number;
|
|
9
|
+
/** Show projection line on the sparkline */
|
|
10
|
+
showProjection?: boolean;
|
|
11
|
+
/** Number of days to project forward */
|
|
12
|
+
projectionDays?: number;
|
|
13
|
+
/** Width of the SVG sparkline */
|
|
14
|
+
width?: number;
|
|
15
|
+
/** Height of the SVG sparkline */
|
|
16
|
+
height?: number;
|
|
17
|
+
/** Animate the sparkline on mount */
|
|
18
|
+
animated?: boolean;
|
|
19
|
+
/** Display variant */
|
|
20
|
+
variant?: "sparkline" | "card";
|
|
21
|
+
/** Additional CSS classes */
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function WakaCreditBurnRate({ dailyUsage, balance, showProjection, projectionDays, width, height, animated, variant, className, }: WakaCreditBurnRateProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default WakaCreditBurnRate;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CreditTransaction, CreditTransactionType } from '../waka-credit-balance/types';
|
|
2
|
+
export type { CreditTransaction, CreditTransactionType } from '../waka-credit-balance/types';
|
|
3
|
+
export interface WakaCreditHistoryProps {
|
|
4
|
+
/** Array of credit transactions to display */
|
|
5
|
+
transactions: CreditTransaction[];
|
|
6
|
+
/** Number of items per page (default: 10) */
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
/** Active filters */
|
|
9
|
+
filters?: {
|
|
10
|
+
types?: CreditTransactionType[];
|
|
11
|
+
services?: string[];
|
|
12
|
+
dateRange?: {
|
|
13
|
+
from: Date;
|
|
14
|
+
to: Date;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
/** Callback when export is triggered */
|
|
18
|
+
onExport?: (format: "csv" | "pdf", data: CreditTransaction[]) => void;
|
|
19
|
+
/** Callback when a row is clicked */
|
|
20
|
+
onRowClick?: (transaction: CreditTransaction) => void;
|
|
21
|
+
/** Show the filter bar */
|
|
22
|
+
showFilters?: boolean;
|
|
23
|
+
/** Show the export button */
|
|
24
|
+
showExport?: boolean;
|
|
25
|
+
/** Custom empty state message */
|
|
26
|
+
emptyMessage?: string;
|
|
27
|
+
/** Additional CSS classes */
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare function WakaCreditHistory({ transactions, pageSize, filters: externalFilters, onExport, onRowClick, showFilters, showExport, emptyMessage, className, }: WakaCreditHistoryProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export default WakaCreditHistory;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CreditThresholds } from '../waka-credit-balance/types';
|
|
2
|
+
export interface WakaCreditMeterProps {
|
|
3
|
+
/** Credits used */
|
|
4
|
+
used: number;
|
|
5
|
+
/** Total credits available */
|
|
6
|
+
total: number;
|
|
7
|
+
/** Visual variant: ring (full circle), gauge (half-circle), bar (horizontal) */
|
|
8
|
+
variant?: "gauge" | "bar" | "ring";
|
|
9
|
+
/** Thresholds for color changes based on usage percentage */
|
|
10
|
+
thresholds?: CreditThresholds;
|
|
11
|
+
/** Show label below the meter */
|
|
12
|
+
showLabel?: boolean;
|
|
13
|
+
/** Show value in center (ring/gauge) or alongside (bar) */
|
|
14
|
+
showValue?: boolean;
|
|
15
|
+
/** Component size */
|
|
16
|
+
size?: "sm" | "md" | "lg";
|
|
17
|
+
/** Enable animation on value changes */
|
|
18
|
+
animated?: boolean;
|
|
19
|
+
/** Label text */
|
|
20
|
+
label?: string;
|
|
21
|
+
/** Custom value formatter */
|
|
22
|
+
formatValue?: (value: number) => string;
|
|
23
|
+
/** Additional CSS classes */
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function WakaCreditMeter({ used, total, variant, thresholds, showLabel, showValue, size, animated, label, formatValue, className, }: WakaCreditMeterProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export default WakaCreditMeter;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreditPack } from '../waka-credit-balance/types';
|
|
2
|
+
export interface WakaCreditPricingPackProps {
|
|
3
|
+
/** Credit packs to display */
|
|
4
|
+
packs: CreditPack[];
|
|
5
|
+
/** Currently selected pack ID */
|
|
6
|
+
selectedId?: string;
|
|
7
|
+
/** Callback when a pack is selected */
|
|
8
|
+
onSelect: (pack: CreditPack) => void;
|
|
9
|
+
/** Currency symbol for display (overrides pack currency) */
|
|
10
|
+
currency?: string;
|
|
11
|
+
/** Number of grid columns */
|
|
12
|
+
columns?: 2 | 3 | 4;
|
|
13
|
+
/** Additional class names */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function WakaCreditPricingPack({ packs, selectedId, onSelect, currency, columns, className, }: WakaCreditPricingPackProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default WakaCreditPricingPack;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface WakaCreditProjectionProps {
|
|
2
|
+
/** Historical balance data points (date string + value) */
|
|
3
|
+
historicalData: {
|
|
4
|
+
date: string;
|
|
5
|
+
value: number;
|
|
6
|
+
}[];
|
|
7
|
+
/** Current credit balance */
|
|
8
|
+
balance: number;
|
|
9
|
+
/** Number of days to project into the future */
|
|
10
|
+
projectionDays?: number;
|
|
11
|
+
/** Show confidence interval band around projection */
|
|
12
|
+
confidenceInterval?: boolean;
|
|
13
|
+
/** Chart height in pixels */
|
|
14
|
+
height?: number;
|
|
15
|
+
/** Enable chart animations */
|
|
16
|
+
animated?: boolean;
|
|
17
|
+
/** Additional CSS classes */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare function WakaCreditProjection({ historicalData, balance, projectionDays, confidenceInterval, height, animated, className, }: WakaCreditProjectionProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default WakaCreditProjection;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CreditServiceUsage } from '../waka-credit-balance/types';
|
|
2
|
+
export interface WakaCreditQuotaProps {
|
|
3
|
+
/** Credits used in the current period */
|
|
4
|
+
used: number;
|
|
5
|
+
/** Total credit quota */
|
|
6
|
+
total: number;
|
|
7
|
+
/** Date when the quota resets */
|
|
8
|
+
resetDate?: string | Date;
|
|
9
|
+
/** Per-service breakdown for stacked segments */
|
|
10
|
+
services?: CreditServiceUsage[];
|
|
11
|
+
/** Visual variant */
|
|
12
|
+
variant?: "compact" | "detailed";
|
|
13
|
+
/** Component size */
|
|
14
|
+
size?: "sm" | "md" | "lg";
|
|
15
|
+
/** Enable animated bar fill */
|
|
16
|
+
animated?: boolean;
|
|
17
|
+
/** Show reset date countdown */
|
|
18
|
+
showResetCountdown?: boolean;
|
|
19
|
+
/** Custom value formatter */
|
|
20
|
+
formatValue?: (value: number) => string;
|
|
21
|
+
/** Additional CSS classes */
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function WakaCreditQuota({ used, total, resetDate, services, variant, size, animated, showResetCountdown, formatValue, className, }: WakaCreditQuotaProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default WakaCreditQuota;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CreditTransaction } from '../waka-credit-balance/types';
|
|
2
|
+
export interface CreditReceiptTransaction extends CreditTransaction {
|
|
3
|
+
paymentMethod?: string;
|
|
4
|
+
credits?: number;
|
|
5
|
+
price?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface WakaCreditReceiptProps {
|
|
8
|
+
/** Transaction data to display on the receipt */
|
|
9
|
+
transaction: CreditReceiptTransaction;
|
|
10
|
+
/** Organization details */
|
|
11
|
+
organization?: {
|
|
12
|
+
name: string;
|
|
13
|
+
id: string;
|
|
14
|
+
};
|
|
15
|
+
/** Whether the receipt can be downloaded as PDF */
|
|
16
|
+
downloadable?: boolean;
|
|
17
|
+
/** Callback when download button is clicked */
|
|
18
|
+
onDownload?: () => void;
|
|
19
|
+
/** Additional CSS classes */
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function WakaCreditReceipt({ transaction, organization, downloadable, onDownload, className, }: WakaCreditReceiptProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default WakaCreditReceipt;
|