@uxland/primary-shell 3.1.3 → 3.1.4
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/index.js
CHANGED
|
@@ -34477,11 +34477,6 @@ function noop() {
|
|
|
34477
34477
|
function formatProdErrorMessage(X) {
|
|
34478
34478
|
return `Minified Redux Toolkit error #${X}; visit https://redux-toolkit.js.org/Errors?code=${X} for the full message or use the non-minified dev environment for full errors. `;
|
|
34479
34479
|
}
|
|
34480
|
-
var pick = /* @__PURE__ */ _curry2(function X(W, J) {
|
|
34481
|
-
for (var AA = {}, eA = 0; eA < W.length; )
|
|
34482
|
-
W[eA] in J && (AA[W[eA]] = J[W[eA]]), eA += 1;
|
|
34483
|
-
return AA;
|
|
34484
|
-
});
|
|
34485
34480
|
const isSameVisit = (X, W) => {
|
|
34486
34481
|
var tA, sA, iA, aA, rA, nA, oA, lA, cA, gA, BA, dA, EA, hA;
|
|
34487
34482
|
const J = ((tA = X.professional) == null ? void 0 : tA.id) === ((sA = W.professional) == null ? void 0 : sA.id) && ((iA = X.professional) == null ? void 0 : iA.role.id) === ((aA = W.professional) == null ? void 0 : aA.role.id) && ((rA = X.professional) == null ? void 0 : rA.speciality.id) === ((nA = W.professional) == null ? void 0 : nA.speciality.id), AA = ((oA = X.ep) == null ? void 0 : oA.id) === ((lA = W.ep) == null ? void 0 : lA.id) && ((cA = X.up) == null ? void 0 : cA.id) === ((gA = W.up) == null ? void 0 : gA.id) && ((BA = X.center) == null ? void 0 : BA.id) === ((dA = W.center) == null ? void 0 : dA.id) && ((EA = X.service) == null ? void 0 : EA.id) === ((hA = W.service) == null ? void 0 : hA.id), eA = new Date(X.date).toDateString() === new Date(W.date).toDateString();
|
|
@@ -34587,7 +34582,7 @@ const isSameVisit = (X, W) => {
|
|
|
34587
34582
|
updateActivityHistoryItem
|
|
34588
34583
|
} = activityHistorySlice.actions, isAnyBusySelector = (X) => X.activityHistory.busy.length > 0, activityHistoryCollectionsSelector = (X) => X.activityHistory.collections, activityHistoryGroupableCollections = createSelector(
|
|
34589
34584
|
activityHistoryCollectionsSelector,
|
|
34590
|
-
(X) =>
|
|
34585
|
+
(X) => X
|
|
34591
34586
|
), activityHistoryGroupableItems = createSelector(
|
|
34592
34587
|
activityHistoryGroupableCollections,
|
|
34593
34588
|
(X) => Object.values(X).reduce((W, J) => [
|
|
@@ -34599,7 +34594,7 @@ const isSameVisit = (X, W) => {
|
|
|
34599
34594
|
), activityHistoryGroupedItems = createSelector(
|
|
34600
34595
|
activityHistoryGroupableItems,
|
|
34601
34596
|
(X) => groupActivityHistoryItems(X)
|
|
34602
|
-
),
|
|
34597
|
+
), registerRequest = (X, W) => (J, AA) => {
|
|
34603
34598
|
W.bind(AA).to(AA).inTransientScope(), injectable()(AA), X.broker.registerRequest(J, (eA) => W.get(AA).handle(eA));
|
|
34604
34599
|
}, unregisterRequest = (X, W) => (J) => {
|
|
34605
34600
|
W.isBound(J) && W.unbind(J);
|