aq-fe-framework 0.1.277 → 0.1.278

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.
@@ -1,9 +1,9 @@
1
- import {
2
- enum_daysOfWeek
3
- } from "./chunk-K6S7R6LU.mjs";
4
1
  import {
5
2
  const_object_colors
6
3
  } from "./chunk-NWBLJ3W3.mjs";
4
+ import {
5
+ enum_daysOfWeek
6
+ } from "./chunk-K6S7R6LU.mjs";
7
7
  import {
8
8
  baseAxios_default,
9
9
  useMyReactMutation,
@@ -7158,7 +7158,9 @@ function MyTextEditor(_a) {
7158
7158
  value,
7159
7159
  error,
7160
7160
  label,
7161
- withAsterisk
7161
+ withAsterisk,
7162
+ inputWrapperProps,
7163
+ richTextEditorProps
7162
7164
  } = _b, rest = __objRest(_b, [
7163
7165
  "autoHiddenToolBar",
7164
7166
  "contentHeight",
@@ -7166,7 +7168,9 @@ function MyTextEditor(_a) {
7166
7168
  "value",
7167
7169
  "error",
7168
7170
  "label",
7169
- "withAsterisk"
7171
+ "withAsterisk",
7172
+ "inputWrapperProps",
7173
+ "richTextEditorProps"
7170
7174
  ]);
7171
7175
  const [hiddenToolBar, setHiddenToolBar] = useState9(autoHiddenToolBar);
7172
7176
  const editor = useEditor(__spreadValues({
@@ -7251,7 +7255,7 @@ function MyTextEditor(_a) {
7251
7255
  editor.commands.setContent(value);
7252
7256
  }
7253
7257
  }, [value, editor]);
7254
- return /* @__PURE__ */ jsx52(Input.Wrapper, { label, flex: 1, error, withAsterisk, children: /* @__PURE__ */ jsxs30(RichTextEditor, { editor, style: { border: error && "1px solid #e03131" }, children: [
7258
+ return /* @__PURE__ */ jsx52(Input.Wrapper, __spreadProps(__spreadValues({ label, flex: 1, error, withAsterisk }, inputWrapperProps), { children: /* @__PURE__ */ jsxs30(RichTextEditor, __spreadProps(__spreadValues({ editor, style: { border: error && "1px solid #e03131" } }, richTextEditorProps), { children: [
7255
7259
  /* @__PURE__ */ jsxs30(RichTextEditor.Toolbar, { hidden: hiddenToolBar, sticky: true, stickyOffset: 60, children: [
7256
7260
  /* @__PURE__ */ jsxs30(RichTextEditor.ControlsGroup, { children: [
7257
7261
  /* @__PURE__ */ jsx52(RichTextEditor.Bold, {}),
@@ -7305,7 +7309,7 @@ function MyTextEditor(_a) {
7305
7309
  children: /* @__PURE__ */ jsx52(RichTextEditor.Content, { mih: contentHeight })
7306
7310
  }
7307
7311
  )
7308
- ] }) });
7312
+ ] })) }));
7309
7313
  }
7310
7314
 
7311
7315
  // src/components/Inputs/WeeklySessionSchedulerPicker/MyWeeklySessionSchedulerPicker.tsx
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React$1, { ReactNode, ComponentProps } from 'react';
3
- import { MantineSize, ActionIconProps, ButtonProps, ModalProps, useModalsStack, CheckboxProps, SelectProps, NumberFormatterProps, FieldsetProps, FileInputProps, NumberInputProps, TextareaProps, TextInputProps, ContainerProps, FlexProps, GroupProps, TypographyStylesProviderProps, TabsProps, SkeletonProps } from '@mantine/core';
3
+ import { MantineSize, ActionIconProps, ButtonProps, ModalProps, useModalsStack, CheckboxProps, SelectProps, NumberFormatterProps, FieldsetProps, FileInputProps, NumberInputProps, TextareaProps, InputWrapperProps, TextInputProps, ContainerProps, FlexProps, GroupProps, TypographyStylesProviderProps, TabsProps, SkeletonProps } from '@mantine/core';
4
4
  import { M as MyApiResponse } from '../createBaseApi-BAYnbGVT.mjs';
5
5
  import { AxiosResponse } from 'axios';
6
6
  import { useDisclosure, useListState } from '@mantine/hooks';
@@ -11,6 +11,7 @@ import { I as IUtils_Excel_ColumnConfig, a as IAQFileDetail } from '../utils_fil
11
11
  import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
12
12
  import { ConfigOptions } from 'export-to-csv';
13
13
  import { DateInputProps } from '@mantine/dates';
14
+ import { RichTextEditorProps } from '@mantine/tiptap';
14
15
  import { EditorOptions } from '@tiptap/react';
15
16
  import { IconProps, Icon } from '@tabler/icons-react';
16
17
  import { CalendarEventExternal } from '@schedule-x/calendar';
@@ -406,8 +407,10 @@ interface IMyTextEditor extends Partial<EditorOptions> {
406
407
  contentHeight?: MantineSize | string;
407
408
  autoHiddenToolBar?: boolean;
408
409
  withAsterisk?: boolean;
410
+ inputWrapperProps?: InputWrapperProps;
411
+ richTextEditorProps?: RichTextEditorProps;
409
412
  }
410
- declare function MyTextEditor({ autoHiddenToolBar, contentHeight, onChange, value, error, label, withAsterisk, ...rest }: IMyTextEditor): react_jsx_runtime.JSX.Element;
413
+ declare function MyTextEditor({ autoHiddenToolBar, contentHeight, onChange, value, error, label, withAsterisk, inputWrapperProps, richTextEditorProps, ...rest }: IMyTextEditor): react_jsx_runtime.JSX.Element;
411
414
 
412
415
  interface IMyTextInput extends TextInputProps {
413
416
  label?: string;
@@ -69,9 +69,9 @@ import {
69
69
  useS_BasicAppShell,
70
70
  useS_ButtonImport,
71
71
  utils_layout_getItemsWithoutLinks
72
- } from "../chunk-UHTR5TVI.mjs";
73
- import "../chunk-K6S7R6LU.mjs";
72
+ } from "../chunk-EIPT2DZW.mjs";
74
73
  import "../chunk-NWBLJ3W3.mjs";
74
+ import "../chunk-K6S7R6LU.mjs";
75
75
  import "../chunk-KKJ3OEEW.mjs";
76
76
  import "../chunk-Y3YGC5IH.mjs";
77
77
  import "../chunk-5U2JSHSJ.mjs";
@@ -24,17 +24,17 @@ import {
24
24
  useS_BasicAppShell,
25
25
  useS_authenticate,
26
26
  utils_layout_getItemsWithoutLinks
27
- } from "../chunk-UHTR5TVI.mjs";
28
- import {
29
- enum_emailConfigModule
30
- } from "../chunk-VH4ZAD6M.mjs";
31
- import "../chunk-K6S7R6LU.mjs";
27
+ } from "../chunk-EIPT2DZW.mjs";
32
28
  import {
33
29
  const_object_documentTypes
34
30
  } from "../chunk-GFEMKKFH.mjs";
35
31
  import {
36
32
  const_object_colors
37
33
  } from "../chunk-NWBLJ3W3.mjs";
34
+ import {
35
+ enum_emailConfigModule
36
+ } from "../chunk-VH4ZAD6M.mjs";
37
+ import "../chunk-K6S7R6LU.mjs";
38
38
  import {
39
39
  baseAxios_default,
40
40
  useQ_AQ_GetAQModule,
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "types": "./dist/enum/index.d.mts"
35
35
  }
36
36
  },
37
- "version": "0.1.277",
37
+ "version": "0.1.278",
38
38
  "private": false,
39
39
  "files": [
40
40
  "dist"