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.
- package/dist/{MySelect-wDc5_mvd.d.mts → MySelect-CEgpggSF.d.mts} +1 -5
- package/dist/{chunk-Z4ANBHUG.mjs → chunk-MFMBAPO2.mjs} +1 -2
- package/dist/components/index.mjs +1 -1
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/coreService/index.mjs +1 -1
- package/dist/modules-features/index.mjs +1 -1
- package/dist/shared/index.d.mts +1 -1
- package/dist/shared/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
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,
|
|
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,
|
package/dist/core/index.d.mts
CHANGED
|
@@ -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-
|
|
18
|
-
export { a as MySelect } from '../MySelect-
|
|
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';
|
package/dist/core/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
MyStatsCard,
|
|
30
30
|
MyTextInput2 as MyTextInput,
|
|
31
31
|
MyWeeklySessionSchedulerPicker
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-MFMBAPO2.mjs";
|
|
33
33
|
import "../chunk-SUH3FFFV.mjs";
|
|
34
34
|
import "../chunk-RJH5TVHS.mjs";
|
|
35
35
|
import "../chunk-IFV3VC5B.mjs";
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
MailTemplateDeleteButton,
|
|
114
114
|
useS_moduleConfig,
|
|
115
115
|
useStore_Authenticate
|
|
116
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-MFMBAPO2.mjs";
|
|
117
117
|
import "../chunk-SUH3FFFV.mjs";
|
|
118
118
|
import "../chunk-RJH5TVHS.mjs";
|
|
119
119
|
import "../chunk-IFV3VC5B.mjs";
|
package/dist/shared/index.d.mts
CHANGED
package/dist/shared/index.mjs
CHANGED