aq-fe-framework 0.1.405 → 0.1.407

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.
@@ -3,12 +3,12 @@ import {
3
3
  MyFlexColumn,
4
4
  MyFlexRow
5
5
  } from "./chunk-GEYCGM75.mjs";
6
- import {
7
- enum_daysOfWeek
8
- } from "./chunk-K6S7R6LU.mjs";
9
6
  import {
10
7
  const_object_colors
11
8
  } from "./chunk-7ORPZMGL.mjs";
9
+ import {
10
+ enum_daysOfWeek
11
+ } from "./chunk-K6S7R6LU.mjs";
12
12
  import {
13
13
  useMyReactMutation,
14
14
  useMyReactQuery
@@ -687,7 +687,15 @@ function MyTextInput(_a) {
687
687
  }
688
688
  },
689
689
  placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "",
690
- label
690
+ label,
691
+ styles: (theme, props) => ({
692
+ input: {
693
+ backgroundColor: props.disabled ? theme.colors.gray[1] : void 0,
694
+ color: props.disabled ? theme.colors.gray[6] : void 0,
695
+ borderColor: props.disabled ? "transparent" : void 0,
696
+ cursor: props.disabled ? "not-allowed" : void 0
697
+ }
698
+ })
691
699
  }, rest)
692
700
  );
693
701
  }
@@ -28,7 +28,7 @@ interface CoreButtonCreateUpdateProps<IReq, IRes> {
28
28
  buttonProps?: ButtonProps;
29
29
  scrollAreaAutosizeProps?: ScrollAreaAutosizeProps;
30
30
  isUpdate?: boolean;
31
- onSubmit: (values: IReq) => Promise<AxiosResponse<MyApiResponse<IRes>>> | false;
31
+ onSubmit: (values: IReq) => Promise<AxiosResponse<MyApiResponse<IRes>>> | false | void;
32
32
  onSuccess?: (...args: any[]) => void;
33
33
  onError?: (...args: any[]) => void;
34
34
  ignoreDefaultOnSuccess?: boolean;
@@ -13,10 +13,10 @@ import {
13
13
  MyStatsCard,
14
14
  MyTextInput,
15
15
  MyWeeklySessionSchedulerPicker
16
- } from "../chunk-QHRT22YZ.mjs";
16
+ } from "../chunk-RK6VMOUO.mjs";
17
17
  import "../chunk-GEYCGM75.mjs";
18
- import "../chunk-K6S7R6LU.mjs";
19
18
  import "../chunk-7ORPZMGL.mjs";
19
+ import "../chunk-K6S7R6LU.mjs";
20
20
  import "../chunk-PRN7KYPD.mjs";
21
21
  import "../chunk-7ZCOFATU.mjs";
22
22
  import "../chunk-FWCSY2DS.mjs";
@@ -11,6 +11,9 @@ import {
11
11
  import {
12
12
  U0DateToDDMMYYYString
13
13
  } from "../chunk-I2XIN2R3.mjs";
14
+ import {
15
+ const_object_documentTypes
16
+ } from "../chunk-BZMQOGL6.mjs";
14
17
  import {
15
18
  F_authenticate_Logout,
16
19
  MyActionIconDelete,
@@ -42,22 +45,19 @@ import {
42
45
  MyButton as MyButton2,
43
46
  MyDataTableSelectOne,
44
47
  MyTextInput as MyTextInput2
45
- } from "../chunk-QHRT22YZ.mjs";
48
+ } from "../chunk-RK6VMOUO.mjs";
46
49
  import {
47
50
  MyDataTable,
48
51
  MyFlexColumn,
49
52
  MyFlexRow
50
53
  } from "../chunk-GEYCGM75.mjs";
54
+ import {
55
+ const_object_colors
56
+ } from "../chunk-7ORPZMGL.mjs";
51
57
  import {
52
58
  enum_emailConfigModule
53
59
  } from "../chunk-VH4ZAD6M.mjs";
54
60
  import "../chunk-K6S7R6LU.mjs";
55
- import {
56
- const_object_documentTypes
57
- } from "../chunk-BZMQOGL6.mjs";
58
- import {
59
- const_object_colors
60
- } from "../chunk-7ORPZMGL.mjs";
61
61
  import {
62
62
  baseAxios_default,
63
63
  createBaseApi,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.405",
45
+ "version": "0.1.407",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"