@burdenoff/microfe-timecampus 2026.703.7 → 2026.710.1
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/config/assistantUsecases.d.ts +18 -0
- package/dist/config/assistantUsecases.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +23527 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +9762 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +1023 -1514
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +58551 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/generated/wspace-types.js +12 -18
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -4
- package/dist/services/assistantApi.d.ts +49 -0
- package/dist/services/assistantApi.d.ts.map +1 -0
- package/dist/services/createSandboxAssistantTransport.d.ts +19 -0
- package/dist/services/createSandboxAssistantTransport.d.ts.map +1 -0
- package/dist/timecampus/TimeCampusRoot.d.ts +5 -0
- package/dist/timecampus/TimeCampusRoot.d.ts.map +1 -0
- package/dist/timecampus/TimeCampusRoot.js +82 -150
- package/dist/timecampus/TimeCampusRoot.js.map +1 -1
- package/dist/timecampus/TimeCampusRoutes.d.ts +7 -0
- package/dist/timecampus/TimeCampusRoutes.d.ts.map +1 -0
- package/dist/timecampus/TimeCampusRoutes.js +96 -164
- package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
- package/dist/timecampus/components/ChartCard.d.ts +19 -0
- package/dist/timecampus/components/ChartCard.d.ts.map +1 -0
- package/dist/timecampus/components/DataTable.d.ts +26 -0
- package/dist/timecampus/components/DataTable.d.ts.map +1 -0
- package/dist/timecampus/components/EmptyState.d.ts +18 -0
- package/dist/timecampus/components/EmptyState.d.ts.map +1 -0
- package/dist/timecampus/components/ErrorBoundary.d.ts +19 -0
- package/dist/timecampus/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/timecampus/components/FilterBar.d.ts +26 -0
- package/dist/timecampus/components/FilterBar.d.ts.map +1 -0
- package/dist/timecampus/components/LoadingSkeleton.d.ts +10 -0
- package/dist/timecampus/components/LoadingSkeleton.d.ts.map +1 -0
- package/dist/timecampus/components/Modal.d.ts +14 -0
- package/dist/timecampus/components/Modal.d.ts.map +1 -0
- package/dist/timecampus/components/PageLayout.d.ts +21 -0
- package/dist/timecampus/components/PageLayout.d.ts.map +1 -0
- package/dist/timecampus/components/StatCard.d.ts +19 -0
- package/dist/timecampus/components/StatCard.d.ts.map +1 -0
- package/dist/timecampus/components/StatusBadge.d.ts +16 -0
- package/dist/timecampus/components/StatusBadge.d.ts.map +1 -0
- package/dist/timecampus/components/Toast.d.ts +28 -0
- package/dist/timecampus/components/Toast.d.ts.map +1 -0
- package/dist/timecampus/components/charts/BalanceWheel.d.ts +30 -0
- package/dist/timecampus/components/charts/BalanceWheel.d.ts.map +1 -0
- package/dist/timecampus/components/charts/BarsChart.d.ts +39 -0
- package/dist/timecampus/components/charts/BarsChart.d.ts.map +1 -0
- package/dist/timecampus/components/charts/ChartParts.d.ts +86 -0
- package/dist/timecampus/components/charts/ChartParts.d.ts.map +1 -0
- package/dist/timecampus/components/charts/DonutChart.d.ts +34 -0
- package/dist/timecampus/components/charts/DonutChart.d.ts.map +1 -0
- package/dist/timecampus/components/charts/Heatmap.d.ts +47 -0
- package/dist/timecampus/components/charts/Heatmap.d.ts.map +1 -0
- package/dist/timecampus/components/charts/ProgressMeter.d.ts +40 -0
- package/dist/timecampus/components/charts/ProgressMeter.d.ts.map +1 -0
- package/dist/timecampus/components/charts/RadialGauge.d.ts +44 -0
- package/dist/timecampus/components/charts/RadialGauge.d.ts.map +1 -0
- package/dist/timecampus/components/charts/Sparkline.d.ts +25 -0
- package/dist/timecampus/components/charts/Sparkline.d.ts.map +1 -0
- package/dist/timecampus/components/charts/TrendChart.d.ts +37 -0
- package/dist/timecampus/components/charts/TrendChart.d.ts.map +1 -0
- package/dist/timecampus/components/charts/WeeksGrid.d.ts +26 -0
- package/dist/timecampus/components/charts/WeeksGrid.d.ts.map +1 -0
- package/dist/timecampus/components/charts/chartTheme.d.ts +95 -0
- package/dist/timecampus/components/charts/chartTheme.d.ts.map +1 -0
- package/dist/timecampus/components/charts/index.d.ts +76 -0
- package/dist/timecampus/components/charts/index.d.ts.map +1 -0
- package/dist/timecampus/components/index.d.ts +15 -0
- package/dist/timecampus/components/index.d.ts.map +1 -0
- package/dist/timecampus/components/index.js +2 -2
- package/dist/timecampus/hooks/index.d.ts +7 -0
- package/dist/timecampus/hooks/index.d.ts.map +1 -0
- package/dist/timecampus/hooks/useToast.d.ts +17 -0
- package/dist/timecampus/hooks/useToast.d.ts.map +1 -0
- package/dist/timecampus/index.d.ts +10 -0
- package/dist/timecampus/index.d.ts.map +1 -0
- package/dist/timecampus/pages/HomePage.d.ts +4 -0
- package/dist/timecampus/pages/HomePage.d.ts.map +1 -0
- package/dist/timecampus/pages/application-usage/ApplicationUsagePage.d.ts +2 -0
- package/dist/timecampus/pages/application-usage/ApplicationUsagePage.d.ts.map +1 -0
- package/dist/timecampus/pages/application-usage/ApplicationUsagePage.js +7 -7
- package/dist/timecampus/pages/client-portal/ClientPortalPage.d.ts +2 -0
- package/dist/timecampus/pages/client-portal/ClientPortalPage.d.ts.map +1 -0
- package/dist/timecampus/pages/client-portal/ClientPortalPage.js +6 -6
- package/dist/timecampus/pages/dashboard/AnalyticsPage.d.ts +2 -0
- package/dist/timecampus/pages/dashboard/AnalyticsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/dashboard/ReportsPage.d.ts +2 -0
- package/dist/timecampus/pages/dashboard/ReportsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/email-tracking/EmailAnalyticsPage.d.ts +2 -0
- package/dist/timecampus/pages/email-tracking/EmailAnalyticsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/email-tracking/EmailTrackingPage.d.ts +2 -0
- package/dist/timecampus/pages/email-tracking/EmailTrackingPage.d.ts.map +1 -0
- package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.d.ts +2 -0
- package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.d.ts.map +1 -0
- package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.js +8 -8
- package/dist/timecampus/pages/focus-score/FocusScorePage.d.ts +2 -0
- package/dist/timecampus/pages/focus-score/FocusScorePage.d.ts.map +1 -0
- package/dist/timecampus/pages/geofencing/GeofencingPage.d.ts +2 -0
- package/dist/timecampus/pages/geofencing/GeofencingPage.d.ts.map +1 -0
- package/dist/timecampus/pages/geofencing/GeofencingPage.js +6 -6
- package/dist/timecampus/pages/lifetime/DeadTimeRadarPage.d.ts +2 -0
- package/dist/timecampus/pages/lifetime/DeadTimeRadarPage.d.ts.map +1 -0
- package/dist/timecampus/pages/lifetime/FiniteLifePage.d.ts +14 -0
- package/dist/timecampus/pages/lifetime/FiniteLifePage.d.ts.map +1 -0
- package/dist/timecampus/pages/lifetime/FiniteLifePage.js +91 -91
- package/dist/timecampus/pages/lifetime/FiniteLifePage.js.map +1 -1
- package/dist/timecampus/pages/lifetime/LifeBalancePage.d.ts +2 -0
- package/dist/timecampus/pages/lifetime/LifeBalancePage.d.ts.map +1 -0
- package/dist/timecampus/pages/lifetime/LifeBalancePage.js +18 -18
- package/dist/timecampus/pages/lifetime/LifeTimelinePage.d.ts +2 -0
- package/dist/timecampus/pages/lifetime/LifeTimelinePage.d.ts.map +1 -0
- package/dist/timecampus/pages/lifetime/LifeTimelinePage.js +7 -7
- package/dist/timecampus/pages/lifetime/PersonalCorporatePage.d.ts +2 -0
- package/dist/timecampus/pages/lifetime/PersonalCorporatePage.d.ts.map +1 -0
- package/dist/timecampus/pages/lifetime/RecommendationsPage.d.ts +2 -0
- package/dist/timecampus/pages/lifetime/RecommendationsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/lifetime/TimeWellSpentPage.d.ts +2 -0
- package/dist/timecampus/pages/lifetime/TimeWellSpentPage.d.ts.map +1 -0
- package/dist/timecampus/pages/lifetime/ValuesGoalsPage.d.ts +2 -0
- package/dist/timecampus/pages/lifetime/ValuesGoalsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/lifetime/ValuesGoalsPage.js +1 -1
- package/dist/timecampus/pages/lifetime/domains.d.ts +23 -0
- package/dist/timecampus/pages/lifetime/domains.d.ts.map +1 -0
- package/dist/timecampus/pages/location-tracking/LocationTrackingPage.d.ts +2 -0
- package/dist/timecampus/pages/location-tracking/LocationTrackingPage.d.ts.map +1 -0
- package/dist/timecampus/pages/location-tracking/LocationTrackingPage.js +6 -6
- package/dist/timecampus/pages/meetings/ActionItemFormModal.d.ts +16 -0
- package/dist/timecampus/pages/meetings/ActionItemFormModal.d.ts.map +1 -0
- package/dist/timecampus/pages/meetings/MeetingAnalyticsPage.d.ts +2 -0
- package/dist/timecampus/pages/meetings/MeetingAnalyticsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/meetings/MeetingCreatePage.d.ts +2 -0
- package/dist/timecampus/pages/meetings/MeetingCreatePage.d.ts.map +1 -0
- package/dist/timecampus/pages/meetings/MeetingDetailPage.d.ts +2 -0
- package/dist/timecampus/pages/meetings/MeetingDetailPage.d.ts.map +1 -0
- package/dist/timecampus/pages/meetings/MeetingFormModal.d.ts +28 -0
- package/dist/timecampus/pages/meetings/MeetingFormModal.d.ts.map +1 -0
- package/dist/timecampus/pages/meetings/MeetingsPage.d.ts +2 -0
- package/dist/timecampus/pages/meetings/MeetingsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/meetings/ParticipantFormModal.d.ts +14 -0
- package/dist/timecampus/pages/meetings/ParticipantFormModal.d.ts.map +1 -0
- package/dist/timecampus/pages/pomodoro/PomodoroAnalyticsPage.d.ts +2 -0
- package/dist/timecampus/pages/pomodoro/PomodoroAnalyticsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/pomodoro/PomodoroPage.d.ts +2 -0
- package/dist/timecampus/pages/pomodoro/PomodoroPage.d.ts.map +1 -0
- package/dist/timecampus/pages/pomodoro/PomodoroSettingsPage.d.ts +2 -0
- package/dist/timecampus/pages/pomodoro/PomodoroSettingsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/projects/ProjectCreatePage.d.ts +2 -0
- package/dist/timecampus/pages/projects/ProjectCreatePage.d.ts.map +1 -0
- package/dist/timecampus/pages/projects/ProjectDetailPage.d.ts +2 -0
- package/dist/timecampus/pages/projects/ProjectDetailPage.d.ts.map +1 -0
- package/dist/timecampus/pages/projects/ProjectDetailPage.js +7 -7
- package/dist/timecampus/pages/projects/ProjectsPage.d.ts +2 -0
- package/dist/timecampus/pages/projects/ProjectsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/projects/TasksPage.d.ts +2 -0
- package/dist/timecampus/pages/projects/TasksPage.d.ts.map +1 -0
- package/dist/timecampus/pages/resource-planning/ResourcePlanningPage.d.ts +2 -0
- package/dist/timecampus/pages/resource-planning/ResourcePlanningPage.d.ts.map +1 -0
- package/dist/timecampus/pages/resource-planning/ResourcePlanningPage.js +212 -212
- package/dist/timecampus/pages/resource-planning/ResourcePlanningPage.js.map +1 -1
- package/dist/timecampus/pages/team/TeamAnalyticsPage.d.ts +2 -0
- package/dist/timecampus/pages/team/TeamAnalyticsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/team/TeamMembersPage.d.ts +2 -0
- package/dist/timecampus/pages/team/TeamMembersPage.d.ts.map +1 -0
- package/dist/timecampus/pages/team/TeamMembersPage.js +4 -4
- package/dist/timecampus/pages/team/TeamPage.d.ts +2 -0
- package/dist/timecampus/pages/team/TeamPage.d.ts.map +1 -0
- package/dist/timecampus/pages/team-activity/TeamActivityPage.d.ts +2 -0
- package/dist/timecampus/pages/team-activity/TeamActivityPage.d.ts.map +1 -0
- package/dist/timecampus/pages/time/TimeEntriesPage.d.ts +2 -0
- package/dist/timecampus/pages/time/TimeEntriesPage.d.ts.map +1 -0
- package/dist/timecampus/pages/time/TimeTrackingPage.d.ts +2 -0
- package/dist/timecampus/pages/time/TimeTrackingPage.d.ts.map +1 -0
- package/dist/timecampus/pages/time/TimeTrackingPage.js +143 -143
- package/dist/timecampus/pages/time/TimeTrackingPage.js.map +1 -1
- package/dist/timecampus/pages/time/TimerPage.d.ts +2 -0
- package/dist/timecampus/pages/time/TimerPage.d.ts.map +1 -0
- package/dist/timecampus/pages/time-approval/TimeApprovalPage.d.ts +2 -0
- package/dist/timecampus/pages/time-approval/TimeApprovalPage.d.ts.map +1 -0
- package/dist/timecampus/pages/time-approval/TimeApprovalPage.js +1 -1
- package/dist/timecampus/pages/timeline/TimelinePage.d.ts +2 -0
- package/dist/timecampus/pages/timeline/TimelinePage.d.ts.map +1 -0
- package/dist/timecampus/pages/timeline/TimelinePage.js +1 -1
- package/dist/timecampus/pages/timeline/TimelinePage.js.map +1 -1
- package/dist/timecampus/pages/work-patterns/WorkPatternsPage.d.ts +2 -0
- package/dist/timecampus/pages/work-patterns/WorkPatternsPage.d.ts.map +1 -0
- package/dist/timecampus/pages/work-patterns/WorkPatternsPage.js +87 -93
- package/dist/timecampus/pages/work-patterns/WorkPatternsPage.js.map +1 -1
- package/dist/timecampus/providers/TimeCampusProvider.d.ts +29 -0
- package/dist/timecampus/providers/TimeCampusProvider.d.ts.map +1 -0
- package/dist/timecampus/store/timecampusStore.d.ts +98 -0
- package/dist/timecampus/store/timecampusStore.d.ts.map +1 -0
- package/dist/timecampus/types/index.d.ts +615 -0
- package/dist/timecampus/types/index.d.ts.map +1 -0
- package/dist/timecampus/utils/helpers.d.ts +19 -0
- package/dist/timecampus/utils/helpers.d.ts.map +1 -0
- package/dist/timecampus/utils/index.d.ts +2 -0
- package/dist/timecampus/utils/index.d.ts.map +1 -0
- package/dist/types/assistant.d.ts +57 -0
- package/dist/types/assistant.d.ts.map +1 -0
- package/dist/utils/pageContext.d.ts +25 -0
- package/dist/utils/pageContext.d.ts.map +1 -0
- package/package.json +5 -1
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +0 -24
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
- package/dist/node_modules/@apollo/client/errors/utils.js +0 -16
- package/dist/node_modules/@apollo/client/errors/utils.js.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.js +0 -18
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/d3-array/src/ascending.js +0 -8
- package/dist/node_modules/d3-array/src/ascending.js.map +0 -1
- package/dist/node_modules/d3-array/src/bisect.js +0 -10
- package/dist/node_modules/d3-array/src/bisect.js.map +0 -1
- package/dist/node_modules/d3-array/src/bisector.js +0 -43
- package/dist/node_modules/d3-array/src/bisector.js.map +0 -1
- package/dist/node_modules/d3-array/src/descending.js +0 -8
- package/dist/node_modules/d3-array/src/descending.js.map +0 -1
- package/dist/node_modules/d3-array/src/max.js +0 -14
- package/dist/node_modules/d3-array/src/max.js.map +0 -1
- package/dist/node_modules/d3-array/src/min.js +0 -14
- package/dist/node_modules/d3-array/src/min.js.map +0 -1
- package/dist/node_modules/d3-array/src/number.js +0 -15
- package/dist/node_modules/d3-array/src/number.js.map +0 -1
- package/dist/node_modules/d3-array/src/quantile.js +0 -25
- package/dist/node_modules/d3-array/src/quantile.js.map +0 -1
- package/dist/node_modules/d3-array/src/quickselect.js +0 -26
- package/dist/node_modules/d3-array/src/quickselect.js.map +0 -1
- package/dist/node_modules/d3-array/src/range.js +0 -10
- package/dist/node_modules/d3-array/src/range.js.map +0 -1
- package/dist/node_modules/d3-array/src/sort.js +0 -17
- package/dist/node_modules/d3-array/src/sort.js.map +0 -1
- package/dist/node_modules/d3-array/src/ticks.js +0 -34
- package/dist/node_modules/d3-array/src/ticks.js.map +0 -1
- package/dist/node_modules/d3-color/src/color.js +0 -291
- package/dist/node_modules/d3-color/src/color.js.map +0 -1
- package/dist/node_modules/d3-color/src/define.js +0 -13
- package/dist/node_modules/d3-color/src/define.js.map +0 -1
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -15
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +0 -1
- package/dist/node_modules/d3-format/src/exponent.js +0 -9
- package/dist/node_modules/d3-format/src/exponent.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -13
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -11
- package/dist/node_modules/d3-format/src/formatGroup.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -12
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -13
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -12
- package/dist/node_modules/d3-format/src/formatRounded.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -29
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -20
- package/dist/node_modules/d3-format/src/formatTrim.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -23
- package/dist/node_modules/d3-format/src/formatTypes.js.map +0 -1
- package/dist/node_modules/d3-format/src/identity.js +0 -8
- package/dist/node_modules/d3-format/src/identity.js.map +0 -1
- package/dist/node_modules/d3-format/src/locale.js +0 -86
- package/dist/node_modules/d3-format/src/locale.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -9
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -9
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -9
- package/dist/node_modules/d3-format/src/precisionRound.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/array.js +0 -15
- package/dist/node_modules/d3-interpolate/src/array.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -16
- package/dist/node_modules/d3-interpolate/src/basis.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -13
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/color.js +0 -25
- package/dist/node_modules/d3-interpolate/src/color.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -6
- package/dist/node_modules/d3-interpolate/src/constant.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/date.js +0 -11
- package/dist/node_modules/d3-interpolate/src/date.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/number.js +0 -10
- package/dist/node_modules/d3-interpolate/src/number.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -16
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/object.js +0 -14
- package/dist/node_modules/d3-interpolate/src/object.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -14
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -19
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/round.js +0 -10
- package/dist/node_modules/d3-interpolate/src/round.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/string.js +0 -28
- package/dist/node_modules/d3-interpolate/src/string.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/value.js +0 -18
- package/dist/node_modules/d3-interpolate/src/value.js.map +0 -1
- package/dist/node_modules/d3-path/src/path.js +0 -65
- package/dist/node_modules/d3-path/src/path.js.map +0 -1
- package/dist/node_modules/d3-scale/src/band.js +0 -52
- package/dist/node_modules/d3-scale/src/band.js.map +0 -1
- package/dist/node_modules/d3-scale/src/constant.js +0 -10
- package/dist/node_modules/d3-scale/src/constant.js.map +0 -1
- package/dist/node_modules/d3-scale/src/continuous.js +0 -73
- package/dist/node_modules/d3-scale/src/continuous.js.map +0 -1
- package/dist/node_modules/d3-scale/src/diverging.js +0 -82
- package/dist/node_modules/d3-scale/src/diverging.js.map +0 -1
- package/dist/node_modules/d3-scale/src/identity.js +0 -20
- package/dist/node_modules/d3-scale/src/identity.js.map +0 -1
- package/dist/node_modules/d3-scale/src/init.js +0 -29
- package/dist/node_modules/d3-scale/src/init.js.map +0 -1
- package/dist/node_modules/d3-scale/src/linear.js +0 -36
- package/dist/node_modules/d3-scale/src/linear.js.map +0 -1
- package/dist/node_modules/d3-scale/src/log.js +0 -77
- package/dist/node_modules/d3-scale/src/log.js.map +0 -1
- package/dist/node_modules/d3-scale/src/nice.js +0 -10
- package/dist/node_modules/d3-scale/src/nice.js.map +0 -1
- package/dist/node_modules/d3-scale/src/number.js +0 -8
- package/dist/node_modules/d3-scale/src/number.js.map +0 -1
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -31
- package/dist/node_modules/d3-scale/src/ordinal.js.map +0 -1
- package/dist/node_modules/d3-scale/src/pow.js +0 -37
- package/dist/node_modules/d3-scale/src/pow.js.map +0 -1
- package/dist/node_modules/d3-scale/src/quantile.js +0 -37
- package/dist/node_modules/d3-scale/src/quantile.js.map +0 -1
- package/dist/node_modules/d3-scale/src/quantize.js +0 -33
- package/dist/node_modules/d3-scale/src/quantize.js.map +0 -1
- package/dist/node_modules/d3-scale/src/radial.js +0 -39
- package/dist/node_modules/d3-scale/src/radial.js.map +0 -1
- package/dist/node_modules/d3-scale/src/sequential.js +0 -67
- package/dist/node_modules/d3-scale/src/sequential.js.map +0 -1
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -30
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +0 -1
- package/dist/node_modules/d3-scale/src/symlog.js +0 -30
- package/dist/node_modules/d3-scale/src/symlog.js.map +0 -1
- package/dist/node_modules/d3-scale/src/threshold.js +0 -25
- package/dist/node_modules/d3-scale/src/threshold.js.map +0 -1
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -31
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +0 -1
- package/dist/node_modules/d3-scale/src/time.js +0 -47
- package/dist/node_modules/d3-scale/src/time.js.map +0 -1
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -19
- package/dist/node_modules/d3-scale/src/utcTime.js.map +0 -1
- package/dist/node_modules/d3-shape/src/area.js +0 -55
- package/dist/node_modules/d3-shape/src/area.js.map +0 -1
- package/dist/node_modules/d3-shape/src/array.js +0 -8
- package/dist/node_modules/d3-shape/src/array.js.map +0 -1
- package/dist/node_modules/d3-shape/src/constant.js +0 -10
- package/dist/node_modules/d3-shape/src/constant.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -49
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -50
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -46
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -40
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -36
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -25
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -94
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -39
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -47
- package/dist/node_modules/d3-shape/src/curve/step.js.map +0 -1
- package/dist/node_modules/d3-shape/src/line.js +0 -30
- package/dist/node_modules/d3-shape/src/line.js.map +0 -1
- package/dist/node_modules/d3-shape/src/math.js +0 -8
- package/dist/node_modules/d3-shape/src/math.js.map +0 -1
- package/dist/node_modules/d3-shape/src/noop.js +0 -6
- package/dist/node_modules/d3-shape/src/noop.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -15
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -8
- package/dist/node_modules/d3-shape/src/offset/none.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -15
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -21
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/order/none.js +0 -9
- package/dist/node_modules/d3-shape/src/order/none.js.map +0 -1
- package/dist/node_modules/d3-shape/src/path.js +0 -19
- package/dist/node_modules/d3-shape/src/path.js.map +0 -1
- package/dist/node_modules/d3-shape/src/point.js +0 -11
- package/dist/node_modules/d3-shape/src/point.js.map +0 -1
- package/dist/node_modules/d3-shape/src/stack.js +0 -34
- package/dist/node_modules/d3-shape/src/stack.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -15
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol.js +0 -23
- package/dist/node_modules/d3-shape/src/symbol.js.map +0 -1
- package/dist/node_modules/d3-time/src/day.js +0 -21
- package/dist/node_modules/d3-time/src/day.js.map +0 -1
- package/dist/node_modules/d3-time/src/duration.js +0 -6
- package/dist/node_modules/d3-time/src/duration.js.map +0 -1
- package/dist/node_modules/d3-time/src/hour.js +0 -19
- package/dist/node_modules/d3-time/src/hour.js.map +0 -1
- package/dist/node_modules/d3-time/src/interval.js +0 -28
- package/dist/node_modules/d3-time/src/interval.js.map +0 -1
- package/dist/node_modules/d3-time/src/millisecond.js +0 -14
- package/dist/node_modules/d3-time/src/millisecond.js.map +0 -1
- package/dist/node_modules/d3-time/src/minute.js +0 -19
- package/dist/node_modules/d3-time/src/minute.js.map +0 -1
- package/dist/node_modules/d3-time/src/month.js +0 -18
- package/dist/node_modules/d3-time/src/month.js.map +0 -1
- package/dist/node_modules/d3-time/src/second.js +0 -13
- package/dist/node_modules/d3-time/src/second.js.map +0 -1
- package/dist/node_modules/d3-time/src/ticks.js +0 -125
- package/dist/node_modules/d3-time/src/ticks.js.map +0 -1
- package/dist/node_modules/d3-time/src/week.js +0 -25
- package/dist/node_modules/d3-time/src/week.js.map +0 -1
- package/dist/node_modules/d3-time/src/year.js +0 -26
- package/dist/node_modules/d3-time/src/year.js.map +0 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -62
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +0 -1
- package/dist/node_modules/d3-time-format/src/locale.js +0 -490
- package/dist/node_modules/d3-time-format/src/locale.js.map +0 -1
- package/dist/node_modules/decimal.js-light/decimal.js +0 -378
- package/dist/node_modules/decimal.js-light/decimal.js.map +0 -1
- package/dist/node_modules/eventemitter3/index.js +0 -95
- package/dist/node_modules/eventemitter3/index.js.map +0 -1
- package/dist/node_modules/fast-equals/dist/es/index.js +0 -267
- package/dist/node_modules/fast-equals/dist/es/index.js.map +0 -1
- package/dist/node_modules/internmap/src/index.js +0 -40
- package/dist/node_modules/internmap/src/index.js.map +0 -1
- package/dist/node_modules/lodash/_DataView.js +0 -12
- package/dist/node_modules/lodash/_DataView.js.map +0 -1
- package/dist/node_modules/lodash/_Hash.js +0 -23
- package/dist/node_modules/lodash/_Hash.js.map +0 -1
- package/dist/node_modules/lodash/_ListCache.js +0 -23
- package/dist/node_modules/lodash/_ListCache.js.map +0 -1
- package/dist/node_modules/lodash/_Map.js +0 -12
- package/dist/node_modules/lodash/_Map.js.map +0 -1
- package/dist/node_modules/lodash/_MapCache.js +0 -23
- package/dist/node_modules/lodash/_MapCache.js.map +0 -1
- package/dist/node_modules/lodash/_Promise.js +0 -12
- package/dist/node_modules/lodash/_Promise.js.map +0 -1
- package/dist/node_modules/lodash/_Set.js +0 -12
- package/dist/node_modules/lodash/_Set.js.map +0 -1
- package/dist/node_modules/lodash/_SetCache.js +0 -18
- package/dist/node_modules/lodash/_SetCache.js.map +0 -1
- package/dist/node_modules/lodash/_Stack.js +0 -20
- package/dist/node_modules/lodash/_Stack.js.map +0 -1
- package/dist/node_modules/lodash/_Symbol.js +0 -11
- package/dist/node_modules/lodash/_Symbol.js.map +0 -1
- package/dist/node_modules/lodash/_Uint8Array.js +0 -11
- package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
- package/dist/node_modules/lodash/_WeakMap.js +0 -12
- package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
- package/dist/node_modules/lodash/_apply.js +0 -19
- package/dist/node_modules/lodash/_apply.js.map +0 -1
- package/dist/node_modules/lodash/_arrayEvery.js +0 -14
- package/dist/node_modules/lodash/_arrayEvery.js.map +0 -1
- package/dist/node_modules/lodash/_arrayFilter.js +0 -17
- package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
- package/dist/node_modules/lodash/_arrayIncludes.js +0 -15
- package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
- package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -14
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
- package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -22
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_arrayMap.js +0 -14
- package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
- package/dist/node_modules/lodash/_arrayPush.js +0 -14
- package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
- package/dist/node_modules/lodash/_arraySome.js +0 -14
- package/dist/node_modules/lodash/_arraySome.js.map +0 -1
- package/dist/node_modules/lodash/_asciiToArray.js +0 -13
- package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -16
- package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssignValue.js +0 -20
- package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
- package/dist/node_modules/lodash/_baseEach.js +0 -13
- package/dist/node_modules/lodash/_baseEach.js.map +0 -1
- package/dist/node_modules/lodash/_baseEvery.js +0 -18
- package/dist/node_modules/lodash/_baseEvery.js.map +0 -1
- package/dist/node_modules/lodash/_baseExtremum.js +0 -19
- package/dist/node_modules/lodash/_baseExtremum.js.map +0 -1
- package/dist/node_modules/lodash/_baseFindIndex.js +0 -14
- package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
- package/dist/node_modules/lodash/_baseFlatten.js +0 -21
- package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
- package/dist/node_modules/lodash/_baseFor.js +0 -11
- package/dist/node_modules/lodash/_baseFor.js.map +0 -1
- package/dist/node_modules/lodash/_baseForOwn.js +0 -16
- package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
- package/dist/node_modules/lodash/_baseGet.js +0 -18
- package/dist/node_modules/lodash/_baseGet.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -17
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetTag.js +0 -17
- package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/dist/node_modules/lodash/_baseGt.js +0 -13
- package/dist/node_modules/lodash/_baseGt.js.map +0 -1
- package/dist/node_modules/lodash/_baseHasIn.js +0 -13
- package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseIndexOf.js +0 -17
- package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -16
- package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqual.js +0 -16
- package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -37
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsMatch.js +0 -33
- package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNaN.js +0 -13
- package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNative.js +0 -18
- package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -18
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/_baseIteratee.js +0 -19
- package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeys.js +0 -19
- package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseLt.js +0 -13
- package/dist/node_modules/lodash/_baseLt.js.map +0 -1
- package/dist/node_modules/lodash/_baseMap.js +0 -19
- package/dist/node_modules/lodash/_baseMap.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatches.js +0 -20
- package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -24
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
- package/dist/node_modules/lodash/_baseOrderBy.js +0 -39
- package/dist/node_modules/lodash/_baseOrderBy.js.map +0 -1
- package/dist/node_modules/lodash/_baseProperty.js +0 -15
- package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
- package/dist/node_modules/lodash/_basePropertyDeep.js +0 -17
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
- package/dist/node_modules/lodash/_baseRange.js +0 -15
- package/dist/node_modules/lodash/_baseRange.js.map +0 -1
- package/dist/node_modules/lodash/_baseRest.js +0 -17
- package/dist/node_modules/lodash/_baseRest.js.map +0 -1
- package/dist/node_modules/lodash/_baseSetToString.js +0 -21
- package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseSlice.js +0 -16
- package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
- package/dist/node_modules/lodash/_baseSome.js +0 -18
- package/dist/node_modules/lodash/_baseSome.js.map +0 -1
- package/dist/node_modules/lodash/_baseSortBy.js +0 -15
- package/dist/node_modules/lodash/_baseSortBy.js.map +0 -1
- package/dist/node_modules/lodash/_baseTimes.js +0 -14
- package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
- package/dist/node_modules/lodash/_baseToString.js +0 -22
- package/dist/node_modules/lodash/_baseToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseTrim.js +0 -15
- package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
- package/dist/node_modules/lodash/_baseUnary.js +0 -15
- package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
- package/dist/node_modules/lodash/_baseUniq.js +0 -34
- package/dist/node_modules/lodash/_baseUniq.js.map +0 -1
- package/dist/node_modules/lodash/_cacheHas.js +0 -13
- package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_castPath.js +0 -18
- package/dist/node_modules/lodash/_castPath.js.map +0 -1
- package/dist/node_modules/lodash/_castSlice.js +0 -16
- package/dist/node_modules/lodash/_castSlice.js.map +0 -1
- package/dist/node_modules/lodash/_compareAscending.js +0 -20
- package/dist/node_modules/lodash/_compareAscending.js.map +0 -1
- package/dist/node_modules/lodash/_compareMultiple.js +0 -19
- package/dist/node_modules/lodash/_compareMultiple.js.map +0 -1
- package/dist/node_modules/lodash/_coreJsData.js +0 -11
- package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseEach.js +0 -20
- package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseFor.js +0 -19
- package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
- package/dist/node_modules/lodash/_createCaseFirst.js +0 -22
- package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
- package/dist/node_modules/lodash/_createFind.js +0 -27
- package/dist/node_modules/lodash/_createFind.js.map +0 -1
- package/dist/node_modules/lodash/_createRange.js +0 -19
- package/dist/node_modules/lodash/_createRange.js.map +0 -1
- package/dist/node_modules/lodash/_createSet.js +0 -16
- package/dist/node_modules/lodash/_createSet.js.map +0 -1
- package/dist/node_modules/lodash/_defineProperty.js +0 -17
- package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
- package/dist/node_modules/lodash/_equalArrays.js +0 -42
- package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
- package/dist/node_modules/lodash/_equalByTag.js +0 -42
- package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
- package/dist/node_modules/lodash/_equalObjects.js +0 -39
- package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
- package/dist/node_modules/lodash/_freeGlobal.js +0 -10
- package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeys.js +0 -17
- package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_getMapData.js +0 -16
- package/dist/node_modules/lodash/_getMapData.js.map +0 -1
- package/dist/node_modules/lodash/_getMatchData.js +0 -24
- package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
- package/dist/node_modules/lodash/_getNative.js +0 -17
- package/dist/node_modules/lodash/_getNative.js.map +0 -1
- package/dist/node_modules/lodash/_getPrototype.js +0 -11
- package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_getRawTag.js +0 -21
- package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbols.js +0 -17
- package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
- package/dist/node_modules/lodash/_getTag.js +0 -28
- package/dist/node_modules/lodash/_getTag.js.map +0 -1
- package/dist/node_modules/lodash/_getValue.js +0 -13
- package/dist/node_modules/lodash/_getValue.js.map +0 -1
- package/dist/node_modules/lodash/_hasPath.js +0 -26
- package/dist/node_modules/lodash/_hasPath.js.map +0 -1
- package/dist/node_modules/lodash/_hasUnicode.js +0 -14
- package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
- package/dist/node_modules/lodash/_hashClear.js +0 -15
- package/dist/node_modules/lodash/_hashClear.js.map +0 -1
- package/dist/node_modules/lodash/_hashDelete.js +0 -14
- package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
- package/dist/node_modules/lodash/_hashGet.js +0 -20
- package/dist/node_modules/lodash/_hashGet.js.map +0 -1
- package/dist/node_modules/lodash/_hashHas.js +0 -16
- package/dist/node_modules/lodash/_hashHas.js.map +0 -1
- package/dist/node_modules/lodash/_hashSet.js +0 -16
- package/dist/node_modules/lodash/_hashSet.js.map +0 -1
- package/dist/node_modules/lodash/_isFlattenable.js +0 -17
- package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
- package/dist/node_modules/lodash/_isIndex.js +0 -15
- package/dist/node_modules/lodash/_isIndex.js.map +0 -1
- package/dist/node_modules/lodash/_isIterateeCall.js +0 -20
- package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
- package/dist/node_modules/lodash/_isKey.js +0 -18
- package/dist/node_modules/lodash/_isKey.js.map +0 -1
- package/dist/node_modules/lodash/_isKeyable.js +0 -14
- package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
- package/dist/node_modules/lodash/_isMasked.js +0 -18
- package/dist/node_modules/lodash/_isMasked.js.map +0 -1
- package/dist/node_modules/lodash/_isPrototype.js +0 -15
- package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_isStrictComparable.js +0 -15
- package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheClear.js +0 -13
- package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -16
- package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheGet.js +0 -16
- package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheHas.js +0 -15
- package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheSet.js +0 -16
- package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -21
- package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -16
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -15
- package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -15
- package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -16
- package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapToArray.js +0 -16
- package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
- package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -15
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -18
- package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
- package/dist/node_modules/lodash/_nativeCreate.js +0 -11
- package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeys.js +0 -11
- package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_nodeUtil.js +0 -16
- package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
- package/dist/node_modules/lodash/_objectToString.js +0 -14
- package/dist/node_modules/lodash/_objectToString.js.map +0 -1
- package/dist/node_modules/lodash/_overArg.js +0 -15
- package/dist/node_modules/lodash/_overArg.js.map +0 -1
- package/dist/node_modules/lodash/_overRest.js +0 -20
- package/dist/node_modules/lodash/_overRest.js.map +0 -1
- package/dist/node_modules/lodash/_root.js +0 -12
- package/dist/node_modules/lodash/_root.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheAdd.js +0 -14
- package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheHas.js +0 -13
- package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_setToArray.js +0 -16
- package/dist/node_modules/lodash/_setToArray.js.map +0 -1
- package/dist/node_modules/lodash/_setToString.js +0 -13
- package/dist/node_modules/lodash/_setToString.js.map +0 -1
- package/dist/node_modules/lodash/_shortOut.js +0 -21
- package/dist/node_modules/lodash/_shortOut.js.map +0 -1
- package/dist/node_modules/lodash/_stackClear.js +0 -15
- package/dist/node_modules/lodash/_stackClear.js.map +0 -1
- package/dist/node_modules/lodash/_stackDelete.js +0 -14
- package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
- package/dist/node_modules/lodash/_stackGet.js +0 -13
- package/dist/node_modules/lodash/_stackGet.js.map +0 -1
- package/dist/node_modules/lodash/_stackHas.js +0 -13
- package/dist/node_modules/lodash/_stackHas.js.map +0 -1
- package/dist/node_modules/lodash/_stackSet.js +0 -23
- package/dist/node_modules/lodash/_stackSet.js.map +0 -1
- package/dist/node_modules/lodash/_strictIndexOf.js +0 -14
- package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_stringToArray.js +0 -17
- package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
- package/dist/node_modules/lodash/_stringToPath.js +0 -17
- package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
- package/dist/node_modules/lodash/_toKey.js +0 -17
- package/dist/node_modules/lodash/_toKey.js.map +0 -1
- package/dist/node_modules/lodash/_toSource.js +0 -22
- package/dist/node_modules/lodash/_toSource.js.map +0 -1
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -15
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
- package/dist/node_modules/lodash/_unicodeToArray.js +0 -24
- package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
- package/dist/node_modules/lodash/constant.js +0 -15
- package/dist/node_modules/lodash/constant.js.map +0 -1
- package/dist/node_modules/lodash/debounce.js +0 -57
- package/dist/node_modules/lodash/debounce.js.map +0 -1
- package/dist/node_modules/lodash/eq.js +0 -13
- package/dist/node_modules/lodash/eq.js.map +0 -1
- package/dist/node_modules/lodash/every.js +0 -20
- package/dist/node_modules/lodash/every.js.map +0 -1
- package/dist/node_modules/lodash/find.js +0 -12
- package/dist/node_modules/lodash/find.js.map +0 -1
- package/dist/node_modules/lodash/findIndex.js +0 -20
- package/dist/node_modules/lodash/findIndex.js.map +0 -1
- package/dist/node_modules/lodash/first.js +0 -11
- package/dist/node_modules/lodash/first.js.map +0 -1
- package/dist/node_modules/lodash/flatMap.js +0 -16
- package/dist/node_modules/lodash/flatMap.js.map +0 -1
- package/dist/node_modules/lodash/get.js +0 -16
- package/dist/node_modules/lodash/get.js.map +0 -1
- package/dist/node_modules/lodash/hasIn.js +0 -16
- package/dist/node_modules/lodash/hasIn.js.map +0 -1
- package/dist/node_modules/lodash/head.js +0 -13
- package/dist/node_modules/lodash/head.js.map +0 -1
- package/dist/node_modules/lodash/identity.js +0 -13
- package/dist/node_modules/lodash/identity.js.map +0 -1
- package/dist/node_modules/lodash/isArguments.js +0 -17
- package/dist/node_modules/lodash/isArguments.js.map +0 -1
- package/dist/node_modules/lodash/isArray.js +0 -10
- package/dist/node_modules/lodash/isArray.js.map +0 -1
- package/dist/node_modules/lodash/isArrayLike.js +0 -16
- package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
- package/dist/node_modules/lodash/isBoolean.js +0 -16
- package/dist/node_modules/lodash/isBoolean.js.map +0 -1
- package/dist/node_modules/lodash/isBuffer.js +0 -13
- package/dist/node_modules/lodash/isBuffer.js.map +0 -1
- package/dist/node_modules/lodash/isEqual.js +0 -15
- package/dist/node_modules/lodash/isEqual.js.map +0 -1
- package/dist/node_modules/lodash/isFunction.js +0 -18
- package/dist/node_modules/lodash/isFunction.js.map +0 -1
- package/dist/node_modules/lodash/isLength.js +0 -14
- package/dist/node_modules/lodash/isLength.js.map +0 -1
- package/dist/node_modules/lodash/isNaN.js +0 -15
- package/dist/node_modules/lodash/isNaN.js.map +0 -1
- package/dist/node_modules/lodash/isNil.js +0 -13
- package/dist/node_modules/lodash/isNil.js.map +0 -1
- package/dist/node_modules/lodash/isNumber.js +0 -16
- package/dist/node_modules/lodash/isNumber.js.map +0 -1
- package/dist/node_modules/lodash/isObject.js +0 -14
- package/dist/node_modules/lodash/isObject.js.map +0 -1
- package/dist/node_modules/lodash/isObjectLike.js +0 -13
- package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
- package/dist/node_modules/lodash/isPlainObject.js +0 -21
- package/dist/node_modules/lodash/isPlainObject.js.map +0 -1
- package/dist/node_modules/lodash/isString.js +0 -17
- package/dist/node_modules/lodash/isString.js.map +0 -1
- package/dist/node_modules/lodash/isSymbol.js +0 -16
- package/dist/node_modules/lodash/isSymbol.js.map +0 -1
- package/dist/node_modules/lodash/isTypedArray.js +0 -14
- package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/keys.js +0 -17
- package/dist/node_modules/lodash/keys.js.map +0 -1
- package/dist/node_modules/lodash/last.js +0 -14
- package/dist/node_modules/lodash/last.js.map +0 -1
- package/dist/node_modules/lodash/map.js +0 -18
- package/dist/node_modules/lodash/map.js.map +0 -1
- package/dist/node_modules/lodash/mapValues.js +0 -20
- package/dist/node_modules/lodash/mapValues.js.map +0 -1
- package/dist/node_modules/lodash/max.js +0 -17
- package/dist/node_modules/lodash/max.js.map +0 -1
- package/dist/node_modules/lodash/maxBy.js +0 -17
- package/dist/node_modules/lodash/maxBy.js.map +0 -1
- package/dist/node_modules/lodash/memoize.js +0 -22
- package/dist/node_modules/lodash/memoize.js.map +0 -1
- package/dist/node_modules/lodash/min.js +0 -17
- package/dist/node_modules/lodash/min.js.map +0 -1
- package/dist/node_modules/lodash/minBy.js +0 -17
- package/dist/node_modules/lodash/minBy.js.map +0 -1
- package/dist/node_modules/lodash/noop.js +0 -11
- package/dist/node_modules/lodash/noop.js.map +0 -1
- package/dist/node_modules/lodash/now.js +0 -14
- package/dist/node_modules/lodash/now.js.map +0 -1
- package/dist/node_modules/lodash/property.js +0 -18
- package/dist/node_modules/lodash/property.js.map +0 -1
- package/dist/node_modules/lodash/range.js +0 -11
- package/dist/node_modules/lodash/range.js.map +0 -1
- package/dist/node_modules/lodash/some.js +0 -20
- package/dist/node_modules/lodash/some.js.map +0 -1
- package/dist/node_modules/lodash/sortBy.js +0 -19
- package/dist/node_modules/lodash/sortBy.js.map +0 -1
- package/dist/node_modules/lodash/stubArray.js +0 -13
- package/dist/node_modules/lodash/stubArray.js.map +0 -1
- package/dist/node_modules/lodash/stubFalse.js +0 -13
- package/dist/node_modules/lodash/stubFalse.js.map +0 -1
- package/dist/node_modules/lodash/throttle.js +0 -22
- package/dist/node_modules/lodash/throttle.js.map +0 -1
- package/dist/node_modules/lodash/toFinite.js +0 -15
- package/dist/node_modules/lodash/toFinite.js.map +0 -1
- package/dist/node_modules/lodash/toInteger.js +0 -16
- package/dist/node_modules/lodash/toInteger.js.map +0 -1
- package/dist/node_modules/lodash/toNumber.js +0 -26
- package/dist/node_modules/lodash/toNumber.js.map +0 -1
- package/dist/node_modules/lodash/toString.js +0 -15
- package/dist/node_modules/lodash/toString.js.map +0 -1
- package/dist/node_modules/lodash/uniqBy.js +0 -16
- package/dist/node_modules/lodash/uniqBy.js.map +0 -1
- package/dist/node_modules/lodash/upperFirst.js +0 -11
- package/dist/node_modules/lodash/upperFirst.js.map +0 -1
- package/dist/node_modules/object-assign/index.js +0 -41
- package/dist/node_modules/object-assign/index.js.map +0 -1
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -46
- package/dist/node_modules/prop-types/checkPropTypes.js.map +0 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -49
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -272
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
- package/dist/node_modules/prop-types/index.js +0 -16
- package/dist/node_modules/prop-types/index.js.map +0 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
- package/dist/node_modules/prop-types/lib/has.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -84
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -64
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -12
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -87
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -65
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/node_modules/react-is/index.js +0 -12
- package/dist/node_modules/react-is/index.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/Animate.js +0 -374
- package/dist/node_modules/react-smooth/es6/Animate.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +0 -73
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/configUpdate.js +0 -173
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/easing.js +0 -152
- package/dist/node_modules/react-smooth/es6/easing.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/index.js +0 -9
- package/dist/node_modules/react-smooth/es6/index.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +0 -14
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/util.js +0 -92
- package/dist/node_modules/react-smooth/es6/util.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Area.js +0 -435
- package/dist/node_modules/recharts/es6/cartesian/Area.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +0 -387
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +0 -499
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +0 -338
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +0 -305
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +0 -243
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -473
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +0 -173
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +0 -178
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +0 -254
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +0 -144
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +0 -143
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +0 -18
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +0 -121
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +0 -101
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +0 -22
- package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/BarChart.js +0 -24
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/LineChart.js +0 -22
- package/dist/node_modules/recharts/es6/chart/LineChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/PieChart.js +0 -34
- package/dist/node_modules/recharts/es6/chart/PieChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/RadarChart.js +0 -31
- package/dist/node_modules/recharts/es6/chart/RadarChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/RadialBarChart.js +0 -34
- package/dist/node_modules/recharts/es6/chart/RadialBarChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +0 -1245
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Cell.js +0 -9
- package/dist/node_modules/recharts/es6/component/Cell.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Cursor.js +0 -93
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +0 -237
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +0 -171
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Label.js +0 -353
- package/dist/node_modules/recharts/es6/component/Label.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/LabelList.js +0 -166
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Legend.js +0 -234
- package/dist/node_modules/recharts/es6/component/Legend.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +0 -187
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Text.js +0 -225
- package/dist/node_modules/recharts/es6/component/Text.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Tooltip.js +0 -182
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +0 -198
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +0 -1
- package/dist/node_modules/recharts/es6/container/Layer.js +0 -40
- package/dist/node_modules/recharts/es6/container/Layer.js.map +0 -1
- package/dist/node_modules/recharts/es6/container/Surface.js +0 -60
- package/dist/node_modules/recharts/es6/container/Surface.js.map +0 -1
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +0 -57
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +0 -1
- package/dist/node_modules/recharts/es6/polar/Pie.js +0 -435
- package/dist/node_modules/recharts/es6/polar/Pie.js.map +0 -1
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +0 -215
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/polar/PolarGrid.js +0 -162
- package/dist/node_modules/recharts/es6/polar/PolarGrid.js.map +0 -1
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +0 -268
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/polar/Radar.js +0 -317
- package/dist/node_modules/recharts/es6/polar/Radar.js.map +0 -1
- package/dist/node_modules/recharts/es6/polar/RadialBar.js +0 -342
- package/dist/node_modules/recharts/es6/polar/RadialBar.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Cross.js +0 -112
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Curve.js +0 -136
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Dot.js +0 -27
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Polygon.js +0 -112
- package/dist/node_modules/recharts/es6/shape/Polygon.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +0 -205
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Sector.js +0 -192
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Symbols.js +0 -143
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +0 -175
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +0 -181
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/BarUtils.js +0 -112
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +0 -234
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +0 -562
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +0 -70
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +0 -108
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/DataUtils.js +0 -57
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +0 -58
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/Events.js +0 -7
- package/dist/node_modules/recharts/es6/util/Events.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -21
- package/dist/node_modules/recharts/es6/util/Global.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +0 -9
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/LogUtils.js +0 -15
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +0 -198
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/RadialBarUtils.js +0 -83
- package/dist/node_modules/recharts/es6/util/RadialBarUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +0 -137
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +0 -181
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +0 -10
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/TickUtils.js +0 -31
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -25
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +0 -23
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +0 -16
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +0 -17
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +0 -12
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +0 -88
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +0 -13
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +0 -12
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +0 -87
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/types.js +0 -43
- package/dist/node_modules/recharts/es6/util/types.js.map +0 -1
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +0 -132
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +0 -1
- package/dist/node_modules/recharts-scale/es6/index.js +0 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +0 -32
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +0 -1
- package/dist/node_modules/recharts-scale/es6/util/utils.js +0 -79
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1716
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -13
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +0 -1
- package/dist/node_modules/victory-vendor/es/d3-scale.js +0 -53
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +0 -1
- package/dist/timecampus/pages/applets/AppletStorePage.js +0 -167
- package/dist/timecampus/pages/applets/AppletStorePage.js.map +0 -1
- package/dist/timecampus/pages/applets/InstalledAppletsPage.js +0 -162
- package/dist/timecampus/pages/applets/InstalledAppletsPage.js.map +0 -1
- package/dist/timecampus/pages/application-usage/ApplicationUsageSettingsPage.js +0 -133
- package/dist/timecampus/pages/application-usage/ApplicationUsageSettingsPage.js.map +0 -1
- package/dist/timecampus/pages/channels/ChannelsPage.js +0 -418
- package/dist/timecampus/pages/channels/ChannelsPage.js.map +0 -1
- package/dist/timecampus/pages/email-tracking/EmailSettingsPage.js +0 -142
- package/dist/timecampus/pages/email-tracking/EmailSettingsPage.js.map +0 -1
- package/dist/timecampus/pages/focus-score/FocusScoreSettingsPage.js +0 -119
- package/dist/timecampus/pages/focus-score/FocusScoreSettingsPage.js.map +0 -1
- package/dist/timecampus/pages/geofencing/GeofencingSettingsPage.js +0 -110
- package/dist/timecampus/pages/geofencing/GeofencingSettingsPage.js.map +0 -1
- package/dist/timecampus/pages/industry-solutions/IndustrySolutionsPage.js +0 -83
- package/dist/timecampus/pages/industry-solutions/IndustrySolutionsPage.js.map +0 -1
- package/dist/timecampus/pages/location-tracking/LocationPrivacySettingsPage.js +0 -198
- package/dist/timecampus/pages/location-tracking/LocationPrivacySettingsPage.js.map +0 -1
- package/dist/timecampus/pages/team-activity/TeamActivitySettingsPage.js +0 -124
- package/dist/timecampus/pages/team-activity/TeamActivitySettingsPage.js.map +0 -1
- package/dist/timecampus/pages/templates/TemplateApplicationPage.js +0 -88
- package/dist/timecampus/pages/templates/TemplateApplicationPage.js.map +0 -1
- package/dist/timecampus/pages/templates/TemplateDetailPage.js +0 -135
- package/dist/timecampus/pages/templates/TemplateDetailPage.js.map +0 -1
- package/dist/timecampus/pages/templates/TemplatesPage.js +0 -191
- package/dist/timecampus/pages/templates/TemplatesPage.js.map +0 -1
- package/dist/timecampus/pages/widgets/WidgetDetailPage.js +0 -196
- package/dist/timecampus/pages/widgets/WidgetDetailPage.js.map +0 -1
- package/dist/timecampus/pages/widgets/WidgetsPage.js +0 -297
- package/dist/timecampus/pages/widgets/WidgetsPage.js.map +0 -1
- package/dist/timecampus/pages/work-patterns/WorkPatternsSettingsPage.js +0 -133
- package/dist/timecampus/pages/work-patterns/WorkPatternsSettingsPage.js.map +0 -1
- package/dist/timecampus/pages/workflows/WorkflowsPage.js +0 -311
- package/dist/timecampus/pages/workflows/WorkflowsPage.js.map +0 -1
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { StatCard as e } from "../../components/StatCard.js";
|
|
2
|
-
import { LoadingSkeleton as t } from "../../components/LoadingSkeleton.js";
|
|
3
|
-
import { useListConfigurationsQuery as n, useSetConfigurationMutation as r } from "../../../generated/wspace-operations.js";
|
|
4
|
-
import { PageLayout as i } from "../../components/PageLayout.js";
|
|
5
|
-
import { StatusBadge as a } from "../../components/StatusBadge.js";
|
|
6
|
-
import { EmptyState as o } from "../../components/EmptyState.js";
|
|
7
|
-
import { ChartCard as s } from "../../components/ChartCard.js";
|
|
8
|
-
import { DonutChart as c } from "../../components/charts/DonutChart.js";
|
|
9
|
-
import "../../components/index.js";
|
|
10
|
-
import { TimeCampusConfigScope as l } from "../../../generated/wspace-types.js";
|
|
11
|
-
import { useState as u } from "react";
|
|
12
|
-
import { Boxes as d, LayoutGrid as f, Puzzle as p, Store as m, Tags as h } from "lucide-react";
|
|
13
|
-
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
14
|
-
import { GlassCard as y } from "@burdenoff/fe-libs/ui";
|
|
15
|
-
//#region src/timecampus/pages/applets/AppletStorePage.tsx
|
|
16
|
-
function b() {
|
|
17
|
-
let { data: b, loading: x, error: S, refetch: C } = n({ variables: { scope: l.Workspace } }), [w, { error: T }] = r(), [E, D] = u(null), O = b?.timeCampusConfigurations ?? [], k = O.filter((e) => e.key.startsWith("applet.store.")), A = new Set(O.filter((e) => e.key.startsWith("applet.installed.")).map((e) => e.key.replace("applet.installed.", ""))), j = k.reduce((e, t) => {
|
|
18
|
-
let n = (t.value ?? {}).category ?? "general";
|
|
19
|
-
return e[n] = (e[n] ?? 0) + 1, e;
|
|
20
|
-
}, {}), M = Object.entries(j).sort((e, t) => t[1] - e[1]).map(([e, t]) => ({
|
|
21
|
-
name: e,
|
|
22
|
-
value: t
|
|
23
|
-
})), N = k.filter((e) => A.has(e.key.replace("applet.store.", ""))).length, P = async (e) => {
|
|
24
|
-
let t = e.key.replace("applet.store.", ""), n = e.value ?? {}, r = n.name ?? t, i = e.description ?? n.description ?? void 0;
|
|
25
|
-
D(e.id);
|
|
26
|
-
try {
|
|
27
|
-
await w({ variables: { input: {
|
|
28
|
-
key: `applet.installed.${t}`,
|
|
29
|
-
scope: l.Workspace,
|
|
30
|
-
value: {
|
|
31
|
-
name: r,
|
|
32
|
-
category: n.category ?? "general",
|
|
33
|
-
description: i,
|
|
34
|
-
version: n.version ?? "1.0.0",
|
|
35
|
-
author: n.author ?? "TimeCampus",
|
|
36
|
-
isActive: !0,
|
|
37
|
-
installedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
38
|
-
},
|
|
39
|
-
description: i
|
|
40
|
-
} } }), await C();
|
|
41
|
-
} finally {
|
|
42
|
-
D(null);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
return x ? /* @__PURE__ */ _(i, {
|
|
46
|
-
title: "Applet Store",
|
|
47
|
-
description: "Browse and install applets to extend TimeCampus",
|
|
48
|
-
children: /* @__PURE__ */ _(t, {
|
|
49
|
-
variant: "card",
|
|
50
|
-
count: 6
|
|
51
|
-
})
|
|
52
|
-
}) : S ? /* @__PURE__ */ _(i, {
|
|
53
|
-
title: "Applet Store",
|
|
54
|
-
description: "Browse and install applets to extend TimeCampus",
|
|
55
|
-
children: /* @__PURE__ */ _("div", {
|
|
56
|
-
className: "rounded-lg border border-status-error-bg/40 bg-status-error-bg p-4 text-sm text-status-error-text",
|
|
57
|
-
children: "Failed to load applet store data. Please try again later."
|
|
58
|
-
})
|
|
59
|
-
}) : /* @__PURE__ */ _(i, {
|
|
60
|
-
title: "Applet Store",
|
|
61
|
-
description: "Browse and install applets to extend TimeCampus",
|
|
62
|
-
purpose: "Discover optional add-ons that extend TimeCampus — integrations, extra trackers and views — and install the ones your workflow needs instead of living with a one-size-fits-all setup.",
|
|
63
|
-
children: k.length === 0 ? /* @__PURE__ */ _(o, {
|
|
64
|
-
illustration: "empty-generic",
|
|
65
|
-
title: "No applets available yet",
|
|
66
|
-
description: "Store applets are managed as workspace configurations with the 'applet.store.' key prefix — once published, they'll appear here to browse and install."
|
|
67
|
-
}) : /* @__PURE__ */ v("div", {
|
|
68
|
-
className: "space-y-6",
|
|
69
|
-
children: [
|
|
70
|
-
T && /* @__PURE__ */ _("div", {
|
|
71
|
-
className: "rounded-lg border border-status-error-bg/40 bg-status-error-bg p-3 text-sm text-status-error-text",
|
|
72
|
-
children: "Couldn't install that applet. Please try again."
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */ v("div", {
|
|
75
|
-
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
76
|
-
children: [
|
|
77
|
-
/* @__PURE__ */ _(e, {
|
|
78
|
-
featured: !0,
|
|
79
|
-
title: "Available",
|
|
80
|
-
value: k.length,
|
|
81
|
-
icon: /* @__PURE__ */ _(f, { className: "h-5 w-5" }),
|
|
82
|
-
description: "Add-ons you can install"
|
|
83
|
-
}),
|
|
84
|
-
/* @__PURE__ */ _(e, {
|
|
85
|
-
title: "Categories",
|
|
86
|
-
value: Object.keys(j).length,
|
|
87
|
-
icon: /* @__PURE__ */ _(h, { className: "h-5 w-5" }),
|
|
88
|
-
description: "Ways to extend",
|
|
89
|
-
iconBgColor: "bg-status-info-bg text-status-info-text"
|
|
90
|
-
}),
|
|
91
|
-
/* @__PURE__ */ _(e, {
|
|
92
|
-
title: "Installed",
|
|
93
|
-
value: N,
|
|
94
|
-
icon: /* @__PURE__ */ _(d, { className: "h-5 w-5" }),
|
|
95
|
-
description: "Already in your workspace",
|
|
96
|
-
iconBgColor: "bg-status-success-bg text-status-success-text"
|
|
97
|
-
})
|
|
98
|
-
]
|
|
99
|
-
}),
|
|
100
|
-
/* @__PURE__ */ v("div", {
|
|
101
|
-
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
102
|
-
children: [/* @__PURE__ */ _(s, {
|
|
103
|
-
title: "By category",
|
|
104
|
-
description: "How the catalogue breaks down",
|
|
105
|
-
className: "lg:col-span-1",
|
|
106
|
-
children: /* @__PURE__ */ _(c, {
|
|
107
|
-
data: M,
|
|
108
|
-
centerLabel: "Applets",
|
|
109
|
-
centerValue: k.length,
|
|
110
|
-
height: 240,
|
|
111
|
-
ariaLabel: "Store applets grouped by category",
|
|
112
|
-
emptyLabel: "No applets to summarise yet."
|
|
113
|
-
})
|
|
114
|
-
}), /* @__PURE__ */ _("div", {
|
|
115
|
-
className: "lg:col-span-2",
|
|
116
|
-
children: /* @__PURE__ */ _("div", {
|
|
117
|
-
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
118
|
-
children: k.map((e) => {
|
|
119
|
-
let t = e.value ?? {}, n = t.name ?? e.key.replace("applet.store.", ""), r = e.description ?? t.description ?? "", i = t.category ?? "general", o = A.has(e.key.replace("applet.store.", "")), s = E === e.id;
|
|
120
|
-
return /* @__PURE__ */ v(y, {
|
|
121
|
-
treatment: "glass",
|
|
122
|
-
className: "flex flex-col p-5",
|
|
123
|
-
children: [/* @__PURE__ */ v("div", {
|
|
124
|
-
className: "flex items-start gap-3",
|
|
125
|
-
children: [/* @__PURE__ */ _("div", {
|
|
126
|
-
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-action-primary-bg/10 text-primary",
|
|
127
|
-
children: /* @__PURE__ */ _(p, { className: "h-6 w-6" })
|
|
128
|
-
}), /* @__PURE__ */ v("div", {
|
|
129
|
-
className: "min-w-0 flex-1",
|
|
130
|
-
children: [/* @__PURE__ */ _("p", {
|
|
131
|
-
className: "truncate text-sm font-semibold text-text-primary",
|
|
132
|
-
children: n
|
|
133
|
-
}), r && /* @__PURE__ */ _("p", {
|
|
134
|
-
className: "mt-1 line-clamp-2 text-xs text-text-secondary",
|
|
135
|
-
children: r
|
|
136
|
-
})]
|
|
137
|
-
})]
|
|
138
|
-
}), /* @__PURE__ */ v("div", {
|
|
139
|
-
className: "mt-4 flex items-center justify-between gap-2 border-t border-border-seam pt-3",
|
|
140
|
-
children: [/* @__PURE__ */ _("span", {
|
|
141
|
-
className: "inline-flex rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium capitalize text-text-secondary",
|
|
142
|
-
children: i
|
|
143
|
-
}), o ? /* @__PURE__ */ _(a, {
|
|
144
|
-
variant: "success",
|
|
145
|
-
label: "Installed",
|
|
146
|
-
className: "gap-1"
|
|
147
|
-
}) : /* @__PURE__ */ _("button", {
|
|
148
|
-
type: "button",
|
|
149
|
-
onClick: () => void P(e),
|
|
150
|
-
disabled: s,
|
|
151
|
-
className: "inline-flex items-center gap-1 rounded-md bg-action-primary-bg px-3 py-1.5 text-xs font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
|
|
152
|
-
children: s ? "Installing..." : /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(m, { className: "h-3 w-3" }), "Get it"] })
|
|
153
|
-
})]
|
|
154
|
-
})]
|
|
155
|
-
}, e.id);
|
|
156
|
-
})
|
|
157
|
-
})
|
|
158
|
-
})]
|
|
159
|
-
})
|
|
160
|
-
]
|
|
161
|
-
})
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
//#endregion
|
|
165
|
-
export { b as AppletStorePage };
|
|
166
|
-
|
|
167
|
-
//# sourceMappingURL=AppletStorePage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppletStorePage.js","names":[],"sources":["../../../../src/timecampus/pages/applets/AppletStorePage.tsx"],"sourcesContent":["import { useState } from \"react\";\nimport {\n Puzzle,\n Store as StoreIcon,\n LayoutGrid,\n Boxes,\n Tags,\n} from \"lucide-react\";\nimport { GlassCard } from \"@burdenoff/fe-libs/ui\";\nimport {\n PageLayout,\n EmptyState,\n LoadingSkeleton,\n StatCard,\n StatusBadge,\n ChartCard,\n DonutChart,\n} from \"../../components\";\nimport {\n useListConfigurationsQuery,\n useSetConfigurationMutation,\n type ConfigurationFieldsFragment,\n} from \"@/generated/wspace-operations\";\nimport { TimeCampusConfigScope } from \"@/generated/wspace-types\";\n\nexport function AppletStorePage() {\n const { data, loading, error, refetch } = useListConfigurationsQuery({\n variables: { scope: TimeCampusConfigScope.Workspace },\n });\n\n const [setConfiguration, { error: installError }] =\n useSetConfigurationMutation();\n const [installingId, setInstallingId] = useState<string | null>(null);\n\n const configurations: ConfigurationFieldsFragment[] =\n data?.timeCampusConfigurations ?? [];\n\n // Filter configurations that represent store/available applets (key starts with 'applet.store.')\n const storeApplets = configurations.filter((c: ConfigurationFieldsFragment) =>\n c.key.startsWith(\"applet.store.\"),\n );\n\n // Suffixes of applets already installed — the store dedupes against these so\n // \"Get it\" flips to \"Installed\" without inventing any status.\n const installedSuffixes = new Set(\n configurations\n .filter((c: ConfigurationFieldsFragment) =>\n c.key.startsWith(\"applet.installed.\"),\n )\n .map((c) => c.key.replace(\"applet.installed.\", \"\")),\n );\n\n // Real, derived aggregates over the catalogue the page already loads.\n const categoryCounts = storeApplets.reduce<Record<string, number>>(\n (acc, applet) => {\n const val = (applet.value as Record<string, unknown>) ?? {};\n const category = (val.category as string) ?? \"general\";\n acc[category] = (acc[category] ?? 0) + 1;\n return acc;\n },\n {},\n );\n const categoryMix = Object.entries(categoryCounts)\n .sort((a, b) => b[1] - a[1])\n .map(([category, count]) => ({ name: category, value: count }));\n const installedFromStore = storeApplets.filter((applet) =>\n installedSuffixes.has(applet.key.replace(\"applet.store.\", \"\")),\n ).length;\n\n const handleInstall = async (applet: ConfigurationFieldsFragment) => {\n const suffix = applet.key.replace(\"applet.store.\", \"\");\n const val = (applet.value as Record<string, unknown>) ?? {};\n const appletName = (val.name as string) ?? suffix;\n const appletDescription =\n applet.description ?? (val.description as string) ?? undefined;\n setInstallingId(applet.id);\n try {\n await setConfiguration({\n variables: {\n input: {\n key: `applet.installed.${suffix}`,\n scope: TimeCampusConfigScope.Workspace,\n value: {\n name: appletName,\n category: (val.category as string) ?? \"general\",\n description: appletDescription,\n version: (val.version as string) ?? \"1.0.0\",\n author: (val.author as string) ?? \"TimeCampus\",\n isActive: true,\n installedAt: new Date().toISOString(),\n },\n description: appletDescription,\n },\n },\n });\n await refetch();\n } finally {\n setInstallingId(null);\n }\n };\n\n if (loading) {\n return (\n <PageLayout\n title=\"Applet Store\"\n description=\"Browse and install applets to extend TimeCampus\"\n >\n <LoadingSkeleton variant=\"card\" count={6} />\n </PageLayout>\n );\n }\n\n if (error) {\n return (\n <PageLayout\n title=\"Applet Store\"\n description=\"Browse and install applets to extend TimeCampus\"\n >\n <div className=\"rounded-lg border border-status-error-bg/40 bg-status-error-bg p-4 text-sm text-status-error-text\">\n Failed to load applet store data. Please try again later.\n </div>\n </PageLayout>\n );\n }\n\n return (\n <PageLayout\n title=\"Applet Store\"\n description=\"Browse and install applets to extend TimeCampus\"\n purpose=\"Discover optional add-ons that extend TimeCampus — integrations, extra trackers and views — and install the ones your workflow needs instead of living with a one-size-fits-all setup.\"\n >\n {storeApplets.length === 0 ? (\n <EmptyState\n illustration=\"empty-generic\"\n title=\"No applets available yet\"\n description=\"Store applets are managed as workspace configurations with the 'applet.store.' key prefix — once published, they'll appear here to browse and install.\"\n />\n ) : (\n <div className=\"space-y-6\">\n {installError && (\n <div className=\"rounded-lg border border-status-error-bg/40 bg-status-error-bg p-3 text-sm text-status-error-text\">\n Couldn't install that applet. Please try again.\n </div>\n )}\n\n {/* Catalogue summary — derived from the applets below */}\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-3\">\n <StatCard\n featured\n title=\"Available\"\n value={storeApplets.length}\n icon={<LayoutGrid className=\"h-5 w-5\" />}\n description=\"Add-ons you can install\"\n />\n <StatCard\n title=\"Categories\"\n value={Object.keys(categoryCounts).length}\n icon={<Tags className=\"h-5 w-5\" />}\n description=\"Ways to extend\"\n iconBgColor=\"bg-status-info-bg text-status-info-text\"\n />\n <StatCard\n title=\"Installed\"\n value={installedFromStore}\n icon={<Boxes className=\"h-5 w-5\" />}\n description=\"Already in your workspace\"\n iconBgColor=\"bg-status-success-bg text-status-success-text\"\n />\n </div>\n\n {/* Category mix ring + catalogue cards */}\n <div className=\"grid grid-cols-1 gap-6 lg:grid-cols-3\">\n <ChartCard\n title=\"By category\"\n description=\"How the catalogue breaks down\"\n className=\"lg:col-span-1\"\n >\n <DonutChart\n data={categoryMix}\n centerLabel=\"Applets\"\n centerValue={storeApplets.length}\n height={240}\n ariaLabel=\"Store applets grouped by category\"\n emptyLabel=\"No applets to summarise yet.\"\n />\n </ChartCard>\n\n <div className=\"lg:col-span-2\">\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2\">\n {storeApplets.map((applet: ConfigurationFieldsFragment) => {\n const val = (applet.value as Record<string, unknown>) ?? {};\n const name =\n (val.name as string) ??\n applet.key.replace(\"applet.store.\", \"\");\n const description =\n applet.description ?? (val.description as string) ?? \"\";\n const category = (val.category as string) ?? \"general\";\n const isInstalled = installedSuffixes.has(\n applet.key.replace(\"applet.store.\", \"\"),\n );\n const isInstalling = installingId === applet.id;\n\n return (\n <GlassCard\n key={applet.id}\n treatment=\"glass\"\n className=\"flex flex-col p-5\"\n >\n <div className=\"flex items-start gap-3\">\n <div className=\"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-action-primary-bg/10 text-primary\">\n <Puzzle className=\"h-6 w-6\" />\n </div>\n <div className=\"min-w-0 flex-1\">\n <p className=\"truncate text-sm font-semibold text-text-primary\">\n {name}\n </p>\n {description && (\n <p className=\"mt-1 line-clamp-2 text-xs text-text-secondary\">\n {description}\n </p>\n )}\n </div>\n </div>\n <div className=\"mt-4 flex items-center justify-between gap-2 border-t border-border-seam pt-3\">\n <span className=\"inline-flex rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium capitalize text-text-secondary\">\n {category}\n </span>\n {isInstalled ? (\n <StatusBadge\n variant=\"success\"\n label=\"Installed\"\n className=\"gap-1\"\n />\n ) : (\n <button\n type=\"button\"\n onClick={() => void handleInstall(applet)}\n disabled={isInstalling}\n className=\"inline-flex items-center gap-1 rounded-md bg-action-primary-bg px-3 py-1.5 text-xs font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50\"\n >\n {isInstalling ? (\n \"Installing...\"\n ) : (\n <>\n <StoreIcon className=\"h-3 w-3\" />\n Get it\n </>\n )}\n </button>\n )}\n </div>\n </GlassCard>\n );\n })}\n </div>\n </div>\n </div>\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
|
1
|
-
import { StatCard as e } from "../../components/StatCard.js";
|
|
2
|
-
import { LoadingSkeleton as t } from "../../components/LoadingSkeleton.js";
|
|
3
|
-
import { useDeleteConfigurationMutation as n, useListConfigurationsQuery as r } from "../../../generated/wspace-operations.js";
|
|
4
|
-
import { PageLayout as i } from "../../components/PageLayout.js";
|
|
5
|
-
import { StatusBadge as a } from "../../components/StatusBadge.js";
|
|
6
|
-
import { EmptyState as o } from "../../components/EmptyState.js";
|
|
7
|
-
import { ChartCard as s } from "../../components/ChartCard.js";
|
|
8
|
-
import { DonutChart as c } from "../../components/charts/DonutChart.js";
|
|
9
|
-
import "../../components/index.js";
|
|
10
|
-
import { TimeCampusConfigScope as l } from "../../../generated/wspace-types.js";
|
|
11
|
-
import { useState as u } from "react";
|
|
12
|
-
import { ArrowUpCircle as d, Boxes as f, CheckCircle2 as p, Puzzle as m, Trash2 as h } from "lucide-react";
|
|
13
|
-
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
14
|
-
import { GlassCard as v } from "@burdenoff/fe-libs/ui";
|
|
15
|
-
//#region src/timecampus/pages/applets/InstalledAppletsPage.tsx
|
|
16
|
-
function y() {
|
|
17
|
-
let { data: y, loading: b, error: x, refetch: S } = r({ variables: { scope: l.Workspace } }), [C] = n(), [w, T] = u(null), E = async (e) => {
|
|
18
|
-
T(e);
|
|
19
|
-
try {
|
|
20
|
-
await C({ variables: { id: e } }), await S();
|
|
21
|
-
} finally {
|
|
22
|
-
T(null);
|
|
23
|
-
}
|
|
24
|
-
}, D = (y?.timeCampusConfigurations ?? []).filter((e) => e.key.startsWith("applet.installed.")), O = D.filter((e) => (e.value ?? {}).isActive ?? !0).length, k = D.filter((e) => (e.value ?? {}).updateAvailable ?? !1).length, A = D.reduce((e, t) => {
|
|
25
|
-
let n = (t.value ?? {}).category ?? "general";
|
|
26
|
-
return e[n] = (e[n] ?? 0) + 1, e;
|
|
27
|
-
}, {}), j = Object.entries(A).sort((e, t) => t[1] - e[1]).map(([e, t]) => ({
|
|
28
|
-
name: e,
|
|
29
|
-
value: t
|
|
30
|
-
}));
|
|
31
|
-
return b ? /* @__PURE__ */ g(i, {
|
|
32
|
-
title: "Installed Applets",
|
|
33
|
-
description: "Manage your installed applets and integrations",
|
|
34
|
-
children: /* @__PURE__ */ g(t, {
|
|
35
|
-
variant: "card",
|
|
36
|
-
count: 6
|
|
37
|
-
})
|
|
38
|
-
}) : x ? /* @__PURE__ */ g(i, {
|
|
39
|
-
title: "Installed Applets",
|
|
40
|
-
description: "Manage your installed applets and integrations",
|
|
41
|
-
children: /* @__PURE__ */ g("div", {
|
|
42
|
-
className: "rounded-lg border border-status-error-bg/40 bg-status-error-bg p-4 text-sm text-status-error-text",
|
|
43
|
-
children: "Failed to load installed applets. Please try again later."
|
|
44
|
-
})
|
|
45
|
-
}) : /* @__PURE__ */ g(i, {
|
|
46
|
-
title: "Installed Applets",
|
|
47
|
-
description: "Manage your installed applets and integrations",
|
|
48
|
-
purpose: "See and manage every add-on running in your workspace — enable, configure or update them in one place so you stay in control of how TimeCampus is extended.",
|
|
49
|
-
children: D.length === 0 ? /* @__PURE__ */ g(o, {
|
|
50
|
-
illustration: "empty-generic",
|
|
51
|
-
title: "No applets installed yet",
|
|
52
|
-
description: "Browse the applet store to add integrations and trackers — installed applets are stored as workspace configurations and appear here."
|
|
53
|
-
}) : /* @__PURE__ */ _("div", {
|
|
54
|
-
className: "space-y-6",
|
|
55
|
-
children: [/* @__PURE__ */ _("div", {
|
|
56
|
-
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
57
|
-
children: [
|
|
58
|
-
/* @__PURE__ */ g(e, {
|
|
59
|
-
featured: !0,
|
|
60
|
-
title: "Installed",
|
|
61
|
-
value: D.length,
|
|
62
|
-
icon: /* @__PURE__ */ g(f, { className: "h-5 w-5" }),
|
|
63
|
-
description: "Add-ons in this workspace"
|
|
64
|
-
}),
|
|
65
|
-
/* @__PURE__ */ g(e, {
|
|
66
|
-
title: "Active",
|
|
67
|
-
value: O,
|
|
68
|
-
icon: /* @__PURE__ */ g(p, { className: "h-5 w-5" }),
|
|
69
|
-
description: "Currently enabled",
|
|
70
|
-
iconBgColor: "bg-status-success-bg text-status-success-text"
|
|
71
|
-
}),
|
|
72
|
-
/* @__PURE__ */ g(e, {
|
|
73
|
-
title: "Updates",
|
|
74
|
-
value: k,
|
|
75
|
-
icon: /* @__PURE__ */ g(d, { className: "h-5 w-5" }),
|
|
76
|
-
description: "Ready to update",
|
|
77
|
-
iconBgColor: "bg-status-info-bg text-status-info-text"
|
|
78
|
-
})
|
|
79
|
-
]
|
|
80
|
-
}), /* @__PURE__ */ _("div", {
|
|
81
|
-
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
82
|
-
children: [/* @__PURE__ */ g(s, {
|
|
83
|
-
title: "By category",
|
|
84
|
-
description: "How your add-ons break down",
|
|
85
|
-
className: "lg:col-span-1",
|
|
86
|
-
children: /* @__PURE__ */ g(c, {
|
|
87
|
-
data: j,
|
|
88
|
-
centerLabel: "Installed",
|
|
89
|
-
centerValue: D.length,
|
|
90
|
-
height: 240,
|
|
91
|
-
ariaLabel: "Installed applets grouped by category",
|
|
92
|
-
emptyLabel: "No applets to summarise yet."
|
|
93
|
-
})
|
|
94
|
-
}), /* @__PURE__ */ g("div", {
|
|
95
|
-
className: "lg:col-span-2",
|
|
96
|
-
children: /* @__PURE__ */ g("div", {
|
|
97
|
-
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
98
|
-
children: D.map((e) => {
|
|
99
|
-
let t = e.value ?? {}, n = t.name ?? e.key.replace("applet.installed.", ""), r = t.category ?? "general", i = t.version ?? "1.0.0", o = t.author ?? "Unknown", s = t.isActive ?? !0, c = t.updateAvailable ?? !1;
|
|
100
|
-
return /* @__PURE__ */ _(v, {
|
|
101
|
-
treatment: "glass",
|
|
102
|
-
glow: s,
|
|
103
|
-
className: "flex flex-col p-5",
|
|
104
|
-
children: [/* @__PURE__ */ _("div", {
|
|
105
|
-
className: "flex items-start justify-between gap-3",
|
|
106
|
-
children: [/* @__PURE__ */ _("div", {
|
|
107
|
-
className: "flex min-w-0 items-center gap-3",
|
|
108
|
-
children: [/* @__PURE__ */ g("div", {
|
|
109
|
-
className: "flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-action-primary-bg/10 text-primary",
|
|
110
|
-
children: /* @__PURE__ */ g(m, { className: "h-5 w-5" })
|
|
111
|
-
}), /* @__PURE__ */ _("div", {
|
|
112
|
-
className: "min-w-0",
|
|
113
|
-
children: [/* @__PURE__ */ _("div", {
|
|
114
|
-
className: "flex items-center gap-2",
|
|
115
|
-
children: [/* @__PURE__ */ g("p", {
|
|
116
|
-
className: "truncate text-sm font-semibold text-text-primary",
|
|
117
|
-
children: n
|
|
118
|
-
}), c && /* @__PURE__ */ g(a, {
|
|
119
|
-
variant: "info",
|
|
120
|
-
label: "Update"
|
|
121
|
-
})]
|
|
122
|
-
}), /* @__PURE__ */ _("p", {
|
|
123
|
-
className: "mt-0.5 truncate text-xs text-text-secondary",
|
|
124
|
-
children: [
|
|
125
|
-
"v",
|
|
126
|
-
i,
|
|
127
|
-
" · by ",
|
|
128
|
-
o
|
|
129
|
-
]
|
|
130
|
-
})]
|
|
131
|
-
})]
|
|
132
|
-
}), /* @__PURE__ */ g("button", {
|
|
133
|
-
type: "button",
|
|
134
|
-
"aria-label": `Uninstall ${n}`,
|
|
135
|
-
disabled: w === e.id,
|
|
136
|
-
onClick: () => void E(e.id),
|
|
137
|
-
className: "rounded-md p-1.5 text-text-secondary hover:bg-bg-sunken hover:text-status-error-text disabled:opacity-50",
|
|
138
|
-
children: /* @__PURE__ */ g(h, { className: "h-4 w-4" })
|
|
139
|
-
})]
|
|
140
|
-
}), /* @__PURE__ */ _("div", {
|
|
141
|
-
className: "mt-4 flex items-center justify-between border-t border-border-seam pt-3",
|
|
142
|
-
children: [/* @__PURE__ */ g(a, {
|
|
143
|
-
status: s ? "active" : "inactive",
|
|
144
|
-
dot: s,
|
|
145
|
-
label: s ? "Active" : "Disabled"
|
|
146
|
-
}), /* @__PURE__ */ g("span", {
|
|
147
|
-
className: "inline-flex rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium capitalize text-text-secondary",
|
|
148
|
-
children: r
|
|
149
|
-
})]
|
|
150
|
-
})]
|
|
151
|
-
}, e.id);
|
|
152
|
-
})
|
|
153
|
-
})
|
|
154
|
-
})]
|
|
155
|
-
})]
|
|
156
|
-
})
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
//#endregion
|
|
160
|
-
export { y as InstalledAppletsPage };
|
|
161
|
-
|
|
162
|
-
//# sourceMappingURL=InstalledAppletsPage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InstalledAppletsPage.js","names":[],"sources":["../../../../src/timecampus/pages/applets/InstalledAppletsPage.tsx"],"sourcesContent":["import { useState } from \"react\";\nimport {\n Puzzle,\n Trash2,\n Boxes,\n CheckCircle2,\n ArrowUpCircle,\n} from \"lucide-react\";\nimport { GlassCard } from \"@burdenoff/fe-libs/ui\";\nimport {\n PageLayout,\n EmptyState,\n LoadingSkeleton,\n StatCard,\n StatusBadge,\n ChartCard,\n DonutChart,\n} from \"../../components\";\nimport {\n useListConfigurationsQuery,\n useDeleteConfigurationMutation,\n type ConfigurationFieldsFragment,\n} from \"@/generated/wspace-operations\";\nimport { TimeCampusConfigScope } from \"@/generated/wspace-types\";\n\nexport function InstalledAppletsPage() {\n const { data, loading, error, refetch } = useListConfigurationsQuery({\n variables: { scope: TimeCampusConfigScope.Workspace },\n });\n const [deleteConfiguration] = useDeleteConfigurationMutation();\n const [uninstallingId, setUninstallingId] = useState<string | null>(null);\n\n const handleUninstall = async (id: string) => {\n setUninstallingId(id);\n try {\n await deleteConfiguration({ variables: { id } });\n await refetch();\n } finally {\n setUninstallingId(null);\n }\n };\n\n const configurations: ConfigurationFieldsFragment[] =\n data?.timeCampusConfigurations ?? [];\n\n // Filter configurations that represent installed applets (key starts with 'applet.installed.')\n const applets = configurations.filter((c: ConfigurationFieldsFragment) =>\n c.key.startsWith(\"applet.installed.\"),\n );\n\n // Real, derived aggregates over the installed applets the page already loads.\n const activeCount = applets.filter((applet) => {\n const val = (applet.value as Record<string, unknown>) ?? {};\n return (val.isActive as boolean) ?? true;\n }).length;\n const updatesCount = applets.filter((applet) => {\n const val = (applet.value as Record<string, unknown>) ?? {};\n return (val.updateAvailable as boolean) ?? false;\n }).length;\n const categoryCounts = applets.reduce<Record<string, number>>(\n (acc, applet) => {\n const val = (applet.value as Record<string, unknown>) ?? {};\n const category = (val.category as string) ?? \"general\";\n acc[category] = (acc[category] ?? 0) + 1;\n return acc;\n },\n {},\n );\n const categoryMix = Object.entries(categoryCounts)\n .sort((a, b) => b[1] - a[1])\n .map(([category, count]) => ({ name: category, value: count }));\n\n if (loading) {\n return (\n <PageLayout\n title=\"Installed Applets\"\n description=\"Manage your installed applets and integrations\"\n >\n <LoadingSkeleton variant=\"card\" count={6} />\n </PageLayout>\n );\n }\n\n if (error) {\n return (\n <PageLayout\n title=\"Installed Applets\"\n description=\"Manage your installed applets and integrations\"\n >\n <div className=\"rounded-lg border border-status-error-bg/40 bg-status-error-bg p-4 text-sm text-status-error-text\">\n Failed to load installed applets. Please try again later.\n </div>\n </PageLayout>\n );\n }\n\n return (\n <PageLayout\n title=\"Installed Applets\"\n description=\"Manage your installed applets and integrations\"\n purpose=\"See and manage every add-on running in your workspace — enable, configure or update them in one place so you stay in control of how TimeCampus is extended.\"\n >\n {applets.length === 0 ? (\n <EmptyState\n illustration=\"empty-generic\"\n title=\"No applets installed yet\"\n description=\"Browse the applet store to add integrations and trackers — installed applets are stored as workspace configurations and appear here.\"\n />\n ) : (\n <div className=\"space-y-6\">\n {/* KPI summary — derived from the installed applets below */}\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-3\">\n <StatCard\n featured\n title=\"Installed\"\n value={applets.length}\n icon={<Boxes className=\"h-5 w-5\" />}\n description=\"Add-ons in this workspace\"\n />\n <StatCard\n title=\"Active\"\n value={activeCount}\n icon={<CheckCircle2 className=\"h-5 w-5\" />}\n description=\"Currently enabled\"\n iconBgColor=\"bg-status-success-bg text-status-success-text\"\n />\n <StatCard\n title=\"Updates\"\n value={updatesCount}\n icon={<ArrowUpCircle className=\"h-5 w-5\" />}\n description=\"Ready to update\"\n iconBgColor=\"bg-status-info-bg text-status-info-text\"\n />\n </div>\n\n {/* Category mix ring + applet cards */}\n <div className=\"grid grid-cols-1 gap-6 lg:grid-cols-3\">\n <ChartCard\n title=\"By category\"\n description=\"How your add-ons break down\"\n className=\"lg:col-span-1\"\n >\n <DonutChart\n data={categoryMix}\n centerLabel=\"Installed\"\n centerValue={applets.length}\n height={240}\n ariaLabel=\"Installed applets grouped by category\"\n emptyLabel=\"No applets to summarise yet.\"\n />\n </ChartCard>\n\n <div className=\"lg:col-span-2\">\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2\">\n {applets.map((applet: ConfigurationFieldsFragment) => {\n const val = (applet.value as Record<string, unknown>) ?? {};\n const name =\n (val.name as string) ??\n applet.key.replace(\"applet.installed.\", \"\");\n const category = (val.category as string) ?? \"general\";\n const version = (val.version as string) ?? \"1.0.0\";\n const author = (val.author as string) ?? \"Unknown\";\n const isActive = (val.isActive as boolean) ?? true;\n const hasUpdate = (val.updateAvailable as boolean) ?? false;\n\n return (\n <GlassCard\n key={applet.id}\n treatment=\"glass\"\n glow={isActive}\n className=\"flex flex-col p-5\"\n >\n <div className=\"flex items-start justify-between gap-3\">\n <div className=\"flex min-w-0 items-center gap-3\">\n <div className=\"flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-action-primary-bg/10 text-primary\">\n <Puzzle className=\"h-5 w-5\" />\n </div>\n <div className=\"min-w-0\">\n <div className=\"flex items-center gap-2\">\n <p className=\"truncate text-sm font-semibold text-text-primary\">\n {name}\n </p>\n {hasUpdate && (\n <StatusBadge variant=\"info\" label=\"Update\" />\n )}\n </div>\n <p className=\"mt-0.5 truncate text-xs text-text-secondary\">\n v{version} · by {author}\n </p>\n </div>\n </div>\n <button\n type=\"button\"\n aria-label={`Uninstall ${name}`}\n disabled={uninstallingId === applet.id}\n onClick={() => void handleUninstall(applet.id)}\n className=\"rounded-md p-1.5 text-text-secondary hover:bg-bg-sunken hover:text-status-error-text disabled:opacity-50\"\n >\n <Trash2 className=\"h-4 w-4\" />\n </button>\n </div>\n\n <div className=\"mt-4 flex items-center justify-between border-t border-border-seam pt-3\">\n <StatusBadge\n status={isActive ? \"active\" : \"inactive\"}\n dot={isActive}\n label={isActive ? \"Active\" : \"Disabled\"}\n />\n <span className=\"inline-flex rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium capitalize text-text-secondary\">\n {category}\n </span>\n </div>\n </GlassCard>\n );\n })}\n </div>\n </div>\n </div>\n </div>\n )}\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;AAyBA,SAAgB,IAAuB;CACrC,IAAM,EAAE,SAAM,YAAS,UAAO,eAAY,EAA2B,EACnE,WAAW,EAAE,OAAO,EAAsB,WAAW,EACtD,CAAC,EACI,CAAC,KAAuB,GAAgC,EACxD,CAAC,GAAgB,KAAqB,EAAwB,KAAK,EAEnE,IAAkB,OAAO,MAAe;AAC5C,IAAkB,EAAG;AACrB,MAAI;AAEF,GADA,MAAM,EAAoB,EAAE,WAAW,EAAE,OAAI,EAAE,CAAC,EAChD,MAAM,GAAS;YACP;AACR,KAAkB,KAAK;;IAQrB,KAHJ,GAAM,4BAA4B,EAAE,EAGP,QAAQ,MACrC,EAAE,IAAI,WAAW,oBAAoB,CACtC,EAGK,IAAc,EAAQ,QAAQ,OACrB,EAAO,SAAqC,EAAE,EAC/C,YAAwB,GACpC,CAAC,QACG,IAAe,EAAQ,QAAQ,OACtB,EAAO,SAAqC,EAAE,EAC/C,mBAA+B,GAC3C,CAAC,QACG,IAAiB,EAAQ,QAC5B,GAAK,MAAW;EAEf,IAAM,KADO,EAAO,SAAqC,E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A6CF;QAEd;MACE,CAAA;KACF,CAAA,CACF;MACF;;EAEG,CAAA"}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { useTimeCampus as e } from "../../providers/TimeCampusProvider.js";
|
|
2
|
-
import { LoadingSkeleton as t } from "../../components/LoadingSkeleton.js";
|
|
3
|
-
import { useListConfigurationsQuery as n, useSetConfigurationMutation as r } from "../../../generated/wspace-operations.js";
|
|
4
|
-
import { PageLayout as i } from "../../components/PageLayout.js";
|
|
5
|
-
import { useCallback as a, useEffect as o, useState as s } from "react";
|
|
6
|
-
import { Settings as c } from "lucide-react";
|
|
7
|
-
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
|
-
import { GlassCard as d } from "@burdenoff/fe-libs/ui";
|
|
9
|
-
//#region src/timecampus/pages/application-usage/ApplicationUsageSettingsPage.tsx
|
|
10
|
-
var f = "timecampus.appusage.settings", p = {
|
|
11
|
-
trackActiveApplications: !0,
|
|
12
|
-
trackBrowserTabs: !0,
|
|
13
|
-
distractionAlerts: !1
|
|
14
|
-
};
|
|
15
|
-
function m() {
|
|
16
|
-
let { workspaceId: m = "" } = e(), { data: h, loading: g, error: _ } = n({
|
|
17
|
-
variables: {
|
|
18
|
-
scope: "WORKSPACE",
|
|
19
|
-
limit: 100
|
|
20
|
-
},
|
|
21
|
-
skip: !m
|
|
22
|
-
}), [v, { loading: y }] = r(), [b, x] = s(p);
|
|
23
|
-
o(() => {
|
|
24
|
-
if (h?.configurations) {
|
|
25
|
-
let e = h.configurations.find((e) => e.key === f);
|
|
26
|
-
if (e?.value) {
|
|
27
|
-
let t = e.value;
|
|
28
|
-
x({
|
|
29
|
-
trackActiveApplications: t.trackActiveApplications ?? p.trackActiveApplications,
|
|
30
|
-
trackBrowserTabs: t.trackBrowserTabs ?? p.trackBrowserTabs,
|
|
31
|
-
distractionAlerts: t.distractionAlerts ?? p.distractionAlerts
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}, [h]);
|
|
36
|
-
let S = a(async () => {
|
|
37
|
-
await v({ variables: { input: {
|
|
38
|
-
key: f,
|
|
39
|
-
value: b,
|
|
40
|
-
description: "Application usage tracking settings",
|
|
41
|
-
scope: "WORKSPACE"
|
|
42
|
-
} } });
|
|
43
|
-
}, [v, b]);
|
|
44
|
-
return g ? /* @__PURE__ */ l(i, {
|
|
45
|
-
title: "App Usage Settings",
|
|
46
|
-
description: "Configure application tracking",
|
|
47
|
-
children: /* @__PURE__ */ l(t, { variant: "detail" })
|
|
48
|
-
}) : _ ? /* @__PURE__ */ l(i, {
|
|
49
|
-
title: "App Usage Settings",
|
|
50
|
-
description: "Configure application tracking",
|
|
51
|
-
children: /* @__PURE__ */ l("div", {
|
|
52
|
-
className: "rounded-xl border border-status-error-border/50 bg-status-error-bg/10 p-4 text-sm text-status-error-text",
|
|
53
|
-
children: "Failed to load settings. Please try again later."
|
|
54
|
-
})
|
|
55
|
-
}) : /* @__PURE__ */ l(i, {
|
|
56
|
-
title: "App Usage Settings",
|
|
57
|
-
description: "Configure application tracking",
|
|
58
|
-
purpose: "Decide which apps and browser activity TimeCampus watches and when it warns you about distractions — control the trade-off between richer focus insights and your privacy.",
|
|
59
|
-
children: /* @__PURE__ */ u("div", {
|
|
60
|
-
className: "mx-auto max-w-2xl space-y-6",
|
|
61
|
-
children: [/* @__PURE__ */ u(d, {
|
|
62
|
-
treatment: "glass",
|
|
63
|
-
glow: !0,
|
|
64
|
-
className: "p-6",
|
|
65
|
-
children: [/* @__PURE__ */ u("h3", {
|
|
66
|
-
className: "mb-4 flex items-center gap-2 text-sm font-semibold text-text-primary",
|
|
67
|
-
children: [/* @__PURE__ */ l(c, { className: "h-4 w-4" }), "Tracking Configuration"]
|
|
68
|
-
}), /* @__PURE__ */ u("div", {
|
|
69
|
-
className: "space-y-3",
|
|
70
|
-
children: [
|
|
71
|
-
/* @__PURE__ */ u("label", {
|
|
72
|
-
className: "flex items-center justify-between",
|
|
73
|
-
children: [/* @__PURE__ */ l("span", {
|
|
74
|
-
className: "text-sm text-text-primary",
|
|
75
|
-
children: "Track active applications"
|
|
76
|
-
}), /* @__PURE__ */ l("input", {
|
|
77
|
-
type: "checkbox",
|
|
78
|
-
checked: b.trackActiveApplications,
|
|
79
|
-
onChange: (e) => x((t) => ({
|
|
80
|
-
...t,
|
|
81
|
-
trackActiveApplications: e.target.checked
|
|
82
|
-
})),
|
|
83
|
-
className: "h-4 w-4 rounded border-border-subtle"
|
|
84
|
-
})]
|
|
85
|
-
}),
|
|
86
|
-
/* @__PURE__ */ u("label", {
|
|
87
|
-
className: "flex items-center justify-between",
|
|
88
|
-
children: [/* @__PURE__ */ l("span", {
|
|
89
|
-
className: "text-sm text-text-primary",
|
|
90
|
-
children: "Track browser tabs"
|
|
91
|
-
}), /* @__PURE__ */ l("input", {
|
|
92
|
-
type: "checkbox",
|
|
93
|
-
checked: b.trackBrowserTabs,
|
|
94
|
-
onChange: (e) => x((t) => ({
|
|
95
|
-
...t,
|
|
96
|
-
trackBrowserTabs: e.target.checked
|
|
97
|
-
})),
|
|
98
|
-
className: "h-4 w-4 rounded border-border-subtle"
|
|
99
|
-
})]
|
|
100
|
-
}),
|
|
101
|
-
/* @__PURE__ */ u("label", {
|
|
102
|
-
className: "flex items-center justify-between",
|
|
103
|
-
children: [/* @__PURE__ */ l("span", {
|
|
104
|
-
className: "text-sm text-text-primary",
|
|
105
|
-
children: "Distraction alerts"
|
|
106
|
-
}), /* @__PURE__ */ l("input", {
|
|
107
|
-
type: "checkbox",
|
|
108
|
-
checked: b.distractionAlerts,
|
|
109
|
-
onChange: (e) => x((t) => ({
|
|
110
|
-
...t,
|
|
111
|
-
distractionAlerts: e.target.checked
|
|
112
|
-
})),
|
|
113
|
-
className: "h-4 w-4 rounded border-border-subtle"
|
|
114
|
-
})]
|
|
115
|
-
})
|
|
116
|
-
]
|
|
117
|
-
})]
|
|
118
|
-
}), /* @__PURE__ */ l("div", {
|
|
119
|
-
className: "flex justify-end",
|
|
120
|
-
children: /* @__PURE__ */ l("button", {
|
|
121
|
-
onClick: S,
|
|
122
|
-
disabled: y,
|
|
123
|
-
className: "rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
|
|
124
|
-
children: y ? "Saving..." : "Save Settings"
|
|
125
|
-
})
|
|
126
|
-
})]
|
|
127
|
-
})
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
//#endregion
|
|
131
|
-
export { m as ApplicationUsageSettingsPage };
|
|
132
|
-
|
|
133
|
-
//# sourceMappingURL=ApplicationUsageSettingsPage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationUsageSettingsPage.js","names":[],"sources":["../../../../src/timecampus/pages/application-usage/ApplicationUsageSettingsPage.tsx"],"sourcesContent":["import { useState, useEffect, useCallback } from \"react\";\nimport { Settings } from \"lucide-react\";\nimport { GlassCard } from \"@burdenoff/fe-libs/ui\";\nimport { PageLayout } from \"../../components/PageLayout\";\nimport { LoadingSkeleton } from \"../../components/LoadingSkeleton\";\nimport { useTimeCampus } from \"../../providers/TimeCampusProvider\";\nimport {\n useListConfigurationsQuery,\n useSetConfigurationMutation,\n type ConfigurationFieldsFragment,\n} from \"@/generated/wspace-operations\";\n\nconst APP_USAGE_SETTINGS_KEY = \"timecampus.appusage.settings\";\n\ninterface AppUsageSettings {\n trackActiveApplications: boolean;\n trackBrowserTabs: boolean;\n distractionAlerts: boolean;\n}\n\nconst DEFAULT_SETTINGS: AppUsageSettings = {\n trackActiveApplications: true,\n trackBrowserTabs: true,\n distractionAlerts: false,\n};\n\nexport function ApplicationUsageSettingsPage() {\n const { workspaceId = \"\" } = useTimeCampus();\n const { data, loading, error } = useListConfigurationsQuery({\n variables: { scope: \"WORKSPACE\" as never, limit: 100 },\n skip: !workspaceId,\n });\n\n const [setConfiguration, { loading: saving }] = useSetConfigurationMutation();\n const [settings, setSettings] = useState<AppUsageSettings>(DEFAULT_SETTINGS);\n\n useEffect(() => {\n if (data?.configurations) {\n const config = data.configurations.find(\n (c: ConfigurationFieldsFragment) => c.key === APP_USAGE_SETTINGS_KEY,\n );\n if (config?.value) {\n const val = config.value as Partial<AppUsageSettings>;\n setSettings({\n trackActiveApplications:\n val.trackActiveApplications ??\n DEFAULT_SETTINGS.trackActiveApplications,\n trackBrowserTabs:\n val.trackBrowserTabs ?? DEFAULT_SETTINGS.trackBrowserTabs,\n distractionAlerts:\n val.distractionAlerts ?? DEFAULT_SETTINGS.distractionAlerts,\n });\n }\n }\n }, [data]);\n\n const handleSave = useCallback(async () => {\n await setConfiguration({\n variables: {\n input: {\n key: APP_USAGE_SETTINGS_KEY,\n value: settings as unknown as Record<string, unknown>,\n description: \"Application usage tracking settings\",\n scope: \"WORKSPACE\" as never,\n },\n },\n });\n }, [setConfiguration, settings]);\n\n if (loading) {\n return (\n <PageLayout\n title=\"App Usage Settings\"\n description=\"Configure application tracking\"\n >\n <LoadingSkeleton variant=\"detail\" />\n </PageLayout>\n );\n }\n\n if (error) {\n return (\n <PageLayout\n title=\"App Usage Settings\"\n description=\"Configure application tracking\"\n >\n <div className=\"rounded-xl border border-status-error-border/50 bg-status-error-bg/10 p-4 text-sm text-status-error-text\">\n Failed to load settings. Please try again later.\n </div>\n </PageLayout>\n );\n }\n\n return (\n <PageLayout\n title=\"App Usage Settings\"\n description=\"Configure application tracking\"\n purpose=\"Decide which apps and browser activity TimeCampus watches and when it warns you about distractions — control the trade-off between richer focus insights and your privacy.\"\n >\n <div className=\"mx-auto max-w-2xl space-y-6\">\n <GlassCard treatment=\"glass\" glow className=\"p-6\">\n <h3 className=\"mb-4 flex items-center gap-2 text-sm font-semibold text-text-primary\">\n <Settings className=\"h-4 w-4\" />\n Tracking Configuration\n </h3>\n <div className=\"space-y-3\">\n <label className=\"flex items-center justify-between\">\n <span className=\"text-sm text-text-primary\">\n Track active applications\n </span>\n <input\n type=\"checkbox\"\n checked={settings.trackActiveApplications}\n onChange={(e) =>\n setSettings((s) => ({\n ...s,\n trackActiveApplications: e.target.checked,\n }))\n }\n className=\"h-4 w-4 rounded border-border-subtle\"\n />\n </label>\n <label className=\"flex items-center justify-between\">\n <span className=\"text-sm text-text-primary\">\n Track browser tabs\n </span>\n <input\n type=\"checkbox\"\n checked={settings.trackBrowserTabs}\n onChange={(e) =>\n setSettings((s) => ({\n ...s,\n trackBrowserTabs: e.target.checked,\n }))\n }\n className=\"h-4 w-4 rounded border-border-subtle\"\n />\n </label>\n <label className=\"flex items-center justify-between\">\n <span className=\"text-sm text-text-primary\">\n Distraction alerts\n </span>\n <input\n type=\"checkbox\"\n checked={settings.distractionAlerts}\n onChange={(e) =>\n setSettings((s) => ({\n ...s,\n distractionAlerts: e.target.checked,\n }))\n }\n className=\"h-4 w-4 rounded border-border-subtle\"\n />\n </label>\n </div>\n </GlassCard>\n <div className=\"flex justify-end\">\n <button\n onClick={handleSave}\n disabled={saving}\n className=\"rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50\"\n >\n {saving ? \"Saving...\" : \"Save Settings\"}\n </button>\n </div>\n </div>\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;;AAYA,IAAM,IAAyB,gCAQzB,IAAqC;CACzC,yBAAyB;CACzB,kBAAkB;CAClB,mBAAmB;CACpB;AAED,SAAgB,IAA+B;CAC7C,IAAM,EAAE,iBAAc,OAAO,GAAe,EACtC,EAAE,SAAM,YAAS,aAAU,EAA2B;EAC1D,WAAW;GAAE,OAAO;GAAsB,OAAO;GAAK;EACtD,MAAM,CAAC;EACR,CAAC,EAEI,CAAC,GAAkB,EAAE,SAAS,OAAY,GAA6B,EACvE,CAAC,GAAU,KAAe,EAA2B,EAAiB;AAE5E,SAAgB;AACd,MAAI,GAAM,gBAAgB;GACxB,IAAM,IAAS,EAAK,eAAe,MAChC,MAAmC,EAAE,QAAQ,EAC/C;AACD,OAAI,GAAQ,OAAO;IACjB,IAA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