aq-fe-framework 0.1.335 → 0.1.337

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
- const_object_colors
8
- } from "./chunk-NWBLJ3W3.mjs";
9
6
  import {
10
7
  enum_daysOfWeek
11
8
  } from "./chunk-K6S7R6LU.mjs";
9
+ import {
10
+ const_object_colors
11
+ } from "./chunk-NWBLJ3W3.mjs";
12
12
  import {
13
13
  useMyReactMutation
14
14
  } from "./chunk-YQPDRFRL.mjs";
@@ -411,19 +411,156 @@ function MyDayOfWeekPicker({ value = [], onChange }) {
411
411
  )) }) });
412
412
  }
413
413
 
414
+ // src/core/input/MyRichTextEditor.tsx
415
+ import { Input, ScrollArea } from "@mantine/core";
416
+ import { Link, RichTextEditor as MantineRichTextEditor, RichTextEditor } from "@mantine/tiptap";
417
+ import FileHandler from "@tiptap-pro/extension-file-handler";
418
+ import Highlight from "@tiptap/extension-highlight";
419
+ import Image from "@tiptap/extension-image";
420
+ import SubScript from "@tiptap/extension-subscript";
421
+ import Superscript from "@tiptap/extension-superscript";
422
+ import TextAlign from "@tiptap/extension-text-align";
423
+ import Underline from "@tiptap/extension-underline";
424
+ import { useEditor } from "@tiptap/react";
425
+ import StarterKit from "@tiptap/starter-kit";
426
+ import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
427
+ function MyRichTextEditor(props) {
428
+ const editor = useEditor({
429
+ extensions: [
430
+ StarterKit,
431
+ Underline,
432
+ Link,
433
+ Superscript,
434
+ SubScript,
435
+ Highlight,
436
+ Image.extend({
437
+ addAttributes() {
438
+ return {
439
+ src: {
440
+ default: null
441
+ },
442
+ alt: {
443
+ default: null
444
+ }
445
+ };
446
+ },
447
+ parseHTML() {
448
+ return [
449
+ {
450
+ tag: "img[src]"
451
+ }
452
+ ];
453
+ },
454
+ renderHTML({ HTMLAttributes }) {
455
+ return ["img", HTMLAttributes];
456
+ }
457
+ }),
458
+ TextAlign.configure({ types: ["heading", "paragraph"] }),
459
+ FileHandler.configure({
460
+ allowedMimeTypes: ["image/png", "image/jpeg", "image/gif", "image/webp"],
461
+ onDrop: (currentEditor, files, pos) => {
462
+ files.forEach((file) => {
463
+ const fileReader = new FileReader();
464
+ fileReader.readAsDataURL(file);
465
+ fileReader.onload = () => {
466
+ currentEditor.chain().insertContentAt(pos, {
467
+ type: "image",
468
+ attrs: {
469
+ src: fileReader.result
470
+ }
471
+ }).focus().run();
472
+ };
473
+ });
474
+ },
475
+ onPaste: (currentEditor, files, htmlContent) => {
476
+ files.forEach((file) => {
477
+ if (htmlContent) {
478
+ console.log(htmlContent);
479
+ return false;
480
+ }
481
+ const fileReader = new FileReader();
482
+ fileReader.readAsDataURL(file);
483
+ fileReader.onload = () => {
484
+ currentEditor.chain().insertContentAt(currentEditor.state.selection.anchor, {
485
+ type: "image",
486
+ attrs: {
487
+ src: fileReader.result
488
+ }
489
+ }).focus().run();
490
+ };
491
+ });
492
+ }
493
+ })
494
+ ],
495
+ content: props.value,
496
+ onUpdate: ({ editor: editor2 }) => {
497
+ props.onChange(editor2.getHTML());
498
+ }
499
+ });
500
+ return /* @__PURE__ */ jsx9(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs5(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
501
+ /* @__PURE__ */ jsxs5(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({ sticky: true, stickyOffset: 60 }, props.richTextEditorToolBarProps), { children: [
502
+ /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
503
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Bold, {}),
504
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Italic, {}),
505
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Underline, {}),
506
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Strikethrough, {}),
507
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.ClearFormatting, {}),
508
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Highlight, {}),
509
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Code, {})
510
+ ] }),
511
+ /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
512
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.H1, {}),
513
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.H2, {}),
514
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.H3, {}),
515
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.H4, {})
516
+ ] }),
517
+ /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
518
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Blockquote, {}),
519
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Hr, {}),
520
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.BulletList, {}),
521
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.OrderedList, {}),
522
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Subscript, {}),
523
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Superscript, {})
524
+ ] }),
525
+ /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
526
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Link, {}),
527
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.Unlink, {})
528
+ ] }),
529
+ /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
530
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.AlignLeft, {}),
531
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.AlignCenter, {}),
532
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.AlignJustify, {}),
533
+ /* @__PURE__ */ jsx9(MantineRichTextEditor.AlignRight, {})
534
+ ] })
535
+ ] })),
536
+ /* @__PURE__ */ jsx9(
537
+ ScrollArea.Autosize,
538
+ __spreadProps(__spreadValues({
539
+ onMouseDown: () => {
540
+ editor == null ? void 0 : editor.commands.focus();
541
+ },
542
+ mah: "300",
543
+ style: { cursor: "text" }
544
+ }, props.scrollAreaAutosizeProps), {
545
+ children: /* @__PURE__ */ jsx9(RichTextEditor.Content, __spreadValues({ mih: "300" }, props.richTextEditorContentProps))
546
+ })
547
+ )
548
+ ] })) }));
549
+ }
550
+
414
551
  // src/core/input/MySelect.tsx
