aq-fe-framework 0.1.821 → 0.1.822

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.
@@ -4,13 +4,9 @@ import { ReactNode } from 'react';
4
4
 
5
5
  interface MySelectProps extends SelectProps {
6
6
  label?: ReactNode;
7
- data?: Array<string | {
8
- value: string;
9
- label: string;
10
- }>;
11
7
  isLoading?: boolean;
12
8
  isError?: boolean;
13
9
  }
14
- declare function MySelect({ label, data, isLoading, isError, ...rest }: MySelectProps): react_jsx_runtime.JSX.Element;
10
+ declare function MySelect({ label, isLoading, isError, ...rest }: MySelectProps): react_jsx_runtime.JSX.Element;
15
11
 
16
12
  export { type MySelectProps as M, MySelect as a };
@@ -1254,7 +1254,7 @@ function extractTextFromReactNode(node) {
1254
1254
  return "";
1255
1255
  }
1256
1256
  function MySelect(_a) {
1257
- var _b = _a, { label, data: data2, isLoading, isError } = _b, rest = __objRest(_b, ["label", "data", "isLoading", "isError"]);
1257
+ var _b = _a, { label, isLoading, isError } = _b, rest = __objRest(_b, ["label", "isLoading", "isError"]);
1258
1258
  let placeholder = "";
1259
1259
  if (isError) {
1260
1260
  placeholder = "\u0110\xE3 x\u1EA3y ra l\u1ED7i!";
@@ -1271,7 +1271,6 @@ function MySelect(_a) {
1271
1271
  searchable: true,
1272
1272
  label,
1273
1273
  placeholder,
1274
- data: data2 != null ? data2 : [],
1275
1274
  error: isError ? true : void 0,
1276
1275
  rightSection: isLoading ? /* @__PURE__ */ jsx28(Loader, { size: "xs" }) : void 0,
1277
1276
  disabled: isLoading || isError,
@@ -70,7 +70,7 @@ import {
70
70
  useHeaderMegaMenuStore,
71
71
  useS_ButtonImport,
72
72
  useStore_BasicAppShell
73
- } from "../chunk-Z4ANBHUG.mjs";
73
+ } from "../chunk-MFMBAPO2.mjs";
74
74
  import "../chunk-SUH3FFFV.mjs";
75
75
  import "../chunk-RJH5TVHS.mjs";
76
76
  import "../chunk-IFV3VC5B.mjs";
@@ -14,8 +14,8 @@ import { MRT_RowData, MRT_ColumnDef } from 'mantine-react-table';
14
14
  import { M as MyDataTableProps } from '../MyDataTable-BZc8ObyA.mjs';
15
15
  import { RichTextEditorProps, RichTextEditorToolbarProps, RichTextEditorContentProps } from '@mantine/tiptap';
16
16
  import { UseEditorOptions } from '@tiptap/react';
17
- import { M as MySelectProps } from '../MySelect-wDc5_mvd.mjs';
18
- export { a as MySelect } from '../MySelect-wDc5_mvd.mjs';
17
+ import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
18
+ export { a as MySelect } from '../MySelect-CEgpggSF.mjs';
19
19
  import { I as IBaseEntity } from '../IBaseEntity-ChMy9RzQ.mjs';
20
20
  export { a as MyModalDelete, M as MyModalDeleteProps } from '../MyModalDelete-BfH3xRRW.mjs';
21
21
  import '../type_mutation-CCtnyeP3.mjs';
@@ -29,7 +29,7 @@ import {
29
29
  MyStatsCard,
30
30
  MyTextInput2 as MyTextInput,
31
31
  MyWeeklySessionSchedulerPicker
32
- } from "../chunk-Z4ANBHUG.mjs";
32
+ } from "../chunk-MFMBAPO2.mjs";
33
33
  import "../chunk-SUH3FFFV.mjs";
34
34
  import "../chunk-RJH5TVHS.mjs";
35
35
  import "../chunk-IFV3VC5B.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MyModalDelete
3
- } from "../chunk-Z4ANBHUG.mjs";
3
+ } from "../chunk-MFMBAPO2.mjs";
4
4
  import "../chunk-SUH3FFFV.mjs";
5
5
  import "../chunk-RJH5TVHS.mjs";
6
6
  import "../chunk-IFV3VC5B.mjs";
@@ -113,7 +113,7 @@ import {
113
113
  MailTemplateDeleteButton,
114
114
  useS_moduleConfig,
115
115
  useStore_Authenticate
116
- } from "../chunk-Z4ANBHUG.mjs";
116
+ } from "../chunk-MFMBAPO2.mjs";
117
117
  import "../chunk-SUH3FFFV.mjs";
118
118
  import "../chunk-RJH5TVHS.mjs";
119
119
  import "../chunk-IFV3VC5B.mjs";
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { M as MySelectProps } from '../MySelect-wDc5_mvd.mjs';
2
+ import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
3
3
  import '@mantine/core';
4
4
  import 'react';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MySelect
3
- } from "../chunk-Z4ANBHUG.mjs";
3
+ } from "../chunk-MFMBAPO2.mjs";
4
4
  import "../chunk-SUH3FFFV.mjs";
5
5
  import "../chunk-RJH5TVHS.mjs";
6
6
  import {
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/types/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.821",
61
+ "version": "0.1.822",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"