@arbidocs/blocks 0.5.20 → 0.5.21
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/{ConnectedNativeDocxComparison-KUDFJ3GG.js → ConnectedNativeDocxComparison-4X7H57LE.js} +9 -9
- package/dist/{ConnectedStreamedWordArtifact-JD2XZCYP.js.map → ConnectedNativeDocxComparison-4X7H57LE.js.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-FUNR66KP.cjs → ConnectedNativeDocxComparison-7WTVHEKI.cjs} +10 -10
- package/dist/{ConnectedNativeDocxComparison-FUNR66KP.cjs.map → ConnectedNativeDocxComparison-7WTVHEKI.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-G6R3SFZ3.js → ConnectedNativeDocxEditor-I6RQUSR3.js} +7 -7
- package/dist/{ConnectedNativeDocxEditor-G6R3SFZ3.js.map → ConnectedNativeDocxEditor-I6RQUSR3.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-XVCAXAAU.cjs → ConnectedNativeDocxEditor-PZ2ASQO3.cjs} +9 -9
- package/dist/{ConnectedNativeDocxEditor-XVCAXAAU.cjs.map → ConnectedNativeDocxEditor-PZ2ASQO3.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-JD2XZCYP.js → ConnectedStreamedWordArtifact-KCYSJ3B2.js} +9 -9
- package/dist/{ConnectedNativeDocxComparison-KUDFJ3GG.js.map → ConnectedStreamedWordArtifact-KCYSJ3B2.js.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-P55WP3MC.cjs → ConnectedStreamedWordArtifact-Q5KC4W7O.cjs} +10 -10
- package/dist/ConnectedStreamedWordArtifact-Q5KC4W7O.cjs.map +1 -0
- package/dist/{NativeDocxEditor-6O7UMP7Y.cjs → NativeDocxEditor-JUTTA46L.cjs} +8 -8
- package/dist/{NativeDocxEditor-6O7UMP7Y.cjs.map → NativeDocxEditor-JUTTA46L.cjs.map} +1 -1
- package/dist/{NativeDocxEditor-MHO7LF4E.js → NativeDocxEditor-PSC3JWWA.js} +4 -4
- package/dist/{NativeDocxEditor-MHO7LF4E.js.map → NativeDocxEditor-PSC3JWWA.js.map} +1 -1
- package/dist/{WorkspaceTableView-UR3WLSJG.cjs → WorkspaceTableView-6JVHGDUB.cjs} +8 -8
- package/dist/{WorkspaceTableView-UR3WLSJG.cjs.map → WorkspaceTableView-6JVHGDUB.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-TNUEU6OO.js → WorkspaceTableView-ECPHGWHF.js} +6 -6
- package/dist/{WorkspaceTableView-TNUEU6OO.js.map → WorkspaceTableView-ECPHGWHF.js.map} +1 -1
- package/dist/agents/index.cjs +326 -326
- package/dist/agents/index.js +4 -4
- package/dist/auth/index.cjs +44 -44
- package/dist/auth/index.js +2 -2
- package/dist/auth0/index.cjs +4 -3
- package/dist/auth0/index.cjs.map +1 -1
- package/dist/auth0/index.js +4 -3
- package/dist/auth0/index.js.map +1 -1
- package/dist/{chunk-BQNDBWLB.js → chunk-4ML5AMMO.js} +3 -3
- package/dist/{chunk-BQNDBWLB.js.map → chunk-4ML5AMMO.js.map} +1 -1
- package/dist/{chunk-ODFDMORE.cjs → chunk-4S34OHJX.cjs} +4 -4
- package/dist/{chunk-ODFDMORE.cjs.map → chunk-4S34OHJX.cjs.map} +1 -1
- package/dist/{chunk-QS3AJ3FT.cjs → chunk-5H37UWWS.cjs} +5 -5
- package/dist/{chunk-QS3AJ3FT.cjs.map → chunk-5H37UWWS.cjs.map} +1 -1
- package/dist/{chunk-2FQ4CMRY.cjs → chunk-5ZU2XYXO.cjs} +278 -4
- package/dist/chunk-5ZU2XYXO.cjs.map +1 -0
- package/dist/{chunk-JS7KJRKG.js → chunk-75Z5AUMM.js} +3 -3
- package/dist/{chunk-JS7KJRKG.js.map → chunk-75Z5AUMM.js.map} +1 -1
- package/dist/chunk-BITGO5LI.cjs +18 -0
- package/dist/{chunk-WDCD3OZH.cjs.map → chunk-BITGO5LI.cjs.map} +1 -1
- package/dist/{chunk-E2SKI6VO.js → chunk-D3BHUDOU.js} +3 -3
- package/dist/{chunk-E2SKI6VO.js.map → chunk-D3BHUDOU.js.map} +1 -1
- package/dist/{chunk-WJZK5GAV.js → chunk-DTENNALR.js} +3 -3
- package/dist/{chunk-WJZK5GAV.js.map → chunk-DTENNALR.js.map} +1 -1
- package/dist/{chunk-P5RZPEHW.cjs → chunk-F2BYURQZ.cjs} +5 -5
- package/dist/{chunk-P5RZPEHW.cjs.map → chunk-F2BYURQZ.cjs.map} +1 -1
- package/dist/{chunk-HNGGKANF.js → chunk-F6LC2CRB.js} +5 -5
- package/dist/{chunk-HNGGKANF.js.map → chunk-F6LC2CRB.js.map} +1 -1
- package/dist/{chunk-MBRUUST5.js → chunk-F7IQGPZH.js} +4 -4
- package/dist/{chunk-MBRUUST5.js.map → chunk-F7IQGPZH.js.map} +1 -1
- package/dist/{chunk-X2SQZY7U.js → chunk-FERNQVSH.js} +274 -8
- package/dist/chunk-FERNQVSH.js.map +1 -0
- package/dist/{chunk-KBSKN3NF.cjs → chunk-FQIJICZE.cjs} +9 -9
- package/dist/{chunk-KBSKN3NF.cjs.map → chunk-FQIJICZE.cjs.map} +1 -1
- package/dist/{chunk-SSJLYCX7.cjs → chunk-FV32BTXV.cjs} +84 -56
- package/dist/chunk-FV32BTXV.cjs.map +1 -0
- package/dist/{chunk-2YZ35KKK.cjs → chunk-FZVAJFRH.cjs} +80 -84
- package/dist/chunk-FZVAJFRH.cjs.map +1 -0
- package/dist/{chunk-HHJALHRS.js → chunk-H5XHCIWY.js} +83 -55
- package/dist/chunk-H5XHCIWY.js.map +1 -0
- package/dist/{chunk-TBNXJHTP.js → chunk-IA5BYEO7.js} +7 -5
- package/dist/chunk-IA5BYEO7.js.map +1 -0
- package/dist/{chunk-NFTANEP6.cjs → chunk-IJQ5DIZT.cjs} +5 -5
- package/dist/{chunk-NFTANEP6.cjs.map → chunk-IJQ5DIZT.cjs.map} +1 -1
- package/dist/{chunk-NMZI3K6R.cjs → chunk-IRY63R4L.cjs} +16 -2
- package/dist/chunk-IRY63R4L.cjs.map +1 -0
- package/dist/{chunk-MVP7METT.js → chunk-IXBJEQH5.js} +4 -80
- package/dist/chunk-IXBJEQH5.js.map +1 -0
- package/dist/{chunk-PAKPD3LB.js → chunk-JKJI5SRF.js} +3 -3
- package/dist/{chunk-PAKPD3LB.js.map → chunk-JKJI5SRF.js.map} +1 -1
- package/dist/{chunk-EWRRV37Z.cjs → chunk-K237IYOD.cjs} +2 -80
- package/dist/chunk-K237IYOD.cjs.map +1 -0
- package/dist/chunk-KL6XOSEN.js +156 -0
- package/dist/chunk-KL6XOSEN.js.map +1 -0
- package/dist/{chunk-TRDY3ZT7.js → chunk-LU23I2HS.js} +3 -3
- package/dist/{chunk-TRDY3ZT7.js.map → chunk-LU23I2HS.js.map} +1 -1
- package/dist/{chunk-SAYEQE5R.cjs → chunk-MJT7KHHT.cjs} +48 -48
- package/dist/{chunk-SAYEQE5R.cjs.map → chunk-MJT7KHHT.cjs.map} +1 -1
- package/dist/chunk-MSCDYRSA.cjs +18 -0
- package/dist/{chunk-JPNFVDH4.cjs.map → chunk-MSCDYRSA.cjs.map} +1 -1
- package/dist/chunk-MSPNYW6Z.cjs +165 -0
- package/dist/chunk-MSPNYW6Z.cjs.map +1 -0
- package/dist/{chunk-2R3GGNPA.js → chunk-MZA7GMOH.js} +16 -3
- package/dist/chunk-MZA7GMOH.js.map +1 -0
- package/dist/{chunk-4UGVMOTK.cjs → chunk-NML42O7Q.cjs} +4 -4
- package/dist/{chunk-4UGVMOTK.cjs.map → chunk-NML42O7Q.cjs.map} +1 -1
- package/dist/{chunk-YKGZG353.js → chunk-NVRJ6WTR.js} +3 -3
- package/dist/{chunk-YKGZG353.js.map → chunk-NVRJ6WTR.js.map} +1 -1
- package/dist/{chunk-ZW4QFL3Y.cjs → chunk-PFVCOUU6.cjs} +13 -13
- package/dist/{chunk-ZW4QFL3Y.cjs.map → chunk-PFVCOUU6.cjs.map} +1 -1
- package/dist/{chunk-QLLV5UUI.cjs → chunk-PSIKUQYM.cjs} +5 -5
- package/dist/{chunk-QLLV5UUI.cjs.map → chunk-PSIKUQYM.cjs.map} +1 -1
- package/dist/{chunk-R53JJZNW.js → chunk-RVKVGS72.js} +76 -79
- package/dist/chunk-RVKVGS72.js.map +1 -0
- package/dist/{chunk-H32DV7XS.cjs → chunk-UAEYU2NN.cjs} +136 -2
- package/dist/chunk-UAEYU2NN.cjs.map +1 -0
- package/dist/{chunk-USZ32EKR.js → chunk-VFZLZSJ3.js} +4 -4
- package/dist/{chunk-USZ32EKR.js.map → chunk-VFZLZSJ3.js.map} +1 -1
- package/dist/{chunk-XRL4R2TT.js → chunk-WZ63HE2C.js} +136 -4
- package/dist/chunk-WZ63HE2C.js.map +1 -0
- package/dist/{chunk-F72ZD5Q2.cjs → chunk-YD3RN2FY.cjs} +3 -3
- package/dist/{chunk-F72ZD5Q2.cjs.map → chunk-YD3RN2FY.cjs.map} +1 -1
- package/dist/{chunk-VYFRW6NN.cjs → chunk-YRHQ7OLG.cjs} +3 -3
- package/dist/{chunk-VYFRW6NN.cjs.map → chunk-YRHQ7OLG.cjs.map} +1 -1
- package/dist/{chunk-PYJUIEYV.js → chunk-YT5OOFK3.js} +3 -3
- package/dist/{chunk-PYJUIEYV.js.map → chunk-YT5OOFK3.js.map} +1 -1
- package/dist/{chunk-XCL6ZCI5.js → chunk-Z6CAKLA5.js} +3 -3
- package/dist/{chunk-XCL6ZCI5.js.map → chunk-Z6CAKLA5.js.map} +1 -1
- package/dist/{chunk-RAYCOBF7.cjs → chunk-ZESMRGDV.cjs} +7 -5
- package/dist/chunk-ZESMRGDV.cjs.map +1 -0
- package/dist/{chunk-6FWUZGPF.js → chunk-ZMYK7XTS.js} +4 -4
- package/dist/{chunk-6FWUZGPF.js.map → chunk-ZMYK7XTS.js.map} +1 -1
- package/dist/connect/docx.cjs +13 -13
- package/dist/connect/docx.js +9 -9
- package/dist/connect/index.cjs +1138 -906
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +1 -0
- package/dist/connect/index.js +480 -249
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +17 -17
- package/dist/connect/viewer.js +6 -6
- package/dist/connection/ConnectedAccountAccessBadge.d.ts +1 -0
- package/dist/connection/ConnectedSettings.d.ts +6 -2
- package/dist/connection/ConnectedSsoDisconnect.d.ts +2 -0
- package/dist/connection/auth/support.d.ts +1 -0
- package/dist/connection/auth/useLoginActions.d.ts +1 -1
- package/dist/connection/settings-page/ConnectedAccountSettings.d.ts +5 -1
- package/dist/document-tools/AdoptSignatureDialog.d.ts +3 -1
- package/dist/document-tools/index.cjs +20 -20
- package/dist/document-tools/index.js +3 -3
- package/dist/document-tools/viewer/index.cjs +10 -10
- package/dist/document-tools/viewer/index.js +3 -3
- package/dist/docx/index.cjs +51 -51
- package/dist/docx/index.js +4 -4
- package/dist/facts/index.cjs +55 -55
- package/dist/facts/index.js +3 -3
- package/dist/home/index.cjs +15 -16
- package/dist/home/index.cjs.map +1 -1
- package/dist/home/index.js +1 -2
- package/dist/home/index.js.map +1 -1
- package/dist/index.cjs +425 -425
- package/dist/index.js +7 -7
- package/dist/settings/IdentityVerification.d.ts +3 -1
- package/dist/settings/ProfileCard.d.ts +3 -1
- package/dist/settings/SettingsPanel.d.ts +6 -0
- package/dist/settings/SubscriptionParts.d.ts +0 -11
- package/dist/settings/index.cjs +162 -166
- package/dist/settings/index.d.ts +1 -1
- package/dist/settings/index.js +3 -3
- package/dist/workflow-canvas/index.cjs +17 -17
- package/dist/workflow-canvas/index.js +4 -4
- package/dist/workspaces/WorkspaceFormParts.d.ts +10 -2
- package/dist/workspaces/index.cjs +52 -287
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +9 -268
- package/dist/workspaces/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-P55WP3MC.cjs.map +0 -1
- package/dist/chunk-2FQ4CMRY.cjs.map +0 -1
- package/dist/chunk-2R3GGNPA.js.map +0 -1
- package/dist/chunk-2YZ35KKK.cjs.map +0 -1
- package/dist/chunk-5TDGVOR5.js +0 -142
- package/dist/chunk-5TDGVOR5.js.map +0 -1
- package/dist/chunk-6AXJBTHM.js +0 -77
- package/dist/chunk-6AXJBTHM.js.map +0 -1
- package/dist/chunk-EWRRV37Z.cjs.map +0 -1
- package/dist/chunk-H32DV7XS.cjs.map +0 -1
- package/dist/chunk-HHJALHRS.js.map +0 -1
- package/dist/chunk-JPNFVDH4.cjs +0 -18
- package/dist/chunk-MKNSIZWR.cjs +0 -84
- package/dist/chunk-MKNSIZWR.cjs.map +0 -1
- package/dist/chunk-MVP7METT.js.map +0 -1
- package/dist/chunk-NMZI3K6R.cjs.map +0 -1
- package/dist/chunk-R53JJZNW.js.map +0 -1
- package/dist/chunk-RAYCOBF7.cjs.map +0 -1
- package/dist/chunk-REH7PX3N.cjs +0 -145
- package/dist/chunk-REH7PX3N.cjs.map +0 -1
- package/dist/chunk-SSJLYCX7.cjs.map +0 -1
- package/dist/chunk-TBNXJHTP.js.map +0 -1
- package/dist/chunk-WDCD3OZH.cjs +0 -18
- package/dist/chunk-X2SQZY7U.js.map +0 -1
- package/dist/chunk-XRL4R2TT.js.map +0 -1
package/dist/settings/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export { UsagePanel, UsageLineChart, UsageLegend, UsageProportionBar, UsageSumma
|
|
|
39
39
|
export { InvoicesDialog, DailyCapField, type InvoiceRowView, type InvoicesDialogProps, type DailyCapFieldProps, DEFAULT_INVOICES_DIALOG_LABELS, DEFAULT_DAILY_CAP_FIELD_LABELS, type InvoicesDialogLabels, type DailyCapFieldLabels, } from './Billing';
|
|
40
40
|
export { ProfileCard, type ProfileCardProps, type ProfileNameView, type ProfileEmailChangeView, DEFAULT_PROFILE_CARD_LABELS, type ProfileCardLabels, } from './ProfileCard';
|
|
41
41
|
export { EmailWorkspaceDialogView, DEFAULT_EMAIL_WORKSPACE_DIALOG_LABELS, type EmailWorkspaceDialogViewProps, type EmailWorkspaceDialogLabels, type EmailAssistantAccess, } from './EmailWorkspaceDialogView';
|
|
42
|
-
export { PlanNotice, PlanStack, PlanPickerHeader, PlanPickerCard, PlanActionRow, PlanActionButton, SubscriptionStatusView, PlanDialogFrame, CheckoutDialogFrame, QuotaExceededDialogView,
|
|
42
|
+
export { PlanNotice, PlanStack, PlanPickerHeader, PlanPickerCard, PlanActionRow, PlanActionButton, SubscriptionStatusView, PlanDialogFrame, CheckoutDialogFrame, QuotaExceededDialogView, ProjectGroup, UsageActionButton, UsageQuotaHint, UsageSection, DEFAULT_SUBSCRIPTION_STATUS_LABELS, DEFAULT_CHECKOUT_DIALOG_LABELS, DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS, type SubscriptionMeterView, type SubscriptionStatusViewProps, type SubscriptionStatusLabels, type PlanDialogFrameProps, type CheckoutDialogFrameProps, type CheckoutDialogLabels, type QuotaExceededDialogViewProps, type QuotaExceededDialogLabels, } from './SubscriptionParts';
|
|
43
43
|
export { ErrorDialogView, DEFAULT_ERROR_DIALOG_LABELS, type ErrorDialogViewProps, type ErrorDialogDetails, type ErrorDialogLabels, } from './ErrorDialog';
|
|
44
44
|
export { formatSessionTtl, toActiveSessionViews, toLogoutSessionViews, toDeleteBlockerViews, toNotificationCategories, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, type SessionLike, type ToActiveSessionViewsOptions, type DeleteBlockerLike, type EmailNotificationCategoryDef, } from './account-views';
|
|
45
45
|
export { IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, DEFAULT_IDENTITY_VERIFICATION_LABELS, type IdentityVerificationCardProps, type IdentityVerificationDialogProps, type RequireVerifiedProps, type IdentityVerificationLabels, } from './IdentityVerification';
|
package/dist/settings/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ActiveSessionsDialog, AppearanceSettings, AvatarPicker, CONVERSATION_TITLE_MAX, CheckoutDialogFrame, ConfigSwitcherBar, ConnectionCard, ConnectionsEmpty, ConnectionsError, ConnectionsLoading, ConversationTitleSection, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_APPEARANCE_PAIRING_IDS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_CHECKOUT_DIALOG_LABELS, DEFAULT_CONFIG_SWITCHER_BAR_LABELS, DEFAULT_CONNECTION_CARD_LABELS, DEFAULT_CONVERSATION_TITLE_SECTION_LABELS, DEFAULT_DAILY_CAP_FIELD_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_EMAIL_WORKSPACE_DIALOG_LABELS, DEFAULT_ERROR_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_INVITE_CONTACTS_DIALOG_LABELS, DEFAULT_INVOICES_DIALOG_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_MODEL_SELECTION_SECTION_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PLAN_CARD_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_PROJECT_DETAIL_HEADER_LABELS, DEFAULT_PROJECT_LIST_LABELS, DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS, DEFAULT_REFERRAL_REWARD_LABELS, DEFAULT_RENAME_DIALOG_LABELS, DEFAULT_SHARED_PROJECTS_SECTION_LABELS, DEFAULT_SUBSCRIPTION_STATUS_LABELS, DEFAULT_SUPPORT_PANEL_LABELS, DEFAULT_SYNC_DIALOG_FOOTER_LABELS, DEFAULT_SYNC_FOLDER_ROW_LABELS, DEFAULT_TIPS_EDITOR_LABELS, DEFAULT_USAGE_LINE_CHART_LABELS, DEFAULT_USAGE_PANEL_LABELS, DEFAULT_USAGE_PROPORTION_BAR_LABELS, DEFAULT_WELCOME_DIALOG_LABELS, DEFAULT_WORK_OFFLINE_LABELS, DailyCapField, DeleteAccountDialog, DraggableHeader, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, EmailWorkspaceDialogView, ErrorDialogView, FilterChip, FloatingPanel, IdentityVerificationCard, IdentityVerificationDialog, InviteContactsDialog, InvoicesDialog, JsonTree, LogoutDialog, MessageJsonTree, ModelProviderLabel, ModelSelectionSection, MoreInfo, MoreInfoList, NotificationCategoryList, PanelActionsRow, PanelAddButton, PanelFrame, PanelFrameBody, PanelNote, PanelScroll, PanelTitleBar, PasswordChangeDialog, PlanActionButton, PlanActionRow, PlanBadge, PlanCard, PlanCardGrid, PlanDialogFrame, PlanInfoPopover, PlanNotice, PlanPickerCard, PlanPickerHeader, PlanStack, PlanTierOption, PremiumModelsFrame, PricingToggle, ProfileCard, ProjectDetailHeader, ProjectDetailSection, ProjectGroup, ProjectList, ProjectRow, PromoCodeInput, QuotaExceededDialogView, QuotaMeter, ReferralRewardBadge, ReferralRewardNote, ReferralRewardSummary, RenameDialog, RequireVerified, SegmentedControl, ServerConnectionButton, SettingsPage, SettingsSwitchGroup, SettingsSwitchRow, SharedProjectRow, SharedProjectsSection, SubscriptionStatusView, SupportPanel, SupportUnavailable, SyncCheckList, SyncDialogBody, SyncDialogFooter, SyncField, SyncFolderRow, SyncFolderStatus, SyncLinkButton, SyncLinkRow, SyncLoading, SyncNote, SyncOptionToggle, SyncOptions, SyncReconnectNotice, SyncSelect, SyncSmallNote, SyncTreeFrame, ThreadPreviewDialog, TipsEditorDialog, UsageActionButton, UsageLegend, UsageLineChart, UsagePanel, UsageProportionBar, UsageQuotaHint, UsageSection, UsageSummary, UsageToggle, WelcomeDialog,
|
|
2
|
+
export { ActiveSessionsDialog, AppearanceSettings, AvatarPicker, CONVERSATION_TITLE_MAX, CheckoutDialogFrame, ConfigSwitcherBar, ConnectionCard, ConnectionsEmpty, ConnectionsError, ConnectionsLoading, ConversationTitleSection, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_APPEARANCE_PAIRING_IDS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_CHECKOUT_DIALOG_LABELS, DEFAULT_CONFIG_SWITCHER_BAR_LABELS, DEFAULT_CONNECTION_CARD_LABELS, DEFAULT_CONVERSATION_TITLE_SECTION_LABELS, DEFAULT_DAILY_CAP_FIELD_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_EMAIL_WORKSPACE_DIALOG_LABELS, DEFAULT_ERROR_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_INVITE_CONTACTS_DIALOG_LABELS, DEFAULT_INVOICES_DIALOG_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_MODEL_SELECTION_SECTION_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PLAN_CARD_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_PROJECT_DETAIL_HEADER_LABELS, DEFAULT_PROJECT_LIST_LABELS, DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS, DEFAULT_REFERRAL_REWARD_LABELS, DEFAULT_RENAME_DIALOG_LABELS, DEFAULT_SHARED_PROJECTS_SECTION_LABELS, DEFAULT_SUBSCRIPTION_STATUS_LABELS, DEFAULT_SUPPORT_PANEL_LABELS, DEFAULT_SYNC_DIALOG_FOOTER_LABELS, DEFAULT_SYNC_FOLDER_ROW_LABELS, DEFAULT_TIPS_EDITOR_LABELS, DEFAULT_USAGE_LINE_CHART_LABELS, DEFAULT_USAGE_PANEL_LABELS, DEFAULT_USAGE_PROPORTION_BAR_LABELS, DEFAULT_WELCOME_DIALOG_LABELS, DEFAULT_WORK_OFFLINE_LABELS, DailyCapField, DeleteAccountDialog, DraggableHeader, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, EmailWorkspaceDialogView, ErrorDialogView, FilterChip, FloatingPanel, IdentityVerificationCard, IdentityVerificationDialog, InviteContactsDialog, InvoicesDialog, JsonTree, LogoutDialog, MessageJsonTree, ModelProviderLabel, ModelSelectionSection, MoreInfo, MoreInfoList, NotificationCategoryList, PanelActionsRow, PanelAddButton, PanelFrame, PanelFrameBody, PanelNote, PanelScroll, PanelTitleBar, PasswordChangeDialog, PlanActionButton, PlanActionRow, PlanBadge, PlanCard, PlanCardGrid, PlanDialogFrame, PlanInfoPopover, PlanNotice, PlanPickerCard, PlanPickerHeader, PlanStack, PlanTierOption, PremiumModelsFrame, PricingToggle, ProfileCard, ProjectDetailHeader, ProjectDetailSection, ProjectGroup, ProjectList, ProjectRow, PromoCodeInput, QuotaExceededDialogView, QuotaMeter, ReferralRewardBadge, ReferralRewardNote, ReferralRewardSummary, RenameDialog, RequireVerified, SegmentedControl, ServerConnectionButton, SettingsPage, SettingsSwitchGroup, SettingsSwitchRow, SharedProjectRow, SharedProjectsSection, SubscriptionStatusView, SupportPanel, SupportUnavailable, SyncCheckList, SyncDialogBody, SyncDialogFooter, SyncField, SyncFolderRow, SyncFolderStatus, SyncLinkButton, SyncLinkRow, SyncLoading, SyncNote, SyncOptionToggle, SyncOptions, SyncReconnectNotice, SyncSelect, SyncSmallNote, SyncTreeFrame, ThreadPreviewDialog, TipsEditorDialog, UsageActionButton, UsageLegend, UsageLineChart, UsagePanel, UsageProportionBar, UsageQuotaHint, UsageSection, UsageSummary, UsageToggle, WelcomeDialog, WorkOfflineToggle, applyInvertedIndexFilter, applyTriStateFilters, buildInvertedIndex, formatSessionTtl, resolveSettingsSection, serverConnectionView, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-RVKVGS72.js';
|
|
3
3
|
export { ModalBreadcrumbHeader, ModalCrumbs } from '../chunk-RC6VTY2H.js';
|
|
4
|
-
export { DEFAULT_SETTINGS_DANGER_ZONE_LABELS, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection } from '../chunk-
|
|
4
|
+
export { DEFAULT_SETTINGS_DANGER_ZONE_LABELS, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection } from '../chunk-MZA7GMOH.js';
|
|
5
5
|
import '../chunk-66TA5IBN.js';
|
|
6
6
|
import '../chunk-NHZK64TQ.js';
|
|
7
7
|
export { MultiSelect } from '../chunk-CQCC7LE7.js';
|
|
8
8
|
export { DEFAULT_TRI_STATE_FILTER_MENU_LABELS, TriStateFilterMenu } from '../chunk-G4GLDQLY.js';
|
|
9
9
|
import '../chunk-5LXQPP2K.js';
|
|
10
10
|
import '../chunk-P6OLZGQA.js';
|
|
11
|
-
import '../chunk-ABEKUV6L.js';
|
|
12
11
|
export { DEFAULT_DOCUMENT_PICKER_LABELS, DocumentPicker } from '../chunk-WNDIVNPT.js';
|
|
12
|
+
import '../chunk-ABEKUV6L.js';
|
|
13
13
|
import '../chunk-AUS3KBHJ.js';
|
|
14
14
|
import '../chunk-5VYJP6XD.js';
|
|
15
15
|
import '../chunk-NPLYHR2E.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkMJT7KHHT_cjs = require('../chunk-MJT7KHHT.cjs');
|
|
5
|
+
var chunkFQIJICZE_cjs = require('../chunk-FQIJICZE.cjs');
|
|
6
6
|
require('../chunk-RFIBUWLF.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkYRHQ7OLG_cjs = require('../chunk-YRHQ7OLG.cjs');
|
|
8
8
|
require('../chunk-CQU37FNV.cjs');
|
|
9
9
|
require('../chunk-AQPZ4QMV.cjs');
|
|
10
10
|
require('../chunk-SIB6C7P7.cjs');
|
|
@@ -14,12 +14,12 @@ require('../chunk-AHDJXIUB.cjs');
|
|
|
14
14
|
require('../chunk-2EI7NCUA.cjs');
|
|
15
15
|
require('../chunk-4C2S3Z3I.cjs');
|
|
16
16
|
require('../chunk-LKK52DEY.cjs');
|
|
17
|
+
require('../chunk-VZOOGA47.cjs');
|
|
17
18
|
var chunkYVEMNMIA_cjs = require('../chunk-YVEMNMIA.cjs');
|
|
18
19
|
var chunkYQJOWQDJ_cjs = require('../chunk-YQJOWQDJ.cjs');
|
|
19
20
|
require('../chunk-MB3S2ETI.cjs');
|
|
20
21
|
require('../chunk-MEMWZ72Y.cjs');
|
|
21
22
|
require('../chunk-ZW6FPIFC.cjs');
|
|
22
|
-
require('../chunk-VZOOGA47.cjs');
|
|
23
23
|
var chunkEZLZ3MDU_cjs = require('../chunk-EZLZ3MDU.cjs');
|
|
24
24
|
var chunk76L6LOP3_cjs = require('../chunk-76L6LOP3.cjs');
|
|
25
25
|
var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
|
|
@@ -322,9 +322,9 @@ function SignalsEditor({
|
|
|
322
322
|
{
|
|
323
323
|
className: ui.cn(
|
|
324
324
|
"space-y-1.5 rounded-md border p-2",
|
|
325
|
-
|
|
325
|
+
chunkFQIJICZE_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
|
|
326
326
|
),
|
|
327
|
-
"data-incomplete":
|
|
327
|
+
"data-incomplete": chunkFQIJICZE_cjs.isIncompleteSignal(signal) || void 0,
|
|
328
328
|
"data-testid": `${testId}-${i}`,
|
|
329
329
|
children: [
|
|
330
330
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -1610,7 +1610,7 @@ function triggerFields(trigger, clearOthers) {
|
|
|
1610
1610
|
return {
|
|
1611
1611
|
timezone: trigger.timezone,
|
|
1612
1612
|
rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
|
|
1613
|
-
run_at: trigger.start === "once" ?
|
|
1613
|
+
run_at: trigger.start === "once" ? chunkFQIJICZE_cjs.localInputToIso(trigger.runAt) : none,
|
|
1614
1614
|
event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
|
|
1615
1615
|
// A step signal is `workflow_signal` narrowed to one signal name.
|
|
1616
1616
|
event_filter: filter ?? none,
|
|
@@ -1626,7 +1626,7 @@ function plan(value, options) {
|
|
|
1626
1626
|
criteria: [],
|
|
1627
1627
|
max_passes: 3,
|
|
1628
1628
|
documents: [],
|
|
1629
|
-
steps:
|
|
1629
|
+
steps: chunkFQIJICZE_cjs.toPlanSteps(value.workflow, options)
|
|
1630
1630
|
};
|
|
1631
1631
|
}
|
|
1632
1632
|
function builderToWorkflowRequest(value, workspaceId, options = {}) {
|
|
@@ -1661,7 +1661,7 @@ function builderToWorkflowUpdate(value, options = {}) {
|
|
|
1661
1661
|
}
|
|
1662
1662
|
function workflowRecordToBuilder(record) {
|
|
1663
1663
|
const planned = record.plan?.steps ?? [];
|
|
1664
|
-
const steps = planned.length ?
|
|
1664
|
+
const steps = planned.length ? chunkFQIJICZE_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
|
|
1665
1665
|
{
|
|
1666
1666
|
id: "work",
|
|
1667
1667
|
kind: "agent",
|
|
@@ -1669,7 +1669,7 @@ function workflowRecordToBuilder(record) {
|
|
|
1669
1669
|
...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
|
|
1670
1670
|
}
|
|
1671
1671
|
] : [];
|
|
1672
|
-
const when =
|
|
1672
|
+
const when = chunkFQIJICZE_cjs.workflowWhen(record);
|
|
1673
1673
|
return {
|
|
1674
1674
|
workflow: {
|
|
1675
1675
|
id: record.external_id,
|
|
@@ -1678,12 +1678,12 @@ function workflowRecordToBuilder(record) {
|
|
|
1678
1678
|
inputs: [],
|
|
1679
1679
|
landing: "chat",
|
|
1680
1680
|
schedulable: false,
|
|
1681
|
-
run: { kind: "steps", steps, layout:
|
|
1681
|
+
run: { kind: "steps", steps, layout: chunkFQIJICZE_cjs.layoutFromPlanSteps(planned ?? []) }
|
|
1682
1682
|
},
|
|
1683
1683
|
trigger: {
|
|
1684
1684
|
...DEFAULT_WORKFLOW_TRIGGER,
|
|
1685
1685
|
start: when === "now" ? "manual" : when,
|
|
1686
|
-
runAt:
|
|
1686
|
+
runAt: chunkFQIJICZE_cjs.isoToLocalInput(record.run_at),
|
|
1687
1687
|
rrule: record.rrule ?? "",
|
|
1688
1688
|
timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
|
|
1689
1689
|
eventKind: record.event_kind ?? "",
|
|
@@ -1739,7 +1739,7 @@ function triggerSummary(trigger, options = {}) {
|
|
|
1739
1739
|
case "once":
|
|
1740
1740
|
return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
|
|
1741
1741
|
case "repeat":
|
|
1742
|
-
return trigger.rrule ?
|
|
1742
|
+
return trigger.rrule ? chunkFQIJICZE_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
|
|
1743
1743
|
case "event":
|
|
1744
1744
|
if (isSignalTrigger(trigger))
|
|
1745
1745
|
return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
|
|
@@ -1798,7 +1798,7 @@ function TriggerInspector({
|
|
|
1798
1798
|
}
|
|
1799
1799
|
)
|
|
1800
1800
|
] }),
|
|
1801
|
-
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1801
|
+
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkFQIJICZE_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
|
|
1802
1802
|
trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1803
1803
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
|
|
1804
1804
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1850,7 +1850,7 @@ function TriggerInspector({
|
|
|
1850
1850
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1851
1851
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
|
|
1852
1852
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1853
|
-
|
|
1853
|
+
chunkYRHQ7OLG_cjs.AgentSelect,
|
|
1854
1854
|
{
|
|
1855
1855
|
agents,
|
|
1856
1856
|
value: trigger.agentId,
|
|
@@ -2687,13 +2687,13 @@ function WorkflowPreview({
|
|
|
2687
2687
|
renderIcon,
|
|
2688
2688
|
testId
|
|
2689
2689
|
}) {
|
|
2690
|
-
const run =
|
|
2690
|
+
const run = chunkMJT7KHHT_cjs.useWorkflowPreview(workflow, {
|
|
2691
2691
|
resolveWorkflow: (id) => workflows.find((w) => w.id === id),
|
|
2692
2692
|
compose,
|
|
2693
2693
|
answer
|
|
2694
2694
|
});
|
|
2695
2695
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2696
|
-
|
|
2696
|
+
chunkFQIJICZE_cjs.WorkflowRunner,
|
|
2697
2697
|
{
|
|
2698
2698
|
workflow,
|
|
2699
2699
|
run,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useWorkflowPreview } from '../chunk-
|
|
3
|
-
import { isIncompleteSignal, fromPlanSteps, workflowWhen, isoToLocalInput, layoutFromPlanSteps, describeRRule, RecurrenceBuilder, WorkflowRunner, toPlanSteps, localInputToIso } from '../chunk-
|
|
2
|
+
import { useWorkflowPreview } from '../chunk-F7IQGPZH.js';
|
|
3
|
+
import { isIncompleteSignal, fromPlanSteps, workflowWhen, isoToLocalInput, layoutFromPlanSteps, describeRRule, RecurrenceBuilder, WorkflowRunner, toPlanSteps, localInputToIso } from '../chunk-DTENNALR.js';
|
|
4
4
|
import '../chunk-CQCC7LE7.js';
|
|
5
|
-
import { AgentSelect } from '../chunk-
|
|
5
|
+
import { AgentSelect } from '../chunk-YT5OOFK3.js';
|
|
6
6
|
import '../chunk-KMF3ORIV.js';
|
|
7
7
|
import '../chunk-G4GLDQLY.js';
|
|
8
8
|
import '../chunk-M4S75AEJ.js';
|
|
@@ -12,12 +12,12 @@ import '../chunk-RLWIUUQ5.js';
|
|
|
12
12
|
import '../chunk-YU2KUMGE.js';
|
|
13
13
|
import '../chunk-ML62FUHZ.js';
|
|
14
14
|
import '../chunk-7F5Z4K5W.js';
|
|
15
|
+
import '../chunk-WNDIVNPT.js';
|
|
15
16
|
import { useConnectedTags, useListedDocuments, useConnectedConversations } from '../chunk-KILCORJ7.js';
|
|
16
17
|
import { useConnectedWorkspace } from '../chunk-UNZUM76L.js';
|
|
17
18
|
import '../chunk-T4P237N6.js';
|
|
18
19
|
import '../chunk-ABEKUV6L.js';
|
|
19
20
|
import '../chunk-P6GHJSLR.js';
|
|
20
|
-
import '../chunk-WNDIVNPT.js';
|
|
21
21
|
import { DEFAULT_STEP_KIND_LABELS, workflowSteps, dependsOn, stepLevels, runFields, upstreamSteps, stepDependencies, canAssign, WORKFLOW_STEP_KINDS, STEP_KIND_ICONS, validateWorkflowGraph, stepConfigProblems, assigneeName, orderSteps, stepKindOf } from '../chunk-THNTNAYI.js';
|
|
22
22
|
import { mergeSkillWorkflows } from '../chunk-TZGBRLPK.js';
|
|
23
23
|
import { TONE_DOT, TONES, isTone } from '../chunk-AUS3KBHJ.js';
|
|
@@ -44,6 +44,11 @@ export interface ProjectPickerProps {
|
|
|
44
44
|
value?: string;
|
|
45
45
|
options: ProjectPickerOption[];
|
|
46
46
|
onChange: (id: string) => void;
|
|
47
|
+
/**
|
|
48
|
+
* `form` (default): the full-width field of the workspace form. `welcome`: the compact switcher
|
|
49
|
+
* in the welcome dialog's quota header (muted pill, menu aligned to its end).
|
|
50
|
+
*/
|
|
51
|
+
variant?: 'form' | 'welcome';
|
|
47
52
|
/** Adds a "Create new project..." entry. */
|
|
48
53
|
onCreate?: () => void;
|
|
49
54
|
disabled?: boolean;
|
|
@@ -53,9 +58,12 @@ export interface ProjectPickerProps {
|
|
|
53
58
|
placeholder: string;
|
|
54
59
|
create: string;
|
|
55
60
|
};
|
|
61
|
+
/** Trigger test id (default `workspace-project-select`, or `welcome-modal-project-select`). */
|
|
62
|
+
testId?: string;
|
|
56
63
|
}
|
|
57
|
-
/** The workspace's owning project
|
|
58
|
-
|
|
64
|
+
/** The one project picker: a workspace's owning project (optionally with a create entry), or the
|
|
65
|
+
* welcome dialog's project switcher (`variant="welcome"`). */
|
|
66
|
+
export declare function ProjectPicker({ value, options, onChange, variant, onCreate, disabled, readOnly, className, labels, testId, }: ProjectPickerProps): import("react").JSX.Element;
|
|
59
67
|
/** Compact CTA on a project row (e.g. Upgrade / Change plan). */
|
|
60
68
|
export declare function ProjectActionButton({ label, onClick, className, testId, }: {
|
|
61
69
|
label: string;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var chunk2FQ4CMRY_cjs = require('../chunk-2FQ4CMRY.cjs');
|
|
4
|
+
var chunk5ZU2XYXO_cjs = require('../chunk-5ZU2XYXO.cjs');
|
|
6
5
|
var chunkJUUOJP7I_cjs = require('../chunk-JUUOJP7I.cjs');
|
|
7
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-UAEYU2NN.cjs');
|
|
8
7
|
require('../chunk-C2ECYOPP.cjs');
|
|
9
8
|
var chunk7G2LJMUG_cjs = require('../chunk-7G2LJMUG.cjs');
|
|
10
9
|
require('../chunk-4C2S3Z3I.cjs');
|
|
11
10
|
require('../chunk-UFEXJIEY.cjs');
|
|
12
11
|
require('../chunk-R2HXGTVB.cjs');
|
|
13
12
|
require('../chunk-SI222Z3A.cjs');
|
|
14
|
-
|
|
13
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
15
14
|
require('../chunk-MHVNT4J3.cjs');
|
|
16
15
|
require('../chunk-DES3K4SD.cjs');
|
|
17
16
|
var react = require('react');
|
|
@@ -64,7 +63,7 @@ function WorkspaceGallery({
|
|
|
64
63
|
const opening = workspace.id === activeOpeningId;
|
|
65
64
|
const state = { current, opening };
|
|
66
65
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
67
|
-
|
|
66
|
+
chunk5ZU2XYXO_cjs.WorkspaceCard,
|
|
68
67
|
{
|
|
69
68
|
workspace,
|
|
70
69
|
current,
|
|
@@ -84,328 +83,102 @@ function WorkspaceGallery({
|
|
|
84
83
|
}
|
|
85
84
|
);
|
|
86
85
|
}
|
|
87
|
-
function FormErrorBanner({
|
|
88
|
-
message,
|
|
89
|
-
testId,
|
|
90
|
-
className,
|
|
91
|
-
id
|
|
92
|
-
}) {
|
|
93
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
id,
|
|
97
|
-
role: "alert",
|
|
98
|
-
"data-slot": "form-error",
|
|
99
|
-
"data-testid": testId,
|
|
100
|
-
className: ui.cn(
|
|
101
|
-
"flex items-center gap-2 rounded-md border border-red-border bg-red-bg p-3 text-sm text-red-text",
|
|
102
|
-
className
|
|
103
|
-
),
|
|
104
|
-
children: [
|
|
105
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlertCircle, { className: "size-4 shrink-0", "aria-hidden": "true" }),
|
|
106
|
-
message
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
function FormActions({ className, children }) {
|
|
112
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
113
|
-
"div",
|
|
114
|
-
{
|
|
115
|
-
"data-slot": "form-actions",
|
|
116
|
-
className: ui.cn("sticky bottom-0 flex justify-end gap-2 bg-background pt-2", className),
|
|
117
|
-
children
|
|
118
|
-
}
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
function ModalActionRow({ children }) {
|
|
122
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
123
|
-
"div",
|
|
124
|
-
{
|
|
125
|
-
"data-slot": "modal-action-row",
|
|
126
|
-
className: "sticky bottom-0 -mx-6 -mb-6 flex flex-col-reverse gap-2 border-t border-border bg-background px-6 pb-6 pt-3 sm:flex-row sm:items-center sm:justify-end",
|
|
127
|
-
children
|
|
128
|
-
}
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
function WorkspaceFormModal({
|
|
132
|
-
open,
|
|
133
|
-
onOpenChange,
|
|
134
|
-
title,
|
|
135
|
-
icon,
|
|
136
|
-
intro,
|
|
137
|
-
testId,
|
|
138
|
-
description = "Create a new workspace",
|
|
139
|
-
children
|
|
140
|
-
}) {
|
|
141
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ui.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
142
|
-
ui.DialogContent,
|
|
143
|
-
{
|
|
144
|
-
presentation: "sheet",
|
|
145
|
-
className: "flex max-h-panel w-modal max-w-modal-vw flex-col overflow-hidden p-0",
|
|
146
|
-
"data-testid": testId,
|
|
147
|
-
children: [
|
|
148
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(ModalTitleRow, { icon, title, description }) }),
|
|
149
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-h-0 flex-1 overflow-auto px-6 pb-6", children: [
|
|
150
|
-
intro && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "pb-4 text-sm text-muted-foreground", children: intro }),
|
|
151
|
-
children
|
|
152
|
-
] })
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
) });
|
|
156
|
-
}
|
|
157
|
-
function ModalTitleRow({
|
|
158
|
-
icon,
|
|
159
|
-
title,
|
|
160
|
-
description
|
|
161
|
-
}) {
|
|
162
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
163
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
164
|
-
icon,
|
|
165
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: title })
|
|
166
|
-
] }) }),
|
|
167
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { className: "sr-only", children: description })
|
|
168
|
-
] });
|
|
169
|
-
}
|
|
170
|
-
function ProjectOptionRow({ identity, meta }) {
|
|
171
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full min-w-0 items-center gap-2", children: [
|
|
172
|
-
identity,
|
|
173
|
-
meta && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-auto truncate text-sm text-muted-foreground", children: meta })
|
|
174
|
-
] });
|
|
175
|
-
}
|
|
176
|
-
var CREATE_VALUE = "__create__";
|
|
177
|
-
function ProjectPicker({
|
|
178
|
-
value,
|
|
179
|
-
options,
|
|
180
|
-
onChange,
|
|
181
|
-
onCreate,
|
|
182
|
-
disabled,
|
|
183
|
-
readOnly,
|
|
184
|
-
className,
|
|
185
|
-
labels = { placeholder: "Select project", create: "Create new project..." }
|
|
186
|
-
}) {
|
|
187
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
188
|
-
ui.Select,
|
|
189
|
-
{
|
|
190
|
-
value: value ?? options[0]?.id,
|
|
191
|
-
onValueChange: (v) => v === CREATE_VALUE ? onCreate?.() : onChange(v),
|
|
192
|
-
disabled: disabled || readOnly,
|
|
193
|
-
children: [
|
|
194
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
195
|
-
ui.SelectTrigger,
|
|
196
|
-
{
|
|
197
|
-
className: ui.cn(className, readOnly && "cursor-not-allowed"),
|
|
198
|
-
"data-testid": "workspace-project-select",
|
|
199
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(ui.SelectValue, { placeholder: labels.placeholder })
|
|
200
|
-
}
|
|
201
|
-
),
|
|
202
|
-
/* @__PURE__ */ jsxRuntime.jsxs(ui.SelectContent, { children: [
|
|
203
|
-
options.map((o) => /* @__PURE__ */ jsxRuntime.jsx(ui.SelectItem, { value: o.id, children: o.content }, o.id)),
|
|
204
|
-
onCreate && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
205
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.SelectSeparator, {}),
|
|
206
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.SelectItem, { value: CREATE_VALUE, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-primary", children: [
|
|
207
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Plus, { className: "size-3.5" }),
|
|
208
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: labels.create })
|
|
209
|
-
] }) })
|
|
210
|
-
] })
|
|
211
|
-
] })
|
|
212
|
-
]
|
|
213
|
-
}
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
function ProjectActionButton({
|
|
217
|
-
label,
|
|
218
|
-
onClick,
|
|
219
|
-
className,
|
|
220
|
-
testId
|
|
221
|
-
}) {
|
|
222
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
223
|
-
ui.Button,
|
|
224
|
-
{
|
|
225
|
-
type: "button",
|
|
226
|
-
variant: "outline",
|
|
227
|
-
size: "sm",
|
|
228
|
-
onClick,
|
|
229
|
-
className: ui.cn(
|
|
230
|
-
"h-7 gap-1.5 whitespace-nowrap px-2 py-0 text-sm font-medium pointer-coarse:h-11",
|
|
231
|
-
className
|
|
232
|
-
),
|
|
233
|
-
"data-testid": testId,
|
|
234
|
-
children: [
|
|
235
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUpRight, { className: "size-3.5" }),
|
|
236
|
-
label
|
|
237
|
-
]
|
|
238
|
-
}
|
|
239
|
-
);
|
|
240
|
-
}
|
|
241
|
-
var DEFAULT_LABELS = {
|
|
242
|
-
readOnlyNotice: "Read-only workspace",
|
|
243
|
-
name: "Name *",
|
|
244
|
-
description: "Description",
|
|
245
|
-
visibility: "Visibility",
|
|
246
|
-
project: "Project",
|
|
247
|
-
over: (n) => `${n} over`,
|
|
248
|
-
charsLeft: (n) => `${n} chars left`
|
|
249
|
-
};
|
|
250
|
-
function WorkspaceFieldsView({
|
|
251
|
-
variant = "modal",
|
|
252
|
-
name,
|
|
253
|
-
description,
|
|
254
|
-
onNameChange,
|
|
255
|
-
onDescriptionChange,
|
|
256
|
-
onNameBlur,
|
|
257
|
-
onNameFocus,
|
|
258
|
-
onDescriptionBlur,
|
|
259
|
-
disabled = false,
|
|
260
|
-
readOnly = false,
|
|
261
|
-
errorId,
|
|
262
|
-
maxNameLength = 50,
|
|
263
|
-
visibility,
|
|
264
|
-
project,
|
|
265
|
-
labels
|
|
266
|
-
}) {
|
|
267
|
-
const workspaceDescriptionId = react.useId();
|
|
268
|
-
const workspaceNameId = react.useId();
|
|
269
|
-
const l = { ...DEFAULT_LABELS, ...labels };
|
|
270
|
-
const [nameFocused, setNameFocused] = react.useState(false);
|
|
271
|
-
const isModal = variant === "modal";
|
|
272
|
-
const charsLeft = maxNameLength - name.length;
|
|
273
|
-
const counterVisible = !readOnly && nameFocused && (!isModal || charsLeft <= 10);
|
|
274
|
-
const isDisabled = isModal ? disabled : disabled || readOnly;
|
|
275
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", "data-slot": "workspace-fields", children: [
|
|
276
|
-
readOnly && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-testid": "workspace-form-readonly-notice", className: "sr-only", children: l.readOnlyNotice }),
|
|
277
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkH32DV7XS_cjs.KeyValueRow, { label: l.name, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { size: 14 }), htmlFor: workspaceNameId, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
278
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
279
|
-
ui.Input,
|
|
280
|
-
{
|
|
281
|
-
id: workspaceNameId,
|
|
282
|
-
type: "text",
|
|
283
|
-
value: name,
|
|
284
|
-
onChange: (e) => onNameChange(e.target.value),
|
|
285
|
-
onBlur: () => {
|
|
286
|
-
setNameFocused(false);
|
|
287
|
-
onNameBlur?.();
|
|
288
|
-
},
|
|
289
|
-
onFocus: () => {
|
|
290
|
-
setNameFocused(true);
|
|
291
|
-
onNameFocus?.();
|
|
292
|
-
},
|
|
293
|
-
maxLength: maxNameLength,
|
|
294
|
-
readOnly,
|
|
295
|
-
disabled: isDisabled,
|
|
296
|
-
className: ui.cn(
|
|
297
|
-
isModal ? "bg-background" : "capitalize",
|
|
298
|
-
readOnly && "cursor-not-allowed",
|
|
299
|
-
"pr-20"
|
|
300
|
-
),
|
|
301
|
-
required: true,
|
|
302
|
-
"aria-invalid": errorId ? true : void 0,
|
|
303
|
-
"aria-describedby": errorId,
|
|
304
|
-
"data-testid": "workspace-form-name-input"
|
|
305
|
-
}
|
|
306
|
-
),
|
|
307
|
-
counterVisible && /* @__PURE__ */ jsxRuntime.jsx(
|
|
308
|
-
"div",
|
|
309
|
-
{
|
|
310
|
-
className: ui.cn(
|
|
311
|
-
"pointer-events-none absolute right-3 top-1/2 hidden -translate-y-1/2 text-sm lg:block",
|
|
312
|
-
charsLeft < 0 ? "text-red-text" : "text-muted-foreground"
|
|
313
|
-
),
|
|
314
|
-
children: charsLeft < 0 ? l.over(-charsLeft) : l.charsLeft(charsLeft)
|
|
315
|
-
}
|
|
316
|
-
)
|
|
317
|
-
] }) }),
|
|
318
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
319
|
-
chunkH32DV7XS_cjs.KeyValueRow,
|
|
320
|
-
{
|
|
321
|
-
label: l.description,
|
|
322
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlignLeft, { size: 14 }),
|
|
323
|
-
htmlFor: workspaceDescriptionId,
|
|
324
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
325
|
-
ui.Input,
|
|
326
|
-
{
|
|
327
|
-
id: workspaceDescriptionId,
|
|
328
|
-
type: "text",
|
|
329
|
-
dictate: true,
|
|
330
|
-
value: description,
|
|
331
|
-
onChange: (e) => onDescriptionChange(e.target.value),
|
|
332
|
-
onBlur: onDescriptionBlur,
|
|
333
|
-
readOnly,
|
|
334
|
-
disabled: isDisabled,
|
|
335
|
-
className: ui.cn(isModal && "bg-background", readOnly && "cursor-not-allowed"),
|
|
336
|
-
"data-testid": "workspace-form-description-input"
|
|
337
|
-
}
|
|
338
|
-
)
|
|
339
|
-
}
|
|
340
|
-
),
|
|
341
|
-
visibility && /* @__PURE__ */ jsxRuntime.jsx(chunkH32DV7XS_cjs.KeyValueRow, { label: l.visibility, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Globe, { size: 14 }), children: visibility }),
|
|
342
|
-
project && /* @__PURE__ */ jsxRuntime.jsx(chunkH32DV7XS_cjs.KeyValueRow, { label: l.project, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CreditCard, { size: 14 }), children: project })
|
|
343
|
-
] });
|
|
344
|
-
}
|
|
345
86
|
|
|
346
87
|
Object.defineProperty(exports, "CommonWorkspaceToggle", {
|
|
347
88
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk5ZU2XYXO_cjs.CommonWorkspaceToggle; }
|
|
349
90
|
});
|
|
350
91
|
Object.defineProperty(exports, "DEFAULT_WORKSPACE_CARD_LABELS", {
|
|
351
92
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk5ZU2XYXO_cjs.DEFAULT_WORKSPACE_CARD_LABELS; }
|
|
353
94
|
});
|
|
354
95
|
Object.defineProperty(exports, "ExpandableSection", {
|
|
355
96
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk5ZU2XYXO_cjs.ExpandableSection; }
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "FormActions", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return chunk5ZU2XYXO_cjs.FormActions; }
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(exports, "FormErrorBanner", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () { return chunk5ZU2XYXO_cjs.FormErrorBanner; }
|
|
357
106
|
});
|
|
358
107
|
Object.defineProperty(exports, "ItalicNone", {
|
|
359
108
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk5ZU2XYXO_cjs.ItalicNone; }
|
|
361
110
|
});
|
|
362
111
|
Object.defineProperty(exports, "LeaveFooter", {
|
|
363
112
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk5ZU2XYXO_cjs.LeaveFooter; }
|
|
114
|
+
});
|
|
115
|
+
Object.defineProperty(exports, "ModalActionRow", {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function () { return chunk5ZU2XYXO_cjs.ModalActionRow; }
|
|
365
118
|
});
|
|
366
119
|
Object.defineProperty(exports, "PageLoading", {
|
|
367
120
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk5ZU2XYXO_cjs.PageLoading; }
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "ProjectActionButton", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () { return chunk5ZU2XYXO_cjs.ProjectActionButton; }
|
|
126
|
+
});
|
|
127
|
+
Object.defineProperty(exports, "ProjectOptionRow", {
|
|
128
|
+
enumerable: true,
|
|
129
|
+
get: function () { return chunk5ZU2XYXO_cjs.ProjectOptionRow; }
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(exports, "ProjectPicker", {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () { return chunk5ZU2XYXO_cjs.ProjectPicker; }
|
|
369
134
|
});
|
|
370
135
|
Object.defineProperty(exports, "WorkspaceAudienceLine", {
|
|
371
136
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspaceAudienceLine; }
|
|
373
138
|
});
|
|
374
139
|
Object.defineProperty(exports, "WorkspaceCard", {
|
|
375
140
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspaceCard; }
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, "WorkspaceFieldsView", {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspaceFieldsView; }
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "WorkspaceFormModal", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspaceFormModal; }
|
|
377
150
|
});
|
|
378
151
|
Object.defineProperty(exports, "WorkspaceGroup", {
|
|
379
152
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspaceGroup; }
|
|
381
154
|
});
|
|
382
155
|
Object.defineProperty(exports, "WorkspaceIdentityPanel", {
|
|
383
156
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspaceIdentityPanel; }
|
|
385
158
|
});
|
|
386
159
|
Object.defineProperty(exports, "WorkspaceList", {
|
|
387
160
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspaceList; }
|
|
389
162
|
});
|
|
390
163
|
Object.defineProperty(exports, "WorkspacePageFrame", {
|
|
391
164
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspacePageFrame; }
|
|
393
166
|
});
|
|
394
167
|
Object.defineProperty(exports, "WorkspaceProjectSlot", {
|
|
395
168
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunk5ZU2XYXO_cjs.WorkspaceProjectSlot; }
|
|
397
170
|
});
|
|
398
171
|
Object.defineProperty(exports, "formatRole", {
|
|
399
172
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunk5ZU2XYXO_cjs.formatRole; }
|
|
401
174
|
});
|
|
402
175
|
Object.defineProperty(exports, "getRoleBadgeClass", {
|
|
403
176
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunk5ZU2XYXO_cjs.getRoleBadgeClass; }
|
|
405
178
|
});
|
|
406
179
|
Object.defineProperty(exports, "getRoleDescription", {
|
|
407
180
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunk5ZU2XYXO_cjs.getRoleDescription; }
|
|
409
182
|
});
|
|
410
183
|
Object.defineProperty(exports, "NO_PROJECT_GROUP_KEY", {
|
|
411
184
|
enumerable: true,
|
|
@@ -475,14 +248,6 @@ Object.defineProperty(exports, "WorkspaceTypeBadgeView", {
|
|
|
475
248
|
enumerable: true,
|
|
476
249
|
get: function () { return chunk7G2LJMUG_cjs.WorkspaceTypeBadgeView; }
|
|
477
250
|
});
|
|
478
|
-
exports.FormActions = FormActions;
|
|
479
|
-
exports.FormErrorBanner = FormErrorBanner;
|
|
480
|
-
exports.ModalActionRow = ModalActionRow;
|
|
481
|
-
exports.ProjectActionButton = ProjectActionButton;
|
|
482
|
-
exports.ProjectOptionRow = ProjectOptionRow;
|
|
483
|
-
exports.ProjectPicker = ProjectPicker;
|
|
484
|
-
exports.WorkspaceFieldsView = WorkspaceFieldsView;
|
|
485
|
-
exports.WorkspaceFormModal = WorkspaceFormModal;
|
|
486
251
|
exports.WorkspaceGallery = WorkspaceGallery;
|
|
487
252
|
//# sourceMappingURL=index.cjs.map
|
|
488
253
|
//# sourceMappingURL=index.cjs.map
|