aq-fe-framework 0.1.334 → 0.1.335

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.
@@ -415,13 +415,14 @@ function MyDayOfWeekPicker({ value = [], onChange }) {
415
415
  import { Loader, Select } from "@mantine/core";
416
416
  import { jsx as jsx9 } from "react/jsx-runtime";
417
417
  function MySelect(_a) {
418
- var _b = _a, { label, data, isLoading } = _b, rest = __objRest(_b, ["label", "data", "isLoading"]);
418
+ var _b = _a, { label, data } = _b, rest = __objRest(_b, ["label", "data"]);
419
+ const isLoading = data === void 0;
419
420
  return /* @__PURE__ */ jsx9(
420
421
  Select,
421
422
  __spreadValues({
422
423
  label,
423
- placeholder: label ? `Ch\u1ECDn ${label.toLowerCase()}` : "",
424
- data,
424
+ placeholder: isLoading ? "\u0110ang t\u1EA3i..." : label ? `Ch\u1ECDn ${label.toLowerCase()}` : "",
425
+ data: data != null ? data : [],
425
426
  rightSection: isLoading ? /* @__PURE__ */ jsx9(Loader, { size: "xs" }) : void 0,
426
427
  disabled: isLoading
427
428
  }, rest)
@@ -79,13 +79,12 @@ declare function MyDayOfWeekPicker({ value, onChange }: CoreDayOfWeekPickerProps
79
79
 
80
80
  interface MySelectProps extends SelectProps {
81
81
  label?: string;
82
- data: Array<string | {
82
+ data?: Array<string | {
83
83
  value: string;
84
84
  label: string;
85
85
  }>;
86
- isLoading?: boolean;
87
86
  }
88
- declare function MySelect({ label, data, isLoading, ...rest }: MySelectProps): react_jsx_runtime.JSX.Element;
87
+ declare function MySelect({ label, data, ...rest }: MySelectProps): react_jsx_runtime.JSX.Element;
89
88
 
90
89
  interface CoreTextInputProps extends TextInputProps {
91
90
  label?: string;
@@ -11,7 +11,7 @@ import {
11
11
  MyStatsCard,
12
12
  MyTextInput,
13
13
  MyWeeklySessionSchedulerPicker
14
- } from "../chunk-W73H7SCD.mjs";
14
+ } from "../chunk-SIHFFLRO.mjs";
15
15
  import "../chunk-GEYCGM75.mjs";
16
16
  import "../chunk-NWBLJ3W3.mjs";
17
17
  import "../chunk-K6S7R6LU.mjs";
@@ -2,6 +2,10 @@ export { I as IEmailConfig } from '../EmailConfig-Bza2PzTi.mjs';
2
2
  export { I as IAQModule } from '../IAQModule-DfONsRwE.mjs';
3
3
  import { I as IBaseEntity } from '../IBaseEntity-BprRafT5.mjs';
4
4
 
5
+ interface IPageContent extends IBaseEntity {
6
+ description?: string;
7
+ }
8
+
5
9
  interface IFile {
6
10
  fileName?: string | undefined;
7
11
  fileExtension?: string | undefined;
@@ -51,8 +55,4 @@ interface IUser extends IBaseEntity {
51
55
  email?: string;
52
56
  }
53
57
 
54
- interface IPageContent extends IBaseEntity {
55
- description?: string;
56
- }
57
-
58
58
  export { IBaseEntity, type IDocument, type IFile, type IPageContent, type IPagePermission, type IRole, type IUser };
@@ -41,11 +41,14 @@ import "../chunk-5U2JSHSJ.mjs";
41
41
  import {
42
42
  const_object_documentTypes
43
43
  } from "../chunk-BZMQOGL6.mjs";
44
+ import {
45
+ enum_emailConfigModule
46
+ } from "../chunk-VH4ZAD6M.mjs";
44
47
  import {
45
48
  MyButton as MyButton2,
46
49
  MyDataTableSelectOne,
47
50
  MyTextInput as MyTextInput2
48
- } from "../chunk-W73H7SCD.mjs";
51
+ } from "../chunk-SIHFFLRO.mjs";
49
52
  import {
50
53
  MyDataTable,
51
54
  MyFlexColumn,
@@ -54,9 +57,6 @@ import {
54
57
  import {
55
58
  const_object_colors
56
59
  } from "../chunk-NWBLJ3W3.mjs";
57
- import {
58
- enum_emailConfigModule
59
- } from "../chunk-VH4ZAD6M.mjs";
60
60
  import "../chunk-K6S7R6LU.mjs";
61
61
  import {
62
62
  baseAxios_default,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.334",
45
+ "version": "0.1.335",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"