woodsportal-client-sdk 4.0.2-dev.1 → 4.0.3-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/angular/index.js +3 -3
- package/dist/adapters/react/index.js +3 -3
- package/dist/adapters/vue/index.js +3 -3
- package/dist/{chunk-ZEVHLXLJ.js → chunk-6XR4NVIV.js} +6 -6
- package/dist/{chunk-ZEVHLXLJ.js.map → chunk-6XR4NVIV.js.map} +1 -1
- package/dist/{chunk-HB7KESOH.js → chunk-DKAKXORS.js} +4 -4
- package/dist/{chunk-HB7KESOH.js.map → chunk-DKAKXORS.js.map} +1 -1
- package/dist/{chunk-J6FO5WYA.js → chunk-IPDX4PHI.js} +4 -4
- package/dist/{chunk-J6FO5WYA.js.map → chunk-IPDX4PHI.js.map} +1 -1
- package/dist/{chunk-WYGGAMTN.js → chunk-MRSPNJPP.js} +60 -12
- package/dist/chunk-MRSPNJPP.js.map +1 -0
- package/dist/{chunk-2MOYNALC.js → chunk-THMUUPHS.js} +5 -5
- package/dist/{chunk-2MOYNALC.js.map → chunk-THMUUPHS.js.map} +1 -1
- package/dist/{chunk-67LUIIWY.js → chunk-Z3P5REKZ.js} +3 -3
- package/dist/{chunk-67LUIIWY.js.map → chunk-Z3P5REKZ.js.map} +1 -1
- package/dist/entries/auth.js +3 -3
- package/dist/entries/crm.js +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/package.json +1 -1
- package/dist/chunk-WYGGAMTN.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { bindStoreWithActions } from '../../chunk-AYTO6ND7.js';
|
|
2
|
-
import { createAdapterHooks } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
2
|
+
import { createAdapterHooks } from '../../chunk-DKAKXORS.js';
|
|
3
|
+
import '../../chunk-Z3P5REKZ.js';
|
|
4
|
+
import '../../chunk-6XR4NVIV.js';
|
|
5
5
|
import '../../chunk-KWLOG7CW.js';
|
|
6
6
|
import { inject, DestroyRef, signal } from '@angular/core';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createAdapterHooks } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
import { createAdapterHooks } from '../../chunk-DKAKXORS.js';
|
|
2
|
+
import '../../chunk-Z3P5REKZ.js';
|
|
3
|
+
import '../../chunk-6XR4NVIV.js';
|
|
4
4
|
import '../../chunk-KWLOG7CW.js';
|
|
5
5
|
import { useSyncExternalStore } from 'react';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { bindStoreWithActions } from '../../chunk-AYTO6ND7.js';
|
|
2
|
-
import { createAdapterHooks } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
2
|
+
import { createAdapterHooks } from '../../chunk-DKAKXORS.js';
|
|
3
|
+
import '../../chunk-Z3P5REKZ.js';
|
|
4
|
+
import '../../chunk-6XR4NVIV.js';
|
|
5
5
|
import '../../chunk-KWLOG7CW.js';
|
|
6
6
|
import { reactive, onScopeDispose } from 'vue';
|
|
7
7
|
|
|
@@ -632,7 +632,7 @@ var actions4 = {
|
|
|
632
632
|
const noteObjectId = note?.hs_object_id?.value;
|
|
633
633
|
const rows = state.notes?.data?.results?.rows ?? [];
|
|
634
634
|
const matchingRow = rows.find((row) => String(row.hs_object_id) === String(noteObjectId));
|
|
635
|
-
const originalPrependItem =
|
|
635
|
+
const originalPrependItem = notes.find((item) => String(item?.hs_object_id) === String(noteObjectId));
|
|
636
636
|
const existingAttachments = matchingRow?.hs_attachment_ids ?? originalPrependItem?.hs_attachment_ids ?? [];
|
|
637
637
|
const newAttachments = resolveAttachmentsFromIds(responseData.data.hs_attachment_ids, storedAttachments);
|
|
638
638
|
const mergedAttachments = [
|
|
@@ -655,7 +655,7 @@ var actions4 = {
|
|
|
655
655
|
};
|
|
656
656
|
}
|
|
657
657
|
if (originalPrependItem) {
|
|
658
|
-
stateUpdates.prependNotes =
|
|
658
|
+
stateUpdates.prependNotes = notes.map(
|
|
659
659
|
(item) => String(item?.hs_object_id) === String(noteObjectId) ? { ...item, hs_attachment_ids: mergedAttachments } : item
|
|
660
660
|
);
|
|
661
661
|
}
|
|
@@ -773,7 +773,7 @@ var actions5 = {
|
|
|
773
773
|
const emailObjectId = email?.hs_object_id?.value;
|
|
774
774
|
const rows = state.emails?.data?.results?.rows ?? [];
|
|
775
775
|
const matchingRow = rows.find((row) => String(row.hs_object_id) === String(emailObjectId));
|
|
776
|
-
const originalPrependItem =
|
|
776
|
+
const originalPrependItem = emails.find((item) => String(item?.hs_object_id) === String(emailObjectId));
|
|
777
777
|
const existingAttachments = matchingRow?.hs_attachment_ids ?? originalPrependItem?.hs_attachment_ids ?? [];
|
|
778
778
|
const newAttachments = resolveAttachmentsFromIds(responseData.data.hs_attachment_ids, storedAttachments);
|
|
779
779
|
const mergedAttachments = [
|
|
@@ -796,7 +796,7 @@ var actions5 = {
|
|
|
796
796
|
};
|
|
797
797
|
}
|
|
798
798
|
if (originalPrependItem) {
|
|
799
|
-
stateUpdates.prependEmails =
|
|
799
|
+
stateUpdates.prependEmails = emails.map(
|
|
800
800
|
(item) => String(item?.hs_object_id) === String(emailObjectId) ? { ...item, hs_attachment_ids: mergedAttachments } : item
|
|
801
801
|
);
|
|
802
802
|
}
|
|
@@ -1422,5 +1422,5 @@ var resetAllStore = () => {
|
|
|
1422
1422
|
};
|
|
1423
1423
|
|
|
1424
1424
|
export { actions, actions2, actions3, actions4, actions5, actions6, actions7, breadcrumbStage, configureLogger, createStore, decodeToBase64, emailStore, generatePath, generateUrl, getParam, getParamDetails, getPath, getRouteDetails, getRouteMenu, isHttpTracingEnabled, isMessingParent, isMessingParentLastItem, logger, noteStore, resetAllStore, sanitizeAxiosErrorData, syncStore, tableStore, tableUiActions, tableUiStore, ticketHubspotObjectTypeId, updateLink, uploaderStore, userStore };
|
|
1425
|
-
//# sourceMappingURL=chunk-
|
|
1426
|
-
//# sourceMappingURL=chunk-
|
|
1425
|
+
//# sourceMappingURL=chunk-6XR4NVIV.js.map
|
|
1426
|
+
//# sourceMappingURL=chunk-6XR4NVIV.js.map
|