@carlonicora/nextjs-jsonapi 1.140.0 → 1.140.2
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/{BlockNoteEditor-EA6XBEGN.mjs → BlockNoteEditor-5ZEC7GOM.mjs} +2 -2
- package/dist/{BlockNoteEditor-CBZ64OBS.js → BlockNoteEditor-WLZU6FDU.js} +9 -9
- package/dist/{BlockNoteEditor-CBZ64OBS.js.map → BlockNoteEditor-WLZU6FDU.js.map} +1 -1
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-DG3LUNET.js → chunk-B6YG6SJ6.js} +35 -20
- package/dist/chunk-B6YG6SJ6.js.map +1 -0
- package/dist/{chunk-NLPJOLO4.mjs → chunk-LB5B5KYF.mjs} +35 -20
- package/dist/chunk-LB5B5KYF.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/features/help/index.js +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +9 -4
- package/src/components/forms/DateRangeSelector.tsx +8 -4
- package/src/components/tables/ContentTableSearch.tsx +28 -11
- package/dist/chunk-DG3LUNET.js.map +0 -1
- package/dist/chunk-NLPJOLO4.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-EA6XBEGN.mjs.map → BlockNoteEditor-5ZEC7GOM.mjs.map} +0 -0
|
@@ -9290,6 +9290,7 @@ import { useEffect as useEffect15, useState as useState21 } from "react";
|
|
|
9290
9290
|
import { Fragment as Fragment9, jsx as jsx82, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
9291
9291
|
function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth }) {
|
|
9292
9292
|
const t = useTranslations14();
|
|
9293
|
+
const dateFnsLocale = useI18nDateFnsLocale();
|
|
9293
9294
|
const [date, setDate] = useState21(
|
|
9294
9295
|
avoidSettingDates ? void 0 : {
|
|
9295
9296
|
from: new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
@@ -9330,10 +9331,11 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
|
|
|
9330
9331
|
children: [
|
|
9331
9332
|
/* @__PURE__ */ jsx82(CalendarIcon2, {}),
|
|
9332
9333
|
date?.from ? date.to ? /* @__PURE__ */ jsxs47(Fragment9, { children: [
|
|
9333
|
-
format(date.from, "
|
|
9334
|
-
" -
|
|
9335
|
-
|
|
9336
|
-
|
|
9334
|
+
format(date.from, "d MMM yyyy", { locale: dateFnsLocale }),
|
|
9335
|
+
" -",
|
|
9336
|
+
" ",
|
|
9337
|
+
format(date.to, "d MMM yyyy", { locale: dateFnsLocale })
|
|
9338
|
+
] }) : format(date.from, "d MMM yyyy", { locale: dateFnsLocale }) : /* @__PURE__ */ jsx82("span", { children: t("ui.labels.pick_a_date") })
|
|
9337
9339
|
]
|
|
9338
9340
|
}
|
|
9339
9341
|
) });
|
|
@@ -9353,10 +9355,11 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
|
|
|
9353
9355
|
children: [
|
|
9354
9356
|
/* @__PURE__ */ jsx82(CalendarIcon2, {}),
|
|
9355
9357
|
date?.from ? date.to ? /* @__PURE__ */ jsxs47(Fragment9, { children: [
|
|
9356
|
-
format(date.from, "
|
|
9357
|
-
" -
|
|
9358
|
-
|
|
9359
|
-
|
|
9358
|
+
format(date.from, "d MMM yyyy", { locale: dateFnsLocale }),
|
|
9359
|
+
" -",
|
|
9360
|
+
" ",
|
|
9361
|
+
format(date.to, "d MMM yyyy", { locale: dateFnsLocale })
|
|
9362
|
+
] }) : format(date.from, "d MMM yyyy", { locale: dateFnsLocale }) : /* @__PURE__ */ jsx82("span", { children: t("ui.labels.pick_a_date") })
|
|
9360
9363
|
]
|
|
9361
9364
|
}
|
|
9362
9365
|
),
|
|
@@ -10128,7 +10131,7 @@ import { useRef as useRef17 } from "react";
|
|
|
10128
10131
|
import dynamic from "next/dynamic";
|
|
10129
10132
|
import React17 from "react";
|
|
10130
10133
|
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
10131
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10134
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-5ZEC7GOM.mjs"), {
|
|
10132
10135
|
ssr: false
|
|
10133
10136
|
});
|
|
10134
10137
|
var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -14994,7 +14997,7 @@ function RoundPageContainer({
|
|
|
14994
14997
|
}
|
|
14995
14998
|
),
|
|
14996
14999
|
/* @__PURE__ */ jsxs94(
|
|
14997
|
-
"
|
|
15000
|
+
"main",
|
|
14998
15001
|
{
|
|
14999
15002
|
"data-testid": testId,
|
|
15000
15003
|
className: cn(
|
|
@@ -15029,7 +15032,7 @@ function RoundPageContainer({
|
|
|
15029
15032
|
}
|
|
15030
15033
|
),
|
|
15031
15034
|
/* @__PURE__ */ jsxs94(
|
|
15032
|
-
"
|
|
15035
|
+
"main",
|
|
15033
15036
|
{
|
|
15034
15037
|
"data-testid": testId,
|
|
15035
15038
|
className: cn(
|
|
@@ -16647,12 +16650,18 @@ function ContentTableSearch({ data }) {
|
|
|
16647
16650
|
{
|
|
16648
16651
|
className: `relative flex h-6 items-center text-xs font-normal transition-all duration-300 ease-in-out ${isExpanded ? "w-64" : "w-6"}`,
|
|
16649
16652
|
children: [
|
|
16650
|
-
/* @__PURE__ */ jsx179(
|
|
16651
|
-
|
|
16653
|
+
isExpanded ? /* @__PURE__ */ jsx179(Search, { "aria-hidden": true, className: "text-muted-foreground absolute top-1 left-1 size-4" }) : /* @__PURE__ */ jsxs101(
|
|
16654
|
+
Button,
|
|
16652
16655
|
{
|
|
16653
16656
|
"data-testid": "content-table-search-trigger",
|
|
16654
|
-
|
|
16655
|
-
|
|
16657
|
+
variant: "ghost",
|
|
16658
|
+
size: "icon-sm",
|
|
16659
|
+
className: "text-muted-foreground hover:text-foreground absolute top-0 left-0",
|
|
16660
|
+
onClick: handleSearchIconClick,
|
|
16661
|
+
children: [
|
|
16662
|
+
/* @__PURE__ */ jsx179(Search, { className: "size-4" }),
|
|
16663
|
+
/* @__PURE__ */ jsx179("span", { className: "sr-only", children: t(`ui.search.button`) })
|
|
16664
|
+
]
|
|
16656
16665
|
}
|
|
16657
16666
|
),
|
|
16658
16667
|
isExpanded && /* @__PURE__ */ jsx179(
|
|
@@ -16675,11 +16684,17 @@ function ContentTableSearch({ data }) {
|
|
|
16675
16684
|
}
|
|
16676
16685
|
),
|
|
16677
16686
|
isExpanded && isSearching && /* @__PURE__ */ jsx179(RefreshCw, { className: "text-muted-foreground absolute top-1 right-1 h-4 w-4 animate-spin" }),
|
|
16678
|
-
isExpanded && !isSearching && searchTermRef.current && /* @__PURE__ */
|
|
16679
|
-
|
|
16687
|
+
isExpanded && !isSearching && searchTermRef.current && /* @__PURE__ */ jsxs101(
|
|
16688
|
+
Button,
|
|
16680
16689
|
{
|
|
16681
|
-
|
|
16682
|
-
|
|
16690
|
+
variant: "ghost",
|
|
16691
|
+
size: "icon-sm",
|
|
16692
|
+
className: "text-muted-foreground hover:text-foreground absolute top-0 right-0",
|
|
16693
|
+
onClick: handleClear,
|
|
16694
|
+
children: [
|
|
16695
|
+
/* @__PURE__ */ jsx179(X3, { className: "size-4" }),
|
|
16696
|
+
/* @__PURE__ */ jsx179("span", { className: "sr-only", children: t(`ui.buttons.clear`) })
|
|
16697
|
+
]
|
|
16683
16698
|
}
|
|
16684
16699
|
)
|
|
16685
16700
|
]
|
|
@@ -23902,4 +23917,4 @@ export {
|
|
|
23902
23917
|
useOAuthClients,
|
|
23903
23918
|
useOAuthClient
|
|
23904
23919
|
};
|
|
23905
|
-
//# sourceMappingURL=chunk-
|
|
23920
|
+
//# sourceMappingURL=chunk-LB5B5KYF.mjs.map
|