aq-fe-framework 0.1.61 → 0.1.62

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.
@@ -6,7 +6,6 @@ import { UseFormReturnType, useForm } from '@mantine/form';
6
6
  import { I as IUtils_Excel_ColumnConfig } from '../excel---d-HDs7.mjs';
7
7
  import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
8
8
  import { ConfigOptions } from 'export-to-csv';
9
- import { CalendarEventExternal } from '@schedule-x/calendar';
10
9
  import { DateInputProps } from '@mantine/dates';
11
10
  import { EditorOptions } from '@tiptap/react';
12
11
  import { IconProps, Icon } from '@tabler/icons-react';
@@ -313,7 +312,12 @@ interface I$2 extends NumberFormatterProps {
313
312
  }
314
313
  declare function MyNumberFormatter({ ...rest }: I$2): react_jsx_runtime.JSX.Element;
315
314
 
316
- interface MyScheduleXProps<T extends CalendarEventExternal> {
315
+ interface BaseEvent {
316
+ id: number;
317
+ start: string;
318
+ end: string;
319
+ }
320
+ interface MyScheduleXProps<T extends BaseEvent> {
317
321
  values?: T[];
318
322
  timeGridEvent?: (props: {
319
323
  calendarEvent: T;
@@ -325,7 +329,7 @@ interface MyScheduleXProps<T extends CalendarEventExternal> {
325
329
  startDayBoundaries?: string;
326
330
  endDayBoundaries?: string;
327
331
  }
328
- declare function MyScheduleX<T extends CalendarEventExternal>({ values, timeGridEvent, eventModal, nDays, startDayBoundaries, endDayBoundaries }: MyScheduleXProps<T>): react_jsx_runtime.JSX.Element;
332
+ declare function MyScheduleX<T extends BaseEvent>({ values, timeGridEvent, eventModal, nDays, startDayBoundaries, endDayBoundaries }: MyScheduleXProps<T>): react_jsx_runtime.JSX.Element;
329
333
 
330
334
  declare function AQStatCard1({ title, value, unit, description, icons, diff }: {
331
335
  title: string;
@@ -62,7 +62,7 @@ import {
62
62
  useHeaderMegaMenuStore,
63
63
  useS_ButtonImport,
64
64
  utils_layout_getItemsWithoutLinks
65
- } from "../chunk-FJEUQX2P.mjs";
65
+ } from "../chunk-DDPBT6KI.mjs";
66
66
  import "../chunk-AL73DX37.mjs";
67
67
  import "../chunk-4MLNXP25.mjs";
68
68
  import "../chunk-FWCSY2DS.mjs";
@@ -57,7 +57,7 @@ import {
57
57
  useS_authenticate,
58
58
  useS_core83092,
59
59
  utils_core83092_mergePage
60
- } from "../chunk-FJEUQX2P.mjs";
60
+ } from "../chunk-DDPBT6KI.mjs";
61
61
  import "../chunk-AL73DX37.mjs";
62
62
  import "../chunk-4MLNXP25.mjs";
63
63
  import "../chunk-FWCSY2DS.mjs";
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "types": "./dist/modules-features/index.d.mts"
19
19
  }
20
20
  },
21
- "version": "0.1.61",
21
+ "version": "0.1.62",
22
22
  "private": false,
23
23
  "files": [
24
24
  "dist"
@@ -6385,9 +6385,9 @@ function MyNumberFormatter(_a) {
6385
6385
  }
6386
6386
 
6387
6387
  // src/components/DataDisplay/ScheduleX/MyScheduleX.tsx
6388
+ import "@schedule-x/theme-default/dist/index.css";
6388
6389
  import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as ScheduleXCalendar2 } from "@schedule-x/react";
6389
6390
  import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
6390
- import "@schedule-x/theme-default/dist/index.css";
6391
6391
  import { useState as useState7 } from "react";
6392
6392
  import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
6393
6393
  import { jsx as jsx42 } from "react/jsx-runtime";