@flamingo-stack/openframe-frontend-core 0.0.353-snapshot.20260701190625 → 0.0.353
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/{chunk-OQ75ZMB7.cjs → chunk-3B663UT5.cjs} +408 -460
- package/dist/chunk-3B663UT5.cjs.map +1 -0
- package/dist/{chunk-5RYGC2HA.cjs → chunk-5AR4XSIK.cjs} +26 -26
- package/dist/{chunk-5RYGC2HA.cjs.map → chunk-5AR4XSIK.cjs.map} +1 -1
- package/dist/{chunk-AN7YCTF4.js → chunk-5Y6G2GKO.js} +2 -2
- package/dist/{chunk-4XFFHXCQ.js → chunk-776NIQQ6.js} +4 -4
- package/dist/{chunk-3MUALDLX.js → chunk-BAPR6IQV.js} +4 -4
- package/dist/{chunk-BWT6O7K5.js → chunk-CDPGUKPU.js} +2 -2
- package/dist/{chunk-3XNJWYLX.cjs → chunk-D4TPL6T4.cjs} +15 -15
- package/dist/{chunk-3XNJWYLX.cjs.map → chunk-D4TPL6T4.cjs.map} +1 -1
- package/dist/{chunk-SH5ZPAVK.js → chunk-EQQZLZZH.js} +2 -2
- package/dist/{chunk-XXVNJDZV.cjs → chunk-HAFY32LW.cjs} +5 -5
- package/dist/{chunk-XXVNJDZV.cjs.map → chunk-HAFY32LW.cjs.map} +1 -1
- package/dist/{chunk-HD4S7ITV.cjs → chunk-HWFFUT6G.cjs} +37 -37
- package/dist/{chunk-HD4S7ITV.cjs.map → chunk-HWFFUT6G.cjs.map} +1 -1
- package/dist/{chunk-MHWK6CDS.cjs → chunk-IVL6FGM6.cjs} +12 -12
- package/dist/{chunk-MHWK6CDS.cjs.map → chunk-IVL6FGM6.cjs.map} +1 -1
- package/dist/{chunk-SJBFKX6U.js → chunk-OKGXLXDW.js} +16 -68
- package/dist/{chunk-SJBFKX6U.js.map → chunk-OKGXLXDW.js.map} +1 -1
- package/dist/{chunk-LNJ4QIAN.cjs → chunk-P56AC6I5.cjs} +25 -25
- package/dist/{chunk-LNJ4QIAN.cjs.map → chunk-P56AC6I5.cjs.map} +1 -1
- package/dist/{chunk-SJ3O2463.js → chunk-POLYFLWF.js} +4 -4
- package/dist/{chunk-NJRZK3KL.cjs → chunk-TWVF3QU5.cjs} +31 -31
- package/dist/{chunk-NJRZK3KL.cjs.map → chunk-TWVF3QU5.cjs.map} +1 -1
- package/dist/{chunk-O6HI537F.cjs → chunk-W3CCNLBL.cjs} +9 -9
- package/dist/{chunk-O6HI537F.cjs.map → chunk-W3CCNLBL.cjs.map} +1 -1
- package/dist/{chunk-HEXR3TGX.js → chunk-XJQNOT4Z.js} +2 -2
- package/dist/{chunk-J5RQ4T5L.cjs → chunk-XKRR5GIV.cjs} +56 -56
- package/dist/{chunk-J5RQ4T5L.cjs.map → chunk-XKRR5GIV.cjs.map} +1 -1
- package/dist/{chunk-LPJKRZRD.js → chunk-YGCWTL7E.js} +2 -2
- package/dist/{chunk-5CTJCJV3.js → chunk-YI5435S6.js} +2 -2
- package/dist/{chunk-2RX6DW5A.cjs → chunk-YL2YXSRI.cjs} +62 -62
- package/dist/{chunk-2RX6DW5A.cjs.map → chunk-YL2YXSRI.cjs.map} +1 -1
- package/dist/{chunk-RERV3ALE.cjs → chunk-Z22AMCZL.cjs} +7 -7
- package/dist/{chunk-RERV3ALE.cjs.map → chunk-Z22AMCZL.cjs.map} +1 -1
- package/dist/{chunk-DFZ74LGW.js → chunk-ZAKU2MOI.js} +2 -2
- package/dist/{chunk-NJ4R2IJY.js → chunk-ZYB2QBNU.js} +4 -4
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/features/time-tracker/index.d.ts +1 -1
- package/dist/components/features/time-tracker/index.d.ts.map +1 -1
- package/dist/components/features/time-tracker/time-tracker-panel.d.ts +1 -1
- package/dist/components/features/time-tracker/time-tracker-panel.d.ts.map +1 -1
- package/dist/components/features/time-tracker/types.d.ts +0 -19
- package/dist/components/features/time-tracker/types.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +120 -120
- package/dist/components/index.js +9 -9
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/time-tracker/index.ts +0 -1
- package/src/components/features/time-tracker/time-tracker-panel.tsx +13 -75
- package/src/components/features/time-tracker/types.ts +0 -21
- package/dist/chunk-OQ75ZMB7.cjs.map +0 -1
- /package/dist/{chunk-AN7YCTF4.js.map → chunk-5Y6G2GKO.js.map} +0 -0
- /package/dist/{chunk-4XFFHXCQ.js.map → chunk-776NIQQ6.js.map} +0 -0
- /package/dist/{chunk-3MUALDLX.js.map → chunk-BAPR6IQV.js.map} +0 -0
- /package/dist/{chunk-BWT6O7K5.js.map → chunk-CDPGUKPU.js.map} +0 -0
- /package/dist/{chunk-SH5ZPAVK.js.map → chunk-EQQZLZZH.js.map} +0 -0
- /package/dist/{chunk-SJ3O2463.js.map → chunk-POLYFLWF.js.map} +0 -0
- /package/dist/{chunk-HEXR3TGX.js.map → chunk-XJQNOT4Z.js.map} +0 -0
- /package/dist/{chunk-LPJKRZRD.js.map → chunk-YGCWTL7E.js.map} +0 -0
- /package/dist/{chunk-5CTJCJV3.js.map → chunk-YI5435S6.js.map} +0 -0
- /package/dist/{chunk-DFZ74LGW.js.map → chunk-ZAKU2MOI.js.map} +0 -0
- /package/dist/{chunk-NJ4R2IJY.js.map → chunk-ZYB2QBNU.js.map} +0 -0
|
@@ -30633,16 +30633,6 @@ function useTrackerClock({ status, runningSince, accumulatedMs = 0 }) {
|
|
|
30633
30633
|
|
|
30634
30634
|
// src/components/features/time-tracker/time-tracker-panel.tsx
|
|
30635
30635
|
import { jsx as jsx233, jsxs as jsxs182 } from "react/jsx-runtime";
|
|
30636
|
-
function renderCustomerOption(option, isSelected) {
|
|
30637
|
-
const { label, imageUrl } = option;
|
|
30638
|
-
return /* @__PURE__ */ jsxs182("div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
30639
|
-
/* @__PURE__ */ jsxs182("div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
30640
|
-
/* @__PURE__ */ jsx233(SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
30641
|
-
/* @__PURE__ */ jsx233("span", { className: "truncate", title: label, children: label })
|
|
30642
|
-
] }),
|
|
30643
|
-
isSelected && /* @__PURE__ */ jsx233(CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
30644
|
-
] });
|
|
30645
|
-
}
|
|
30646
30636
|
function TimeTrackerPanel({
|
|
30647
30637
|
status,
|
|
30648
30638
|
runningSince,
|
|
@@ -30652,12 +30642,6 @@ function TimeTrackerPanel({
|
|
|
30652
30642
|
onSelectedTicketChange,
|
|
30653
30643
|
onTicketSearch,
|
|
30654
30644
|
ticketsLoading,
|
|
30655
|
-
customerOptions,
|
|
30656
|
-
selectedCustomerId,
|
|
30657
|
-
onSelectedCustomerChange,
|
|
30658
|
-
onCustomerSearch,
|
|
30659
|
-
customersLoading,
|
|
30660
|
-
customerLocked,
|
|
30661
30645
|
notes,
|
|
30662
30646
|
onNotesChange,
|
|
30663
30647
|
lastEntries,
|
|
@@ -30711,23 +30695,6 @@ function TimeTrackerPanel({
|
|
|
30711
30695
|
label: t.label,
|
|
30712
30696
|
value: t.id
|
|
30713
30697
|
}));
|
|
30714
|
-
const showCustomer = !!onSelectedCustomerChange;
|
|
30715
|
-
const customerAutocompleteOptions = (customerOptions ?? []).map((c) => ({
|
|
30716
|
-
label: c.label,
|
|
30717
|
-
value: c.id,
|
|
30718
|
-
imageUrl: c.imageUrl
|
|
30719
|
-
}));
|
|
30720
|
-
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
30721
|
-
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ jsx233(
|
|
30722
|
-
SquareAvatar,
|
|
30723
|
-
{
|
|
30724
|
-
src: selectedCustomer.imageUrl,
|
|
30725
|
-
alt: selectedCustomer.label,
|
|
30726
|
-
fallback: selectedCustomer.label,
|
|
30727
|
-
size: "sm",
|
|
30728
|
-
variant: "square"
|
|
30729
|
-
}
|
|
30730
|
-
) : void 0;
|
|
30731
30698
|
const visibleEntries = lastEntries.slice(0, 3);
|
|
30732
30699
|
return /* @__PURE__ */ jsxs182(
|
|
30733
30700
|
"div",
|
|
@@ -30797,41 +30764,22 @@ function TimeTrackerPanel({
|
|
|
30797
30764
|
}
|
|
30798
30765
|
)
|
|
30799
30766
|
] }),
|
|
30800
|
-
/* @__PURE__ */
|
|
30801
|
-
|
|
30802
|
-
|
|
30803
|
-
|
|
30804
|
-
|
|
30805
|
-
|
|
30806
|
-
|
|
30807
|
-
|
|
30808
|
-
|
|
30809
|
-
|
|
30810
|
-
|
|
30811
|
-
|
|
30812
|
-
|
|
30813
|
-
if (reason === "input") onTicketSearch?.(value);
|
|
30814
|
-
}
|
|
30815
|
-
}
|
|
30816
|
-
),
|
|
30817
|
-
showCustomer && /* @__PURE__ */ jsx233(
|
|
30818
|
-
Autocomplete,
|
|
30819
|
-
{
|
|
30820
|
-
value: selectedCustomerId ?? null,
|
|
30821
|
-
onChange: onSelectedCustomerChange,
|
|
30822
|
-
options: customerAutocompleteOptions,
|
|
30823
|
-
placeholder: "Select Customer",
|
|
30824
|
-
loading: customersLoading,
|
|
30825
|
-
disabled: customerLocked,
|
|
30826
|
-
disableClientFilter: !!onCustomerSearch,
|
|
30827
|
-
onInputChange: (value, reason) => {
|
|
30828
|
-
if (reason === "input") onCustomerSearch?.(value);
|
|
30829
|
-
},
|
|
30830
|
-
startAdornment: customerStartAdornment,
|
|
30831
|
-
renderOption: renderCustomerOption
|
|
30767
|
+
/* @__PURE__ */ jsx233(
|
|
30768
|
+
Autocomplete,
|
|
30769
|
+
{
|
|
30770
|
+
value: selectedTicketId,
|
|
30771
|
+
onChange: onSelectedTicketChange,
|
|
30772
|
+
options: ticketAutocompleteOptions,
|
|
30773
|
+
placeholder: "Assign Ticket",
|
|
30774
|
+
loading: ticketsLoading,
|
|
30775
|
+
invalid: showFieldError,
|
|
30776
|
+
error: showFieldError ? "Required if no notes added" : void 0,
|
|
30777
|
+
disableClientFilter: !!onTicketSearch,
|
|
30778
|
+
onInputChange: (value, reason) => {
|
|
30779
|
+
if (reason === "input") onTicketSearch?.(value);
|
|
30832
30780
|
}
|
|
30833
|
-
|
|
30834
|
-
|
|
30781
|
+
}
|
|
30782
|
+
)
|
|
30835
30783
|
] }),
|
|
30836
30784
|
/* @__PURE__ */ jsx233(
|
|
30837
30785
|
Textarea,
|
|
@@ -50501,4 +50449,4 @@ export {
|
|
|
50501
50449
|
LogsList,
|
|
50502
50450
|
assets
|
|
50503
50451
|
};
|
|
50504
|
-
//# sourceMappingURL=chunk-
|
|
50452
|
+
//# sourceMappingURL=chunk-OKGXLXDW.js.map
|