aq-fe-framework 0.1.148 → 0.1.149

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.
@@ -123,7 +123,7 @@ import { ActionIcon } from "@mantine/core";
123
123
  import { IconDeviceFloppy, IconEdit, IconPlus, IconTrash } from "@tabler/icons-react";
124
124
  import { jsx as jsx4 } from "react/jsx-runtime";
125
125
  function MyActionIcon(_a) {
126
- var _b = _a, { children, crudType = "delete" } = _b, rest = __objRest(_b, ["children", "crudType"]);
126
+ var _b = _a, { children, crudType = "default" } = _b, rest = __objRest(_b, ["children", "crudType"]);
127
127
  if (crudType == "default") {
128
128
  return /* @__PURE__ */ jsx4(ActionIcon, __spreadProps(__spreadValues({ color: "indigo" }, rest), { children }));
129
129
  }
@@ -26,11 +26,11 @@ declare function MyBoxesBackground({ title, desc }: {
26
26
  desc?: string;
27
27
  }): react_jsx_runtime.JSX.Element;
28
28
 
29
- type T0MANTINE_SIZE = number | MantineSize | (string & {}) | undefined;
30
- type T0CRUD = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "check" | "import" | "print" | "cancel" | "export" | "select";
29
+ type TYPES_MANTINE_SIZE = number | MantineSize | (string & {}) | undefined;
30
+ type TYPES_CRUD = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "check" | "import" | "print" | "cancel" | "export" | "select";
31
31
 
32
32
  interface IMyActionIcon extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
33
- crudType?: T0CRUD;
33
+ crudType?: TYPES_CRUD;
34
34
  children?: ReactNode;
35
35
  }
36
36
  declare function MyActionIcon({ children, crudType, ...rest }: IMyActionIcon): react_jsx_runtime.JSX.Element | undefined;
@@ -44,8 +44,8 @@ declare function MyActionIconCheck({ modalSize, comment, ...rest }: IActionIconC
44
44
  interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
45
45
  title?: string;
46
46
  children?: ReactNode;
47
- crudType?: T0CRUD;
48
- modalSize?: T0MANTINE_SIZE;
47
+ crudType?: TYPES_CRUD;
48
+ modalSize?: TYPES_MANTINE_SIZE;
49
49
  disclosure: ReturnType<typeof useDisclosure>;
50
50
  fullScreen?: boolean;
51
51
  icon?: ReactNode;
@@ -96,7 +96,7 @@ declare function MyAnchorViewPDF({ label, pdfLink }: {
96
96
  }): react_jsx_runtime.JSX.Element;
97
97
 
98
98
  interface IMyButton extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ButtonProps {
99
- crudType?: T0CRUD;
99
+ crudType?: TYPES_CRUD;
100
100
  children?: ReactNode;
101
101
  }
102
102
  declare function MyButton({ children, crudType, ...rest }: IMyButton): react_jsx_runtime.JSX.Element | undefined;
@@ -105,8 +105,8 @@ interface IMyButtonModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonEleme
105
105
  label?: string;
106
106
  title?: string;
107
107
  children?: ReactNode;
108
- crudType?: T0CRUD;
109
- modalSize?: T0MANTINE_SIZE;
108
+ crudType?: TYPES_CRUD;
109
+ modalSize?: TYPES_MANTINE_SIZE;
110
110
  objectName?: string;
111
111
  disclosure: ReturnType<typeof useDisclosure>;
112
112
  fullScreen?: boolean;
@@ -195,7 +195,7 @@ interface IAQSelectTableByOpenModal<TData extends MRT_RowData> extends Omit<MRT_
195
195
  label?: string;
196
196
  listLabel?: string;
197
197
  title?: string;
198
- modalSize?: T0MANTINE_SIZE;
198
+ modalSize?: TYPES_MANTINE_SIZE;
199
199
  objectName?: string;
200
200
  fullScreen?: boolean;
201
201
  setSelectedData: (data: any) => void;
@@ -66,7 +66,7 @@ import {
66
66
  useS_BasicAppShell,
67
67
  useS_ButtonImport,
68
68
  utils_layout_getItemsWithoutLinks
69
- } from "../chunk-ATY4QSCJ.mjs";
69
+ } from "../chunk-PAHZ57DT.mjs";
70
70
  import "../chunk-Z6OQG54Q.mjs";
71
71
  import "../chunk-Y3YGC5IH.mjs";
72
72
  import "../chunk-5U2JSHSJ.mjs";
@@ -24,7 +24,7 @@ import {
24
24
  groupToTwoLevels,
25
25
  useS_authenticate,
26
26
  utils_layout_getItemsWithoutLinks
27
- } from "../chunk-ATY4QSCJ.mjs";
27
+ } from "../chunk-PAHZ57DT.mjs";
28
28
  import {
29
29
  baseAxios_default,
30
30
  useQ_AQ_GetAQModule
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.148",
25
+ "version": "0.1.149",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"