@ai-matrx/associations 0.13.19 → 0.13.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/CHANGELOG.md +12 -0
- package/dist/{CommentThread-BCHlD_QH.d.cts → CommentThread-DIGM3P6_.d.cts} +14 -9
- package/dist/{CommentThread-BCHlD_QH.d.ts → CommentThread-DIGM3P6_.d.ts} +14 -9
- package/dist/core/index.cjs +7 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +7 -1
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -8
- package/dist/index.d.ts +59 -8
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +11 -6
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +11 -6
- package/dist/react/index.js.map +1 -1
- package/dist/react/lazy/index.d.cts +1 -1
- package/dist/react/lazy/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/react/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, ComponentType } from 'react';
|
|
3
|
-
import { j as AssociationsNotifier, W as WindowShellPort, k as CapturePort, P as PickerOverrideMap, E as EntityDoorsPort, l as AuthorDisplayPort, m as AssociationsStore, n as CategoryMutationResult, o as CategoryDimension, p as PlatformCategory, q as CategoriesEntry, r as EntityTypeToken, s as UniversalCandidate, t as CandidateRecord, u as PlatformComment, v as CommentsEntry, w as CommentMutationResult, e as AssociationPickerProps, x as EntityDoorProps, y as EntityRefProps, z as ContentRole } from '../CommentThread-
|
|
4
|
-
export { B as AssociationCaptureToolbar, A as AssociationCaptureToolbarProps, D as AssociationCard, F as AssociationCardGrid, b as AssociationCardGridProps, a as AssociationCardProps, G as AssociationEntitySelect, H as AssociationEntitySelectAdapter, I as AssociationEntitySelectItem, c as AssociationEntitySelectProps, J as AssociationList, d as AssociationListProps, K as AssociationWindow, f as AssociationWindowProps, L as AssociationWriteResult, M as AttachedItemsSheet, g as AttachedItemsSheetProps, N as CaptureAttach, O as CaptureAttachResult, Q as CaptureToolbarAction, R as CategorySelect, C as CategorySelectProps, S as CategoryTagPicker, h as CategoryTagPickerProps, T as CommentComposer, V as CommentComposerProps, X as CommentThread, i as CommentThreadProps, Y as ContainerLink, Z as ContainerResourceRow, _ as ContainerResourcesAdapter, $ as DefaultEntityIcon, a0 as PrimaryContainerEntity, a1 as PrimaryEntity, a2 as PrimaryEntityProvider, a3 as PrimaryFiledEntity, a4 as TagPickerIcon, a5 as UniversalAssociationPicker, U as UniversalAssociationPickerProps, a6 as UseAssociationEntitySelectAdapterArgs, a7 as UseAssociationsArgs, a8 as UseAssociationsReturn, a9 as UseContainerLinksArgs, aa as UseContainerLinksReturn, ab as attachedKey, ac as buildCommentTree, ad as containerLinksArgs, ae as linkDirection, af as useAssociationEntitySelectAdapter, ag as useAssociations, ah as useContainerLinks, ai as useContainerLinksAdapter, aj as useEntityRelationships, ak as usePrimaryEntity } from '../CommentThread-
|
|
3
|
+
import { j as AssociationsNotifier, W as WindowShellPort, k as CapturePort, P as PickerOverrideMap, E as EntityDoorsPort, l as AuthorDisplayPort, m as AssociationsStore, n as CategoryMutationResult, o as CategoryDimension, p as PlatformCategory, q as CategoriesEntry, r as EntityTypeToken, s as UniversalCandidate, t as CandidateRecord, u as PlatformComment, v as CommentsEntry, w as CommentMutationResult, e as AssociationPickerProps, x as EntityDoorProps, y as EntityRefProps, z as ContentRole } from '../CommentThread-DIGM3P6_.cjs';
|
|
4
|
+
export { B as AssociationCaptureToolbar, A as AssociationCaptureToolbarProps, D as AssociationCard, F as AssociationCardGrid, b as AssociationCardGridProps, a as AssociationCardProps, G as AssociationEntitySelect, H as AssociationEntitySelectAdapter, I as AssociationEntitySelectItem, c as AssociationEntitySelectProps, J as AssociationList, d as AssociationListProps, K as AssociationWindow, f as AssociationWindowProps, L as AssociationWriteResult, M as AttachedItemsSheet, g as AttachedItemsSheetProps, N as CaptureAttach, O as CaptureAttachResult, Q as CaptureToolbarAction, R as CategorySelect, C as CategorySelectProps, S as CategoryTagPicker, h as CategoryTagPickerProps, T as CommentComposer, V as CommentComposerProps, X as CommentThread, i as CommentThreadProps, Y as ContainerLink, Z as ContainerResourceRow, _ as ContainerResourcesAdapter, $ as DefaultEntityIcon, a0 as PrimaryContainerEntity, a1 as PrimaryEntity, a2 as PrimaryEntityProvider, a3 as PrimaryFiledEntity, a4 as TagPickerIcon, a5 as UniversalAssociationPicker, U as UniversalAssociationPickerProps, a6 as UseAssociationEntitySelectAdapterArgs, a7 as UseAssociationsArgs, a8 as UseAssociationsReturn, a9 as UseContainerLinksArgs, aa as UseContainerLinksReturn, ab as attachedKey, ac as buildCommentTree, ad as containerLinksArgs, ae as linkDirection, af as useAssociationEntitySelectAdapter, ag as useAssociations, ah as useContainerLinks, ai as useContainerLinksAdapter, aj as useEntityRelationships, ak as usePrimaryEntity } from '../CommentThread-DIGM3P6_.cjs';
|
|
5
5
|
|
|
6
6
|
interface AssociationsUiPorts {
|
|
7
7
|
notifier?: AssociationsNotifier;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, ComponentType } from 'react';
|
|
3
|
-
import { j as AssociationsNotifier, W as WindowShellPort, k as CapturePort, P as PickerOverrideMap, E as EntityDoorsPort, l as AuthorDisplayPort, m as AssociationsStore, n as CategoryMutationResult, o as CategoryDimension, p as PlatformCategory, q as CategoriesEntry, r as EntityTypeToken, s as UniversalCandidate, t as CandidateRecord, u as PlatformComment, v as CommentsEntry, w as CommentMutationResult, e as AssociationPickerProps, x as EntityDoorProps, y as EntityRefProps, z as ContentRole } from '../CommentThread-
|
|
4
|
-
export { B as AssociationCaptureToolbar, A as AssociationCaptureToolbarProps, D as AssociationCard, F as AssociationCardGrid, b as AssociationCardGridProps, a as AssociationCardProps, G as AssociationEntitySelect, H as AssociationEntitySelectAdapter, I as AssociationEntitySelectItem, c as AssociationEntitySelectProps, J as AssociationList, d as AssociationListProps, K as AssociationWindow, f as AssociationWindowProps, L as AssociationWriteResult, M as AttachedItemsSheet, g as AttachedItemsSheetProps, N as CaptureAttach, O as CaptureAttachResult, Q as CaptureToolbarAction, R as CategorySelect, C as CategorySelectProps, S as CategoryTagPicker, h as CategoryTagPickerProps, T as CommentComposer, V as CommentComposerProps, X as CommentThread, i as CommentThreadProps, Y as ContainerLink, Z as ContainerResourceRow, _ as ContainerResourcesAdapter, $ as DefaultEntityIcon, a0 as PrimaryContainerEntity, a1 as PrimaryEntity, a2 as PrimaryEntityProvider, a3 as PrimaryFiledEntity, a4 as TagPickerIcon, a5 as UniversalAssociationPicker, U as UniversalAssociationPickerProps, a6 as UseAssociationEntitySelectAdapterArgs, a7 as UseAssociationsArgs, a8 as UseAssociationsReturn, a9 as UseContainerLinksArgs, aa as UseContainerLinksReturn, ab as attachedKey, ac as buildCommentTree, ad as containerLinksArgs, ae as linkDirection, af as useAssociationEntitySelectAdapter, ag as useAssociations, ah as useContainerLinks, ai as useContainerLinksAdapter, aj as useEntityRelationships, ak as usePrimaryEntity } from '../CommentThread-
|
|
3
|
+
import { j as AssociationsNotifier, W as WindowShellPort, k as CapturePort, P as PickerOverrideMap, E as EntityDoorsPort, l as AuthorDisplayPort, m as AssociationsStore, n as CategoryMutationResult, o as CategoryDimension, p as PlatformCategory, q as CategoriesEntry, r as EntityTypeToken, s as UniversalCandidate, t as CandidateRecord, u as PlatformComment, v as CommentsEntry, w as CommentMutationResult, e as AssociationPickerProps, x as EntityDoorProps, y as EntityRefProps, z as ContentRole } from '../CommentThread-DIGM3P6_.js';
|
|
4
|
+
export { B as AssociationCaptureToolbar, A as AssociationCaptureToolbarProps, D as AssociationCard, F as AssociationCardGrid, b as AssociationCardGridProps, a as AssociationCardProps, G as AssociationEntitySelect, H as AssociationEntitySelectAdapter, I as AssociationEntitySelectItem, c as AssociationEntitySelectProps, J as AssociationList, d as AssociationListProps, K as AssociationWindow, f as AssociationWindowProps, L as AssociationWriteResult, M as AttachedItemsSheet, g as AttachedItemsSheetProps, N as CaptureAttach, O as CaptureAttachResult, Q as CaptureToolbarAction, R as CategorySelect, C as CategorySelectProps, S as CategoryTagPicker, h as CategoryTagPickerProps, T as CommentComposer, V as CommentComposerProps, X as CommentThread, i as CommentThreadProps, Y as ContainerLink, Z as ContainerResourceRow, _ as ContainerResourcesAdapter, $ as DefaultEntityIcon, a0 as PrimaryContainerEntity, a1 as PrimaryEntity, a2 as PrimaryEntityProvider, a3 as PrimaryFiledEntity, a4 as TagPickerIcon, a5 as UniversalAssociationPicker, U as UniversalAssociationPickerProps, a6 as UseAssociationEntitySelectAdapterArgs, a7 as UseAssociationsArgs, a8 as UseAssociationsReturn, a9 as UseContainerLinksArgs, aa as UseContainerLinksReturn, ab as attachedKey, ac as buildCommentTree, ad as containerLinksArgs, ae as linkDirection, af as useAssociationEntitySelectAdapter, ag as useAssociations, ah as useContainerLinks, ai as useContainerLinksAdapter, aj as useEntityRelationships, ak as usePrimaryEntity } from '../CommentThread-DIGM3P6_.js';
|
|
5
5
|
|
|
6
6
|
interface AssociationsUiPorts {
|
|
7
7
|
notifier?: AssociationsNotifier;
|
package/dist/react/index.js
CHANGED
|
@@ -758,6 +758,7 @@ var ENTITY_TYPE_TOKENS = [
|
|
|
758
758
|
"platform_cutover_seam",
|
|
759
759
|
"platform_cutover_seam_measure",
|
|
760
760
|
"platform_cutover_seam_press",
|
|
761
|
+
"platform_dated_change",
|
|
761
762
|
"platform_doors_only_pending_cutover",
|
|
762
763
|
"platform_google_calendar_event_create_intent",
|
|
763
764
|
"platform_google_task_create_intent",
|
|
@@ -1040,7 +1041,9 @@ var ENTITY_TYPE_TOKENS = [
|
|
|
1040
1041
|
"user_stat",
|
|
1041
1042
|
"user_storage_usage",
|
|
1042
1043
|
"user_surface_state",
|
|
1044
|
+
"vault_fill_approvals",
|
|
1043
1045
|
"vault_fill_devices",
|
|
1046
|
+
"vault_fill_nonces",
|
|
1044
1047
|
"visibility_cache",
|
|
1045
1048
|
"visibility_epoch",
|
|
1046
1049
|
"voice",
|
|
@@ -4407,7 +4410,8 @@ import { Fragment as Fragment4, jsx as jsx14, jsxs as jsxs12 } from "react/jsx-r
|
|
|
4407
4410
|
function AssociationCaptureToolbar({
|
|
4408
4411
|
attach,
|
|
4409
4412
|
uploadFolderPath,
|
|
4410
|
-
|
|
4413
|
+
uploadPublishedToWeb = false,
|
|
4414
|
+
uploadShownTo = "only_me",
|
|
4411
4415
|
uploadLocationLabel,
|
|
4412
4416
|
attachRetryLabel = '"Add file"',
|
|
4413
4417
|
filePicker,
|
|
@@ -4436,10 +4440,8 @@ function AssociationCaptureToolbar({
|
|
|
4436
4440
|
const failed = [];
|
|
4437
4441
|
for (const file of opts.files) {
|
|
4438
4442
|
try {
|
|
4439
|
-
const
|
|
4440
|
-
|
|
4441
|
-
...opts.visibility !== void 0 ? { visibility: opts.visibility } : {}
|
|
4442
|
-
});
|
|
4443
|
+
const { files: _files, ...uploadOpts } = opts;
|
|
4444
|
+
const result = await hostUploadFile(file, uploadOpts);
|
|
4443
4445
|
if (result.ok) uploaded.push(result.id);
|
|
4444
4446
|
else failed.push({ name: file.name, error: result.error });
|
|
4445
4447
|
} catch (err) {
|
|
@@ -4475,7 +4477,10 @@ function AssociationCaptureToolbar({
|
|
|
4475
4477
|
const result = await requestUpload({
|
|
4476
4478
|
files,
|
|
4477
4479
|
folderPath: uploadFolderPath,
|
|
4478
|
-
|
|
4480
|
+
publishedToWeb: uploadPublishedToWeb,
|
|
4481
|
+
shownTo: uploadShownTo,
|
|
4482
|
+
visibility: uploadPublishedToWeb ? "public" : uploadShownTo === "only_me" ? "personal" : "internal"
|
|
4483
|
+
// T-13 transitional wire input
|
|
4479
4484
|
});
|
|
4480
4485
|
if (result.cancelled) {
|
|
4481
4486
|
notifier.success("Upload cancelled \u2014 nothing was attached");
|