aq-fe-framework 0.1.454 → 0.1.455
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.
@@ -117,8 +117,8 @@ var actionConfig2 = {
|
|
117
117
|
create: {
|
118
118
|
color: "blue",
|
119
119
|
type: "submit",
|
120
|
-
icon: /* @__PURE__ */ jsx2(
|
121
|
-
defaultText: "
|
120
|
+
icon: /* @__PURE__ */ jsx2(IconPlus2, {}),
|
121
|
+
defaultText: "Th\xEAm"
|
122
122
|
},
|
123
123
|
createMultiple: {
|
124
124
|
color: "green",
|
@@ -310,7 +310,7 @@ function MyButtonCreateUpdate({
|
|
310
310
|
})
|
311
311
|
),
|
312
312
|
/* @__PURE__ */ jsx4(Space, {}),
|
313
|
-
/* @__PURE__ */ jsx4(MyButton, { fullWidth: true, actionType: "
|
313
|
+
/* @__PURE__ */ jsx4(MyButton, { fullWidth: true, actionType: "save" })
|
314
314
|
]
|
315
315
|
}
|
316
316
|
)
|
@@ -332,7 +332,7 @@ import { IconFileImport as IconFileImport3 } from "@tabler/icons-react";
|
|
332
332
|
import { useMemo } from "react";
|
333
333
|
|
334
334
|
// src/core/button/MyButtonModal.tsx
|
335
|
-
import {
|
335
|
+
import { Modal as Modal2 } from "@mantine/core";
|
336
336
|
import { Fragment as Fragment2, jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
337
337
|
function MyButtonModal({
|
338
338
|
disclosure,
|
@@ -343,7 +343,7 @@ function MyButtonModal({
|
|
343
343
|
isActionIcon = false
|
344
344
|
}) {
|
345
345
|
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
346
|
-
isActionIcon ? /* @__PURE__ */ jsx6(
|
346
|
+
isActionIcon ? /* @__PURE__ */ jsx6(MyActionIcon, __spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, color: "indigo" }, actionIconProps)) : /* @__PURE__ */ jsx6(MyButton, __spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, color: "indigo" }, buttonProps)),
|
347
347
|
/* @__PURE__ */ jsx6(
|
348
348
|
Modal2,
|
349
349
|
__spreadProps(__spreadValues({
|
package/dist/core/index.mjs
CHANGED