415
552
  import { Loader, Select } from "@mantine/core";
416
- import { jsx as jsx9 } from "react/jsx-runtime";
553
+ import { jsx as jsx10 } from "react/jsx-runtime";
417
554
  function MySelect(_a) {
418
555
  var _b = _a, { label, data } = _b, rest = __objRest(_b, ["label", "data"]);
419
556
  const isLoading = data === void 0;
420
- return /* @__PURE__ */ jsx9(
557
+ return /* @__PURE__ */ jsx10(
421
558
  Select,
422
559
  __spreadValues({
423
560
  label,
424
561
  placeholder: isLoading ? "\u0110ang t\u1EA3i..." : label ? `Ch\u1ECDn ${label.toLowerCase()}` : "",
425
562
  data: data != null ? data : [],
426
- rightSection: isLoading ? /* @__PURE__ */ jsx9(Loader, { size: "xs" }) : void 0,
563
+ rightSection: isLoading ? /* @__PURE__ */ jsx10(Loader, { size: "xs" }) : void 0,
427
564
  disabled: isLoading
428
565
  }, rest)
429
566
  );
@@ -431,10 +568,10 @@ function MySelect(_a) {
431
568
 
432
569
  // src/core/input/MyTextInput.tsx
433
570
  import { TextInput } from "@mantine/core";
434
- import { jsx as jsx10 } from "react/jsx-runtime";
571
+ import { jsx as jsx11 } from "react/jsx-runtime";
435
572
  function MyTextInput(_a) {
436
573
  var _b = _a, { label, isPhoneNumber } = _b, rest = __objRest(_b, ["label", "isPhoneNumber"]);
437
- return /* @__PURE__ */ jsx10(
574
+ return /* @__PURE__ */ jsx11(
438
575
  TextInput,
439
576
  __spreadValues({
440
577
  onKeyDown: (e) => {
@@ -470,12 +607,12 @@ import {
470
607
  Group as Group3,
471
608
  NumberInput,
472
609
  Paper,
473
- ScrollArea,
610
+ ScrollArea as ScrollArea2,
474
611
  Text as Text3
475
612
  } from "@mantine/core";
476
613
  import { IconPlus as IconPlus4, IconTrash as IconTrash3 } from "@tabler/icons-react";
477
614
  import { useState as useState2 } from "react";
478
- import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
615
+ import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
479
616
  function MyWeeklySessionSchedulerPicker({
480
617
  value = [],
481
618
  onChange
@@ -506,8 +643,8 @@ function MyWeeklySessionSchedulerPicker({
506
643
  return acc;
507
644
  }, {});
508
645
  const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
509
- return /* @__PURE__ */ jsx11(Paper, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs5(MyFlexColumn, { children: [
510
- /* @__PURE__ */ jsx11(Center, { children: /* @__PURE__ */ jsx11(
646
+ return /* @__PURE__ */ jsx12(Paper, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs6(MyFlexColumn, { children: [
647
+ /* @__PURE__ */ jsx12(Center, { children: /* @__PURE__ */ jsx12(
511
648
  MyDayOfWeekPicker,
512
649
  {
513
650
  value: selectedDays,
@@ -517,41 +654,41 @@ function MyWeeklySessionSchedulerPicker({
517
654
  }
518
655
  }
519
656
  ) }),
520
- /* @__PURE__ */ jsx11(Divider, { my: "xs" }),
521
- /* @__PURE__ */ jsx11(Center, { children: /* @__PURE__ */ jsx11(ScrollArea.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx11(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
657
+ /* @__PURE__ */ jsx12(Divider, { my: "xs" }),
658
+ /* @__PURE__ */ jsx12(Center, { children: /* @__PURE__ */ jsx12(ScrollArea2.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx12(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
522
659
  var _a;
523
- return /* @__PURE__ */ jsxs5(
660
+ return /* @__PURE__ */ jsxs6(
524
661
  Paper,
525
662
  {
526
663
  w: "100%",
527
664
  p: "md",
528
665
  bg: const_object_colors.mantineBackgroundBlueLight,
529
666
  children: [
530
- /* @__PURE__ */ jsxs5(Group3, { gap: "apart", children: [
531
- /* @__PURE__ */ jsx11(Text3, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
532
- /* @__PURE__ */ jsx11(
667
+ /* @__PURE__ */ jsxs6(Group3, { gap: "apart", children: [
668
+ /* @__PURE__ */ jsx12(Text3, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
669
+ /* @__PURE__ */ jsx12(
533
670
  Button5,
534
671
  {
535
672
  color: "teal.5",
536
- leftSection: /* @__PURE__ */ jsx11(IconPlus4, { size: 14 }),
673
+ leftSection: /* @__PURE__ */ jsx12(IconPlus4, { size: 14 }),
537
674
  onClick: () => handleAddSession(dayOfWeek),
538
675
  children: "Th\xEAm bu\u1ED5i"
539
676
  }
540
677
  )
541
678
  ] }),
542
- /* @__PURE__ */ jsx11(Divider, { my: "sm" }),
679
+ /* @__PURE__ */ jsx12(Divider, { my: "sm" }),
543
680
  (_a = grouped[dayOfWeek]) == null ? void 0 : _a.map((item, indexInDay) => {
544
681
  const globalIndex = value.findIndex(
545
682
  (v) => v === item
546
683
  );
547
- return /* @__PURE__ */ jsxs5(
684
+ return /* @__PURE__ */ jsxs6(
548
685
  Group3,
549
686
  {
550
687
  mt: "xs",
551
688
  gap: "xs",
552
689
  align: "flex-end",
553
690
  children: [
554
- /* @__PURE__ */ jsx11(
691
+ /* @__PURE__ */ jsx12(
555
692
  NumberInput,
556
693
  {
557
694
  label: "Ti\u1EBFt b\u1EAFt \u0111\u1EA7u",
@@ -563,7 +700,7 @@ function MyWeeklySessionSchedulerPicker({
563
700
  )
564
701
  }
565
702
  ),
566
- /* @__PURE__ */ jsx11(
703
+ /* @__PURE__ */ jsx12(
567
704
  NumberInput,
568
705
  {
569
706
  label: "S\u1ED1 ti\u1EBFt",
@@ -575,7 +712,7 @@ function MyWeeklySessionSchedulerPicker({
575
712
  )
576
713
  }
577
714
  ),
578
- /* @__PURE__ */ jsx11(
715
+ /* @__PURE__ */ jsx12(
579
716
  NumberInput,
580
717
  {
581
718
  label: "S\u1ED1 ph\xFAt ",
@@ -584,13 +721,13 @@ function MyWeeklySessionSchedulerPicker({
584
721
  value: item.durationMinutes
585
722
  }
586
723
  ),
587
- /* @__PURE__ */ jsx11(
724
+ /* @__PURE__ */ jsx12(
588
725
  Button5,
589
726
  {
590
727
  variant: "light",
591
728
  color: "red",
592
729
  onClick: () => handleRemove(globalIndex),
593
- leftSection: /* @__PURE__ */ jsx11(IconTrash3, { size: 14 }),
730
+ leftSection: /* @__PURE__ */ jsx12(IconTrash3, { size: 14 }),
594
731
  children: "X\xF3a bu\u1ED5i"
595
732
  }
596
733
  )
@@ -609,10 +746,10 @@ function MyWeeklySessionSchedulerPicker({
609
746
 
610
747
  // src/core/layout/MyFlexColumn.tsx
611
748
  import { Flex } from "@mantine/core";
612
- import { jsx as jsx12 } from "react/jsx-runtime";
749
+ import { jsx as jsx13 } from "react/jsx-runtime";
613
750
  function MyFlexColumn2(_a) {
614
751
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
615
- return /* @__PURE__ */ jsx12(Flex, __spreadProps(__spreadValues({ direction: "column", gap: "md" }, rest), { children }));
752
+ return /* @__PURE__ */ jsx13(Flex, __spreadProps(__spreadValues({ direction: "column", gap: "md" }, rest), { children }));
616
753
  }
617
754
 
618
755
  export {
@@ -624,6 +761,7 @@ export {
624
761
  MyLabelValueRow,
625
762
  MyStatsCard,
626
763
  MyDayOfWeekPicker,
764
+ MyRichTextEditor,
627
765
  MySelect,
628
766
  MyTextInput,
629
767
  MyWeeklySessionSchedulerPicker,
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { t as type_action } from '../types-B5rmBuXz.mjs';
3
- import { ActionIconProps, ButtonProps, ModalProps, TextProps, GroupProps, ThemeIconProps, SelectProps, TextInputProps, FlexProps } from '@mantine/core';
3
+ import { ActionIconProps, ButtonProps, ModalProps, TextProps, GroupProps, ThemeIconProps, InputWrapperProps, ScrollAreaAutosizeProps, SelectProps, TextInputProps, FlexProps } from '@mantine/core';
4
4
  import { ReactNode } from 'react';
5
5
  import { M as MyApiResponse } from '../createBaseApi-D9OK2lA_.mjs';
6
6
  import { AxiosResponse } from 'axios';
@@ -8,6 +8,7 @@ import { UseFormReturnType } from '@mantine/form';
8
8
  import { useDisclosure } from '@mantine/hooks';
9
9
  import { UseQueryResult } from '@tanstack/react-query';
10
10
  import { MRT_RowData, MRT_ColumnDef } from 'mantine-react-table';
11
+ import { RichTextEditorProps, RichTextEditorToolbarProps, RichTextEditorContentProps } from '@mantine/tiptap';
11
12
  import '../IBaseEntity-BprRafT5.mjs';
12
13
 
13
14
  interface CoreActionIconProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
@@ -77,6 +78,17 @@ interface CoreDayOfWeekPickerProps {
77
78
  }
78
79
  declare function MyDayOfWeekPicker({ value, onChange }: CoreDayOfWeekPickerProps): react_jsx_runtime.JSX.Element;
79
80
 
81
+ interface MyRichTextEditorProps {
82
+ value: string;
83
+ onChange: (value: string) => void;
84
+ richTextEditorProps?: RichTextEditorProps;
85
+ richTextEditorToolBarProps?: RichTextEditorToolbarProps;
86
+ richTextEditorContentProps?: RichTextEditorContentProps;
87
+ inputWrapperProps?: InputWrapperProps;
88
+ scrollAreaAutosizeProps?: ScrollAreaAutosizeProps;
89
+ }
90
+ declare function MyRichTextEditor(props: MyRichTextEditorProps): react_jsx_runtime.JSX.Element;
91
+
80
92
  interface MySelectProps extends SelectProps {
81
93
  label?: string;
82
94
  data?: Array<string | {
@@ -110,4 +122,4 @@ interface IMyFlexColumn extends FlexProps {
110
122
  }
111
123
  declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn): react_jsx_runtime.JSX.Element;
112
124
 
113
- export { type IWeeklySession, MyActionIcon, MyButton, MyButtonCreateUpdate, MyButtonModal, MyDataTableSelectOne, MyDayOfWeekPicker, MyFlexColumn, MyLabelValueRow, MySelect, MyStatsCard, MyTextInput, MyWeeklySessionSchedulerPicker, type WeeklySessionSchedulerProps };
125
+ export { type IWeeklySession, MyActionIcon, MyButton, MyButtonCreateUpdate, MyButtonModal, MyDataTableSelectOne, MyDayOfWeekPicker, MyFlexColumn, MyLabelValueRow, MyRichTextEditor, MySelect, MyStatsCard, MyTextInput, MyWeeklySessionSchedulerPicker, type WeeklySessionSchedulerProps };
@@ -7,14 +7,15 @@ import {
7
7
  MyDayOfWeekPicker,
8
8
  MyFlexColumn,
9
9
  MyLabelValueRow,
10
+ MyRichTextEditor,
10
11
  MySelect,
11
12
  MyStatsCard,
12
13
  MyTextInput,
13
14
  MyWeeklySessionSchedulerPicker
14
- } from "../chunk-SIHFFLRO.mjs";
15
+ } from "../chunk-INS6N4RV.mjs";
15
16
  import "../chunk-GEYCGM75.mjs";
16
- import "../chunk-NWBLJ3W3.mjs";
17
17
  import "../chunk-K6S7R6LU.mjs";
18
+ import "../chunk-NWBLJ3W3.mjs";
18
19
  import "../chunk-YQPDRFRL.mjs";
19
20
  import "../chunk-7ZCOFATU.mjs";
20
21
  import "../chunk-FWCSY2DS.mjs";
@@ -27,6 +28,7 @@ export {
27
28
  MyDayOfWeekPicker,
28
29
  MyFlexColumn,
29
30
  MyLabelValueRow,
31
+ MyRichTextEditor,
30
32
  MySelect,
31
33
  MyStatsCard,
32
34
  MyTextInput,
@@ -2,10 +2,6 @@ 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
-
9
5
  interface IFile {
10
6
  fileName?: string | undefined;
11
7
  fileExtension?: string | undefined;
@@ -55,4 +51,8 @@ interface IUser extends IBaseEntity {
55
51
  email?: string;
56
52
  }
57
53
 
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 };
@@ -38,26 +38,26 @@ import {
38
38
  createGenericStore
39
39
  } from "../chunk-Y3YGC5IH.mjs";
40
40
  import "../chunk-5U2JSHSJ.mjs";
41
- import {
42
- const_object_documentTypes
43
- } from "../chunk-BZMQOGL6.mjs";
44
- import {
45
- enum_emailConfigModule
46
- } from "../chunk-VH4ZAD6M.mjs";
47
41
  import {
48
42
  MyButton as MyButton2,
49
43
  MyDataTableSelectOne,
50
44
  MyTextInput as MyTextInput2
51
- } from "../chunk-SIHFFLRO.mjs";
45
+ } from "../chunk-INS6N4RV.mjs";
52
46
  import {
53
47
  MyDataTable,
54
48
  MyFlexColumn,
55
49
  MyFlexRow
56
50
  } from "../chunk-GEYCGM75.mjs";
51
+ import {
52
+ enum_emailConfigModule
53
+ } from "../chunk-VH4ZAD6M.mjs";
54
+ import "../chunk-K6S7R6LU.mjs";
55
+ import {
56
+ const_object_documentTypes
57
+ } from "../chunk-BZMQOGL6.mjs";
57
58
  import {
58
59
  const_object_colors
59
60
  } from "../chunk-NWBLJ3W3.mjs";
60
- import "../chunk-K6S7R6LU.mjs";
61
61
  import {
62
62
  baseAxios_default,
63
63
  createBaseApi,
@@ -1023,6 +1023,7 @@ function F_accountManagement_Create() {
1023
1023
  });
1024
1024
  async function handleSubmit() {
1025
1025
  return await baseAxios_default.post(ENDPOINT, __spreadProps(__spreadValues({}, form.getValues()), {
1026
+ code: form.getValues().userName,
1026
1027
  passwordHash: "",
1027
1028
  id: 0,
1028
1029
  address: "",
@@ -1039,7 +1040,6 @@ function F_accountManagement_Create() {
1039
1040
  }));
1040
1041
  }
1041
1042
  return /* @__PURE__ */ jsxs6(MyButtonCreate, { form, onSubmit: handleSubmit, objectName: "ng\u01B0\u1EDDi d\xF9ng", children: [
1042
- /* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
1043
1043
  /* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
1044
1044
  /* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))),
1045
1045
  /* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
@@ -1123,7 +1123,6 @@ function F_accountManagement_Update({ user }) {
1123
1123
  })
1124
1124
  );
1125
1125
  }, children: /* @__PURE__ */ jsxs7(MyFlexColumn, { children: [
1126
- /* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ disabled: true, label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
1127
1126
  /* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
1128
1127
  /* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
1129
1128
  /* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.335",
45
+ "version": "0.1.337",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"