@fctc/sme-widget-ui 1.9.6 → 1.9.7

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.
package/dist/widgets.mjs CHANGED
@@ -8667,213 +8667,33 @@ var DownloadIcon = () => {
8667
8667
  };
8668
8668
 
8669
8669
  // src/icons/excel-icon.tsx
8670
- import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
8670
+ import { jsx as jsx17 } from "react/jsx-runtime";
8671
8671
  var ExcelIcon = () => {
8672
- return /* @__PURE__ */ jsxs5(
8672
+ return /* @__PURE__ */ jsx17(
8673
8673
  "svg",
8674
8674
  {
8675
- width: "40",
8676
- height: "40",
8677
- viewBox: "0 0 40 40",
8678
- fill: "none",
8679
8675
  xmlns: "http://www.w3.org/2000/svg",
8680
- children: [
8681
- /* @__PURE__ */ jsxs5("g", { clipPath: "url(#clip0_3263_110998)", children: [
8682
- /* @__PURE__ */ jsxs5("g", { filter: "url(#filter0_di_3263_110998)", children: [
8683
- /* @__PURE__ */ jsx17(
8684
- "path",
8685
- {
8686
- d: "M30 40H10C6.68629 40 4 37.3137 4 34V6C4 2.68629 6.68629 0 10 0H20.5147C22.106 0 23.6321 0.632142 24.7574 1.75736L34.2426 11.2426C35.3679 12.3679 36 13.894 36 15.4853V34C36 37.3137 33.3137 40 30 40Z",
8687
- fill: "white"
8688
- }
8689
- ),
8690
- /* @__PURE__ */ jsx17(
8691
- "path",
8692
- {
8693
- d: "M30 39.25H10C7.10051 39.25 4.75 36.8995 4.75 34V6C4.75 3.10051 7.10051 0.75 10 0.75H20.5147C21.9071 0.75 23.2425 1.30312 24.227 2.28769L33.7123 11.773C34.6969 12.7575 35.25 14.0929 35.25 15.4853V34C35.25 36.8995 32.8995 39.25 30 39.25Z",
8694
- stroke: "#E5E5E5",
8695
- strokeWidth: "1.5"
8696
- }
8697
- )
8698
- ] }),
8699
- /* @__PURE__ */ jsx17(
8700
- "path",
8701
- {
8702
- d: "M23 1V9C23 11.2091 24.7909 13 27 13H35",
8703
- stroke: "#E5E5E5",
8704
- strokeWidth: "1.5"
8705
- }
8706
- ),
8707
- /* @__PURE__ */ jsxs5("g", { filter: "url(#filter1_i_3263_110998)", children: [
8708
- /* @__PURE__ */ jsx17("mask", { id: "path-4-inside-1_3263_110998", fill: "white", children: /* @__PURE__ */ jsx17("path", { d: "M0 22C0 19.7909 1.79086 18 4 18H29C31.2091 18 33 19.7909 33 22V30C33 32.2091 31.2091 34 29 34H4C1.79086 34 0 32.2091 0 30V22Z" }) }),
8709
- /* @__PURE__ */ jsx17(
8710
- "path",
8711
- {
8712
- d: "M0 22C0 19.7909 1.79086 18 4 18H29C31.2091 18 33 19.7909 33 22V30C33 32.2091 31.2091 34 29 34H4C1.79086 34 0 32.2091 0 30V22Z",
8713
- fill: "#11A52B"
8714
- }
8715
- ),
8716
- /* @__PURE__ */ jsx17(
8717
- "path",
8718
- {
8719
- d: "M-1 22C-1 19.2386 1.23858 17 4 17H29C31.7614 17 34 19.2386 34 22H32C32 20.3431 30.6569 19 29 19H4C2.34315 19 1 20.3431 1 22H-1ZM33 34H0H33ZM4 34C1.23858 34 -1 31.7614 -1 29V22C-1 19.2386 1.23858 17 4 17V19C2.34315 19 1 20.3431 1 22V30C1 32.2091 2.34315 34 4 34ZM29 17C31.7614 17 34 19.2386 34 22V29C34 31.7614 31.7614 34 29 34C30.6569 34 32 32.2091 32 30V22C32 20.3431 30.6569 19 29 19V17Z",
8720
- fill: "black",
8721
- fillOpacity: "0.08",
8722
- mask: "url(#path-4-inside-1_3263_110998)"
8723
- }
8724
- ),
8725
- /* @__PURE__ */ jsx17(
8726
- "path",
8727
- {
8728
- d: "M4.81818 22.7273L6.41974 25.3906H6.47656L8.08523 22.7273H9.58736L7.34659 26.3636L9.62287 30H8.09588L6.47656 27.3544H6.41974L4.80043 30H3.28054L5.57812 26.3636L3.30895 22.7273H4.81818ZM10.8216 30V22.7273H12.1391V28.8956H15.3422V30H10.8216ZM20.6381 24.7266C20.605 24.4164 20.4653 24.175 20.2191 24.0021C19.9752 23.8293 19.658 23.7429 19.2674 23.7429C18.9927 23.7429 18.7572 23.7843 18.5607 23.8672C18.3642 23.95 18.2139 24.0625 18.1097 24.2045C18.0055 24.3466 17.9523 24.5088 17.9499 24.6911C17.9499 24.8426 17.9842 24.974 18.0529 25.0852C18.1239 25.1965 18.2198 25.2912 18.3405 25.3693C18.4613 25.4451 18.595 25.509 18.7418 25.5611C18.8886 25.6132 19.0365 25.657 19.1857 25.6925L19.8675 25.8629C20.1421 25.9268 20.4061 26.0133 20.6594 26.1222C20.9151 26.2311 21.1435 26.3684 21.3448 26.5341C21.5484 26.6998 21.7094 26.8999 21.8277 27.1342C21.9461 27.3686 22.0053 27.6432 22.0053 27.9581C22.0053 28.3842 21.8964 28.7595 21.6786 29.0838C21.4608 29.4058 21.1459 29.6579 20.734 29.8402C20.3244 30.0201 19.8284 30.1101 19.2461 30.1101C18.6802 30.1101 18.189 30.0225 17.7723 29.8473C17.358 29.6721 17.0337 29.4164 16.7993 29.0803C16.5673 28.7441 16.4418 28.3345 16.4229 27.8516H17.7191C17.738 28.1049 17.8161 28.3156 17.9534 28.4837C18.0908 28.6518 18.2695 28.7772 18.4897 28.8601C18.7122 28.9429 18.9608 28.9844 19.2354 28.9844C19.5219 28.9844 19.7728 28.9418 19.9882 28.8565C20.206 28.7689 20.3765 28.6482 20.4996 28.4943C20.6227 28.3381 20.6855 28.1558 20.6878 27.9474C20.6855 27.758 20.6298 27.6018 20.5209 27.4787C20.412 27.3532 20.2593 27.2491 20.0628 27.1662C19.8687 27.081 19.6414 27.0052 19.381 26.9389L18.5536 26.7259C17.9546 26.572 17.4811 26.3388 17.1331 26.0263C16.7875 25.7114 16.6147 25.2936 16.6147 24.7727C16.6147 24.3442 16.7307 23.969 16.9627 23.647C17.1971 23.325 17.5155 23.0753 17.9179 22.8977C18.3204 22.7178 18.7761 22.6278 19.2851 22.6278C19.8012 22.6278 20.2534 22.7178 20.6417 22.8977C21.0323 23.0753 21.3389 23.3227 21.5614 23.6399C21.7839 23.9548 21.8988 24.317 21.9059 24.7266H20.6381ZM24.4807 22.7273L26.0822 25.3906H26.1391L27.7477 22.7273H29.2499L27.0091 26.3636L29.2854 30H27.7584L26.1391 27.3544H26.0822L24.4629 30H22.943L25.2406 26.3636L22.9714 22.7273H24.4807Z",
8729
- fill: "white"
8730
- }
8731
- )
8732
- ] })
8733
- ] }),
8734
- /* @__PURE__ */ jsxs5("defs", { children: [
8735
- /* @__PURE__ */ jsxs5(
8736
- "filter",
8737
- {
8738
- id: "filter0_di_3263_110998",
8739
- x: "2",
8740
- y: "-4",
8741
- width: "36",
8742
- height: "47",
8743
- filterUnits: "userSpaceOnUse",
8744
- colorInterpolationFilters: "sRGB",
8745
- children: [
8746
- /* @__PURE__ */ jsx17("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
8747
- /* @__PURE__ */ jsx17(
8748
- "feColorMatrix",
8749
- {
8750
- in: "SourceAlpha",
8751
- type: "matrix",
8752
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
8753
- result: "hardAlpha"
8754
- }
8755
- ),
8756
- /* @__PURE__ */ jsx17("feOffset", { dy: "1" }),
8757
- /* @__PURE__ */ jsx17("feGaussianBlur", { stdDeviation: "1" }),
8758
- /* @__PURE__ */ jsx17("feComposite", { in2: "hardAlpha", operator: "out" }),
8759
- /* @__PURE__ */ jsx17(
8760
- "feColorMatrix",
8761
- {
8762
- type: "matrix",
8763
- values: "0 0 0 0 0.894118 0 0 0 0 0.898039 0 0 0 0 0.905882 0 0 0 0.24 0"
8764
- }
8765
- ),
8766
- /* @__PURE__ */ jsx17(
8767
- "feBlend",
8768
- {
8769
- mode: "normal",
8770
- in2: "BackgroundImageFix",
8771
- result: "effect1_dropShadow_3263_110998"
8772
- }
8773
- ),
8774
- /* @__PURE__ */ jsx17(
8775
- "feBlend",
8776
- {
8777
- mode: "normal",
8778
- in: "SourceGraphic",
8779
- in2: "effect1_dropShadow_3263_110998",
8780
- result: "shape"
8781
- }
8782
- ),
8783
- /* @__PURE__ */ jsx17(
8784
- "feColorMatrix",
8785
- {
8786
- in: "SourceAlpha",
8787
- type: "matrix",
8788
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
8789
- result: "hardAlpha"
8790
- }
8791
- ),
8792
- /* @__PURE__ */ jsx17("feOffset", { dy: "-4" }),
8793
- /* @__PURE__ */ jsx17("feGaussianBlur", { stdDeviation: "2" }),
8794
- /* @__PURE__ */ jsx17("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
8795
- /* @__PURE__ */ jsx17(
8796
- "feColorMatrix",
8797
- {
8798
- type: "matrix",
8799
- values: "0 0 0 0 0.813571 0 0 0 0 0.82 0 0 0 0 0.826429 0 0 0 0.32 0"
8800
- }
8801
- ),
8802
- /* @__PURE__ */ jsx17(
8803
- "feBlend",
8804
- {
8805
- mode: "normal",
8806
- in2: "shape",
8807
- result: "effect2_innerShadow_3263_110998"
8808
- }
8809
- )
8810
- ]
8811
- }
8812
- ),
8813
- /* @__PURE__ */ jsxs5(
8814
- "filter",
8815
- {
8816
- id: "filter1_i_3263_110998",
8817
- x: "0",
8818
- y: "18",
8819
- width: "33",
8820
- height: "20",
8821
- filterUnits: "userSpaceOnUse",
8822
- colorInterpolationFilters: "sRGB",
8823
- children: [
8824
- /* @__PURE__ */ jsx17("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
8825
- /* @__PURE__ */ jsx17(
8826
- "feBlend",
8827
- {
8828
- mode: "normal",
8829
- in: "SourceGraphic",
8830
- in2: "BackgroundImageFix",
8831
- result: "shape"
8832
- }
8833
- ),
8834
- /* @__PURE__ */ jsx17(
8835
- "feColorMatrix",
8836
- {
8837
- in: "SourceAlpha",
8838
- type: "matrix",
8839
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
8840
- result: "hardAlpha"
8841
- }
8842
- ),
8843
- /* @__PURE__ */ jsx17("feOffset", { dy: "4" }),
8844
- /* @__PURE__ */ jsx17("feGaussianBlur", { stdDeviation: "2" }),
8845
- /* @__PURE__ */ jsx17("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
8846
- /* @__PURE__ */ jsx17(
8847
- "feColorMatrix",
8848
- {
8849
- type: "matrix",
8850
- values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0"
8851
- }
8852
- ),
8853
- /* @__PURE__ */ jsx17(
8854
- "feBlend",
8855
- {
8856
- mode: "normal",
8857
- in2: "shape",
8858
- result: "effect1_innerShadow_3263_110998"
8859
- }
8860
- )
8861
- ]
8862
- }
8863
- ),
8864
- /* @__PURE__ */ jsx17("clipPath", { id: "clip0_3263_110998", children: /* @__PURE__ */ jsx17("rect", { width: "40", height: "40", fill: "white" }) })
8865
- ] })
8866
- ]
8676
+ width: "19",
8677
+ height: "10",
8678
+ viewBox: "0 0 19 10",
8679
+ fill: "none",
8680
+ children: /* @__PURE__ */ jsx17(
8681
+ "path",
8682
+ {
8683
+ d: "M18.5 8.5C18.5 8.9125 18.1625 9.25 17.75 9.25H1.25C0.8375 9.25 0.5 8.9125 0.5 8.5V1C0.5 0.5875 0.8375 0.25 1.25 0.25H17.75C18.1625 0.25 18.5 0.5875 18.5 1V8.5Z",
8684
+ fill: "#47A800"
8685
+ }
8686
+ )
8867
8687
  }
8868
8688
  );
8869
8689
  };
8870
8690
 
8871
8691
  // src/icons/export-icon.tsx
8872
- import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
8692
+ import { jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
8873
8693
 
8874
8694
  // src/icons/eye-icon.tsx
8875
- import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
8876
- var EyeIcon = () => /* @__PURE__ */ jsxs7(
8695
+ import { jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
8696
+ var EyeIcon = () => /* @__PURE__ */ jsxs6(
8877
8697
  "svg",
8878
8698
  {
8879
8699
  width: "20",
@@ -8924,9 +8744,9 @@ var FilterIcon = ({ className }) => {
8924
8744
  };
8925
8745
 
8926
8746
  // src/icons/groupby-icon.tsx
8927
- import { jsx as jsx21, jsxs as jsxs8 } from "react/jsx-runtime";
8747
+ import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
8928
8748
  var GroupByIcon = ({ className }) => {
8929
- return /* @__PURE__ */ jsxs8(
8749
+ return /* @__PURE__ */ jsxs7(
8930
8750
  "svg",
8931
8751
  {
8932
8752
  xmlns: "http://www.w3.org/2000/svg",
@@ -8949,15 +8769,15 @@ var GroupByIcon = ({ className }) => {
8949
8769
  };
8950
8770
 
8951
8771
  // src/icons/kanban-icon.tsx
8952
- import { jsx as jsx22, jsxs as jsxs9 } from "react/jsx-runtime";
8772
+ import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
8953
8773
 
8954
8774
  // src/icons/list-icon.tsx
8955
- import { jsx as jsx23, jsxs as jsxs10 } from "react/jsx-runtime";
8775
+ import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
8956
8776
 
8957
8777
  // src/icons/more-icon.tsx
8958
- import { jsx as jsx24, jsxs as jsxs11 } from "react/jsx-runtime";
8778
+ import { jsx as jsx24, jsxs as jsxs10 } from "react/jsx-runtime";
8959
8779
  var MoreIcon = () => {
8960
- return /* @__PURE__ */ jsxs11(
8780
+ return /* @__PURE__ */ jsxs10(
8961
8781
  "svg",
8962
8782
  {
8963
8783
  width: "24px",
@@ -9002,203 +8822,23 @@ var MoreIcon = () => {
9002
8822
  };
9003
8823
 
9004
8824
  // src/icons/pdf-icon.tsx
9005
- import { jsx as jsx25, jsxs as jsxs12 } from "react/jsx-runtime";
8825
+ import { jsx as jsx25 } from "react/jsx-runtime";
9006
8826
  var PdfIcon = () => {
9007
- return /* @__PURE__ */ jsxs12(
8827
+ return /* @__PURE__ */ jsx25(
9008
8828
  "svg",
9009
8829
  {
9010
- width: "40",
9011
- height: "40",
9012
- viewBox: "0 0 40 40",
9013
- fill: "none",
9014
8830
  xmlns: "http://www.w3.org/2000/svg",
9015
- children: [
9016
- /* @__PURE__ */ jsxs12("g", { clipPath: "url(#clip0_2648_1158)", children: [
9017
- /* @__PURE__ */ jsxs12("g", { filter: "url(#filter0_di_2648_1158)", children: [
9018
- /* @__PURE__ */ jsx25(
9019
- "path",
9020
- {
9021
- d: "M30 40H10C6.68629 40 4 37.3137 4 34V6C4 2.68629 6.68629 0 10 0H20.5147C22.106 0 23.6321 0.632142 24.7574 1.75736L34.2426 11.2426C35.3679 12.3679 36 13.894 36 15.4853V34C36 37.3137 33.3137 40 30 40Z",
9022
- fill: "white"
9023
- }
9024
- ),
9025
- /* @__PURE__ */ jsx25(
9026
- "path",
9027
- {
9028
- d: "M30 39.25H10C7.10051 39.25 4.75 36.8995 4.75 34V6C4.75 3.10051 7.10051 0.75 10 0.75H20.5147C21.9071 0.75 23.2425 1.30312 24.227 2.28769L33.7123 11.773C34.6969 12.7575 35.25 14.0929 35.25 15.4853V34C35.25 36.8995 32.8995 39.25 30 39.25Z",
9029
- stroke: "#CDD0D5",
9030
- strokeWidth: "1.5"
9031
- }
9032
- )
9033
- ] }),
9034
- /* @__PURE__ */ jsx25(
9035
- "path",
9036
- {
9037
- d: "M23 1V9C23 11.2091 24.7909 13 27 13H35",
9038
- stroke: "#CDD0D5",
9039
- strokeWidth: "1.5"
9040
- }
9041
- ),
9042
- /* @__PURE__ */ jsxs12("g", { filter: "url(#filter1_i_2648_1158)", children: [
9043
- /* @__PURE__ */ jsx25("mask", { id: "path-4-inside-1_2648_1158", fill: "white", children: /* @__PURE__ */ jsx25("path", { d: "M0 22C0 19.7909 1.79086 18 4 18H24C26.2091 18 28 19.7909 28 22V30C28 32.2091 26.2091 34 24 34H4C1.79086 34 0 32.2091 0 30V22Z" }) }),
9044
- /* @__PURE__ */ jsx25(
9045
- "path",
9046
- {
9047
- d: "M0 22C0 19.7909 1.79086 18 4 18H24C26.2091 18 28 19.7909 28 22V30C28 32.2091 26.2091 34 24 34H4C1.79086 34 0 32.2091 0 30V22Z",
9048
- fill: "#DF1C41"
9049
- }
9050
- ),
9051
- /* @__PURE__ */ jsx25(
9052
- "path",
9053
- {
9054
- d: "M-1 22C-1 19.2386 1.23858 17 4 17H24C26.7614 17 29 19.2386 29 22H27C27 20.3431 25.6569 19 24 19H4C2.34315 19 1 20.3431 1 22H-1ZM28 34H0H28ZM4 34C1.23858 34 -1 31.7614 -1 29V22C-1 19.2386 1.23858 17 4 17V19C2.34315 19 1 20.3431 1 22V30C1 32.2091 2.34315 34 4 34ZM24 17C26.7614 17 29 19.2386 29 22V29C29 31.7614 26.7614 34 24 34C25.6569 34 27 32.2091 27 30V22C27 20.3431 25.6569 19 24 19V17Z",
9055
- fill: "black",
9056
- fillOpacity: "0.08",
9057
- mask: "url(#path-4-inside-1_2648_1158)"
9058
- }
9059
- ),
9060
- /* @__PURE__ */ jsx25(
9061
- "path",
9062
- {
9063
- d: "M3.78906 30V22H6.78906C7.40365 22 7.91927 22.1146 8.33594 22.3437C8.75521 22.5729 9.07161 22.888 9.28516 23.2891C9.5013 23.6875 9.60938 24.1406 9.60938 24.6484C9.60938 25.1615 9.5013 25.6172 9.28516 26.0156C9.06901 26.4141 8.75 26.7279 8.32812 26.957C7.90625 27.1836 7.38672 27.2969 6.76953 27.2969H4.78125V26.1055H6.57422C6.93359 26.1055 7.22786 26.043 7.45703 25.918C7.6862 25.793 7.85547 25.6211 7.96484 25.4023C8.07682 25.1836 8.13281 24.9323 8.13281 24.6484C8.13281 24.3646 8.07682 24.1146 7.96484 23.8984C7.85547 23.6823 7.6849 23.5143 7.45313 23.3945C7.22396 23.2721 6.92839 23.2109 6.56641 23.2109H5.23828V30H3.78906ZM13.7991 30H11.0882V22H13.8538C14.6481 22 15.3304 22.1602 15.9007 22.4805C16.4736 22.7982 16.9137 23.2552 17.221 23.8516C17.5283 24.4479 17.6819 25.1615 17.6819 25.9922C17.6819 26.8255 17.527 27.5417 17.2171 28.1406C16.9098 28.7396 16.4658 29.1992 15.885 29.5195C15.3069 29.8398 14.6116 30 13.7991 30ZM12.5374 28.7461H13.7288C14.2861 28.7461 14.7509 28.6445 15.1233 28.4414C15.4957 28.2357 15.7757 27.9297 15.9632 27.5234C16.1507 27.1146 16.2444 26.6042 16.2444 25.9922C16.2444 25.3802 16.1507 24.8724 15.9632 24.4687C15.7757 24.0625 15.4983 23.7591 15.1311 23.5586C14.7665 23.3555 14.3134 23.2539 13.7718 23.2539H12.5374V28.7461ZM19.2789 30V22H24.4039V23.2148H20.7281V25.3867H24.0523V26.6016H20.7281V30H19.2789Z",
9064
- fill: "white"
9065
- }
9066
- )
9067
- ] })
9068
- ] }),
9069
- /* @__PURE__ */ jsxs12("defs", { children: [
9070
- /* @__PURE__ */ jsxs12(
9071
- "filter",
9072
- {
9073
- id: "filter0_di_2648_1158",
9074
- x: "2",
9075
- y: "-4",
9076
- width: "36",
9077
- height: "47",
9078
- filterUnits: "userSpaceOnUse",
9079
- colorInterpolationFilters: "sRGB",
9080
- children: [
9081
- /* @__PURE__ */ jsx25("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
9082
- /* @__PURE__ */ jsx25(
9083
- "feColorMatrix",
9084
- {
9085
- in: "SourceAlpha",
9086
- type: "matrix",
9087
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
9088
- result: "hardAlpha"
9089
- }
9090
- ),
9091
- /* @__PURE__ */ jsx25("feOffset", { dy: "1" }),
9092
- /* @__PURE__ */ jsx25("feGaussianBlur", { stdDeviation: "1" }),
9093
- /* @__PURE__ */ jsx25("feComposite", { in2: "hardAlpha", operator: "out" }),
9094
- /* @__PURE__ */ jsx25(
9095
- "feColorMatrix",
9096
- {
9097
- type: "matrix",
9098
- values: "0 0 0 0 0.894118 0 0 0 0 0.898039 0 0 0 0 0.905882 0 0 0 0.24 0"
9099
- }
9100
- ),
9101
- /* @__PURE__ */ jsx25(
9102
- "feBlend",
9103
- {
9104
- mode: "normal",
9105
- in2: "BackgroundImageFix",
9106
- result: "effect1_dropShadow_2648_1158"
9107
- }
9108
- ),
9109
- /* @__PURE__ */ jsx25(
9110
- "feBlend",
9111
- {
9112
- mode: "normal",
9113
- in: "SourceGraphic",
9114
- in2: "effect1_dropShadow_2648_1158",
9115
- result: "shape"
9116
- }
9117
- ),
9118
- /* @__PURE__ */ jsx25(
9119
- "feColorMatrix",
9120
- {
9121
- in: "SourceAlpha",
9122
- type: "matrix",
9123
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
9124
- result: "hardAlpha"
9125
- }
9126
- ),
9127
- /* @__PURE__ */ jsx25("feOffset", { dy: "-4" }),
9128
- /* @__PURE__ */ jsx25("feGaussianBlur", { stdDeviation: "2" }),
9129
- /* @__PURE__ */ jsx25("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
9130
- /* @__PURE__ */ jsx25(
9131
- "feColorMatrix",
9132
- {
9133
- type: "matrix",
9134
- values: "0 0 0 0 0.813571 0 0 0 0 0.82 0 0 0 0 0.826429 0 0 0 0.32 0"
9135
- }
9136
- ),
9137
- /* @__PURE__ */ jsx25(
9138
- "feBlend",
9139
- {
9140
- mode: "normal",
9141
- in2: "shape",
9142
- result: "effect2_innerShadow_2648_1158"
9143
- }
9144
- )
9145
- ]
9146
- }
9147
- ),
9148
- /* @__PURE__ */ jsxs12(
9149
- "filter",
9150
- {
9151
- id: "filter1_i_2648_1158",
9152
- x: "0",
9153
- y: "18",
9154
- width: "28",
9155
- height: "20",
9156
- filterUnits: "userSpaceOnUse",
9157
- colorInterpolationFilters: "sRGB",
9158
- children: [
9159
- /* @__PURE__ */ jsx25("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
9160
- /* @__PURE__ */ jsx25(
9161
- "feBlend",
9162
- {
9163
- mode: "normal",
9164
- in: "SourceGraphic",
9165
- in2: "BackgroundImageFix",
9166
- result: "shape"
9167
- }
9168
- ),
9169
- /* @__PURE__ */ jsx25(
9170
- "feColorMatrix",
9171
- {
9172
- in: "SourceAlpha",
9173
- type: "matrix",
9174
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
9175
- result: "hardAlpha"
9176
- }
9177
- ),
9178
- /* @__PURE__ */ jsx25("feOffset", { dy: "4" }),
9179
- /* @__PURE__ */ jsx25("feGaussianBlur", { stdDeviation: "2" }),
9180
- /* @__PURE__ */ jsx25("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
9181
- /* @__PURE__ */ jsx25(
9182
- "feColorMatrix",
9183
- {
9184
- type: "matrix",
9185
- values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0"
9186
- }
9187
- ),
9188
- /* @__PURE__ */ jsx25(
9189
- "feBlend",
9190
- {
9191
- mode: "normal",
9192
- in2: "shape",
9193
- result: "effect1_innerShadow_2648_1158"
9194
- }
9195
- )
9196
- ]
9197
- }
9198
- ),
9199
- /* @__PURE__ */ jsx25("clipPath", { id: "clip0_2648_1158", children: /* @__PURE__ */ jsx25("rect", { width: "40", height: "40", fill: "white" }) })
9200
- ] })
9201
- ]
8831
+ width: "19",
8832
+ height: "10",
8833
+ viewBox: "0 0 19 10",
8834
+ fill: "none",
8835
+ children: /* @__PURE__ */ jsx25(
8836
+ "path",
8837
+ {
8838
+ d: "M18.6992 8.5C18.6992 8.9125 18.3617 9.25 17.9492 9.25H1.44922C1.03672 9.25 0.699219 8.9125 0.699219 8.5V1C0.699219 0.5875 1.03672 0.25 1.44922 0.25H17.9492C18.3617 0.25 18.6992 0.5875 18.6992 1V8.5Z",
8839
+ fill: "#FF4B34"
8840
+ }
8841
+ )
9202
8842
  }
9203
8843
  );
9204
8844
  };
@@ -9226,7 +8866,7 @@ var PlayIcon = () => {
9226
8866
  };
9227
8867
 
9228
8868
  // src/icons/reset-icon.tsx
9229
- import { jsx as jsx27, jsxs as jsxs13 } from "react/jsx-runtime";
8869
+ import { jsx as jsx27, jsxs as jsxs11 } from "react/jsx-runtime";
9230
8870
 
9231
8871
  // src/icons/search-icon.tsx
9232
8872
  import { jsx as jsx28 } from "react/jsx-runtime";
@@ -9251,7 +8891,7 @@ var SearchIcon = () => {
9251
8891
  };
9252
8892
 
9253
8893
  // src/icons/setting-icon.tsx
9254
- import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
8894
+ import { jsx as jsx29, jsxs as jsxs12 } from "react/jsx-runtime";
9255
8895
 
9256
8896
  // src/icons/star-filled-icon.tsx
9257
8897
  import { jsx as jsx30 } from "react/jsx-runtime";
@@ -9297,12 +8937,12 @@ var TriangleIcon = (props) => /* @__PURE__ */ jsx31(
9297
8937
  import { jsx as jsx32 } from "react/jsx-runtime";
9298
8938
 
9299
8939
  // src/icons/vector-icon.tsx
9300
- import { jsx as jsx33, jsxs as jsxs15 } from "react/jsx-runtime";
8940
+ import { jsx as jsx33, jsxs as jsxs13 } from "react/jsx-runtime";
9301
8941
 
9302
8942
  // src/icons/zip-icon.tsx
9303
- import { jsx as jsx34, jsxs as jsxs16 } from "react/jsx-runtime";
8943
+ import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
9304
8944
  var ZipIcon = () => {
9305
- return /* @__PURE__ */ jsxs16(
8945
+ return /* @__PURE__ */ jsxs14(
9306
8946
  "svg",
9307
8947
  {
9308
8948
  width: "40",
@@ -9311,8 +8951,8 @@ var ZipIcon = () => {
9311
8951
  fill: "none",
9312
8952
  xmlns: "http://www.w3.org/2000/svg",
9313
8953
  children: [
9314
- /* @__PURE__ */ jsxs16("g", { clipPath: "url(#clip0_3042_66427)", children: [
9315
- /* @__PURE__ */ jsxs16("g", { filter: "url(#filter0_di_3042_66427)", children: [
8954
+ /* @__PURE__ */ jsxs14("g", { clipPath: "url(#clip0_3042_66427)", children: [
8955
+ /* @__PURE__ */ jsxs14("g", { filter: "url(#filter0_di_3042_66427)", children: [
9316
8956
  /* @__PURE__ */ jsx34(
9317
8957
  "path",
9318
8958
  {
@@ -9337,7 +8977,7 @@ var ZipIcon = () => {
9337
8977
  strokeWidth: "1.5"
9338
8978
  }
9339
8979
  ),
9340
- /* @__PURE__ */ jsxs16("g", { filter: "url(#filter1_i_3042_66427)", children: [
8980
+ /* @__PURE__ */ jsxs14("g", { filter: "url(#filter1_i_3042_66427)", children: [
9341
8981
  /* @__PURE__ */ jsx34("mask", { id: "path-4-inside-1_3042_66427", fill: "white", children: /* @__PURE__ */ jsx34("path", { d: "M0 22C0 19.7909 1.79086 18 4 18H20C22.2091 18 24 19.7909 24 22V30C24 32.2091 22.2091 34 20 34H4C1.79086 34 0 32.2091 0 30V22Z" }) }),
9342
8982
  /* @__PURE__ */ jsx34(
9343
8983
  "path",
@@ -9364,8 +9004,8 @@ var ZipIcon = () => {
9364
9004
  )
9365
9005
  ] })
9366
9006
  ] }),
9367
- /* @__PURE__ */ jsxs16("defs", { children: [
9368
- /* @__PURE__ */ jsxs16(
9007
+ /* @__PURE__ */ jsxs14("defs", { children: [
9008
+ /* @__PURE__ */ jsxs14(
9369
9009
  "filter",
9370
9010
  {
9371
9011
  id: "filter0_di_3042_66427",
@@ -9443,7 +9083,7 @@ var ZipIcon = () => {
9443
9083
  ]
9444
9084
  }
9445
9085
  ),
9446
- /* @__PURE__ */ jsxs16(
9086
+ /* @__PURE__ */ jsxs14(
9447
9087
  "filter",
9448
9088
  {
9449
9089
  id: "filter1_i_3042_66427",
@@ -9502,7 +9142,7 @@ var ZipIcon = () => {
9502
9142
  };
9503
9143
 
9504
9144
  // src/icons/loading-icon.tsx
9505
- import { jsx as jsx35, jsxs as jsxs17 } from "react/jsx-runtime";
9145
+ import { jsx as jsx35, jsxs as jsxs15 } from "react/jsx-runtime";
9506
9146
  var LoadingIcon = ({
9507
9147
  width = 15,
9508
9148
  height = 15,
@@ -9523,7 +9163,7 @@ var LoadingIcon = ({
9523
9163
  background: "transparent"
9524
9164
  },
9525
9165
  ...props,
9526
- children: /* @__PURE__ */ jsxs17("g", { children: [
9166
+ children: /* @__PURE__ */ jsxs15("g", { children: [
9527
9167
  /* @__PURE__ */ jsx35(
9528
9168
  "circle",
9529
9169
  {
@@ -9554,8 +9194,8 @@ var LoadingIcon = ({
9554
9194
  };
9555
9195
 
9556
9196
  // src/icons/paid-icon.tsx
9557
- import { jsx as jsx36, jsxs as jsxs18 } from "react/jsx-runtime";
9558
- var PaidIcon = () => /* @__PURE__ */ jsxs18(
9197
+ import { jsx as jsx36, jsxs as jsxs16 } from "react/jsx-runtime";
9198
+ var PaidIcon = () => /* @__PURE__ */ jsxs16(
9559
9199
  "svg",
9560
9200
  {
9561
9201
  width: "208",
@@ -9564,7 +9204,7 @@ var PaidIcon = () => /* @__PURE__ */ jsxs18(
9564
9204
  fill: "none",
9565
9205
  xmlns: "http://www.w3.org/2000/svg",
9566
9206
  children: [
9567
- /* @__PURE__ */ jsxs18("g", { opacity: "0.5", filter: "url(#filter0_d_615_26793)", children: [
9207
+ /* @__PURE__ */ jsxs16("g", { opacity: "0.5", filter: "url(#filter0_d_615_26793)", children: [
9568
9208
  /* @__PURE__ */ jsx36(
9569
9209
  "path",
9570
9210
  {
@@ -9640,8 +9280,8 @@ var PaidIcon = () => /* @__PURE__ */ jsxs18(
9640
9280
  }
9641
9281
  )
9642
9282
  ] }),
9643
- /* @__PURE__ */ jsxs18("defs", { children: [
9644
- /* @__PURE__ */ jsxs18(
9283
+ /* @__PURE__ */ jsxs16("defs", { children: [
9284
+ /* @__PURE__ */ jsxs16(
9645
9285
  "filter",
9646
9286
  {
9647
9287
  id: "filter0_d_615_26793",
@@ -9738,13 +9378,13 @@ var PlaceHolderIcon = () => {
9738
9378
  };
9739
9379
 
9740
9380
  // src/icons/google-icon.tsx
9741
- import { jsx as jsx38, jsxs as jsxs19 } from "react/jsx-runtime";
9381
+ import { jsx as jsx38, jsxs as jsxs17 } from "react/jsx-runtime";
9742
9382
  var GoogleIcon = ({
9743
9383
  width = 20,
9744
9384
  height = 20,
9745
9385
  ...props
9746
9386
  }) => {
9747
- return /* @__PURE__ */ jsxs19(
9387
+ return /* @__PURE__ */ jsxs17(
9748
9388
  "svg",
9749
9389
  {
9750
9390
  xmlns: "http://www.w3.org/2000/svg",
@@ -9789,9 +9429,9 @@ var GoogleIcon = ({
9789
9429
  };
9790
9430
 
9791
9431
  // src/icons/eye-closed-icon.tsx
9792
- import { jsx as jsx39, jsxs as jsxs20 } from "react/jsx-runtime";
9432
+ import { jsx as jsx39, jsxs as jsxs18 } from "react/jsx-runtime";
9793
9433
  var EyeClosedIcon = () => {
9794
- return /* @__PURE__ */ jsxs20(
9434
+ return /* @__PURE__ */ jsxs18(
9795
9435
  "svg",
9796
9436
  {
9797
9437
  width: "20",
@@ -9856,13 +9496,13 @@ var DeleteIconDanger = () => {
9856
9496
  };
9857
9497
 
9858
9498
  // src/icons/image-icon.tsx
9859
- import { jsx as jsx41, jsxs as jsxs21 } from "react/jsx-runtime";
9499
+ import { jsx as jsx41, jsxs as jsxs19 } from "react/jsx-runtime";
9860
9500
 
9861
9501
  // src/icons/video-icon.tsx
9862
- import { jsx as jsx42, jsxs as jsxs22 } from "react/jsx-runtime";
9502
+ import { jsx as jsx42, jsxs as jsxs20 } from "react/jsx-runtime";
9863
9503
 
9864
9504
  // src/widgets/advanced/table/table-group.tsx
9865
- import { Fragment as Fragment2, jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
9505
+ import { Fragment as Fragment2, jsx as jsx43, jsxs as jsxs21 } from "react/jsx-runtime";
9866
9506
  var TableGroup = (props) => {
9867
9507
  const { t: t3 } = useI18n();
9868
9508
  const {
@@ -9912,8 +9552,8 @@ var TableGroup = (props) => {
9912
9552
  setSelectedRowKeys
9913
9553
  });
9914
9554
  const leftPadding = level > 1 ? level * 8 + "px" : "0px";
9915
- return /* @__PURE__ */ jsxs23(Fragment2, { children: [
9916
- /* @__PURE__ */ jsxs23(
9555
+ return /* @__PURE__ */ jsxs21(Fragment2, { children: [
9556
+ /* @__PURE__ */ jsxs21(
9917
9557
  "tr",
9918
9558
  {
9919
9559
  draggable: true,
@@ -9926,13 +9566,13 @@ var TableGroup = (props) => {
9926
9566
  colSpan: colEmptyGroup.fromStart ?? 1,
9927
9567
  style: { display: "table-cell" },
9928
9568
  className: "relative w-max whitespace-nowrap border-b border-gray-200 p-3 text-sm font-normal text-gray-900 h-[53px]",
9929
- children: /* @__PURE__ */ jsxs23(
9569
+ children: /* @__PURE__ */ jsxs21(
9930
9570
  "div",
9931
9571
  {
9932
9572
  style: { paddingLeft: leftPadding },
9933
9573
  className: `flex items-center justify-between gap-2 font-medium ml-2 z-21`,
9934
9574
  children: [
9935
- /* @__PURE__ */ jsxs23("div", { className: "flex items-center gap-2", children: [
9575
+ /* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-2", children: [
9936
9576
  /* @__PURE__ */ jsx43(
9937
9577
  TriangleIcon,
9938
9578
  {
@@ -10019,7 +9659,7 @@ var TableGroup = (props) => {
10019
9659
 
10020
9660
  // src/widgets/advanced/table/table-row.tsx
10021
9661
  import { useEffect as useEffect3, useMemo as useMemo3, useRef as useRef2 } from "react";
10022
- import { Fragment as Fragment3, jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
9662
+ import { Fragment as Fragment3, jsx as jsx44, jsxs as jsxs22 } from "react/jsx-runtime";
10023
9663
  var Row = (props) => {
10024
9664
  const {
10025
9665
  row,
@@ -10090,7 +9730,7 @@ var Row = (props) => {
10090
9730
  {
10091
9731
  "data-row-id": row?.id,
10092
9732
  className: `border-b border-[#e8e8e8] cursor-pointer`,
10093
- children: /* @__PURE__ */ jsxs24(Fragment3, { children: [
9733
+ children: /* @__PURE__ */ jsxs22(Fragment3, { children: [
10094
9734
  isDisplayCheckbox && /* @__PURE__ */ jsx44(
10095
9735
  "td",
10096
9736
  {
@@ -10491,7 +10131,7 @@ function useFileInfo(source, options2) {
10491
10131
  }
10492
10132
 
10493
10133
  // src/widgets/advanced/table/table-filter.tsx
10494
- import { jsx as jsx46, jsxs as jsxs25 } from "react/jsx-runtime";
10134
+ import { jsx as jsx46, jsxs as jsxs23 } from "react/jsx-runtime";
10495
10135
  var TableFilter = ({ columns, onToggleColumnOptional }) => {
10496
10136
  const [openTableFilter, setOpenTableFilter] = useState4();
10497
10137
  const [filterPosition, setFilterPosition] = useState4(null);
@@ -10523,7 +10163,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
10523
10163
  window.removeEventListener("resize", updatePosition);
10524
10164
  };
10525
10165
  }, [filterRef, openTableFilter]);
10526
- return /* @__PURE__ */ jsxs25(
10166
+ return /* @__PURE__ */ jsxs23(
10527
10167
  "div",
10528
10168
  {
10529
10169
  ref: filterRef,
@@ -10540,7 +10180,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
10540
10180
  onClick: () => {
10541
10181
  setOpenTableFilter(!openTableFilter);
10542
10182
  },
10543
- children: /* @__PURE__ */ jsxs25(
10183
+ children: /* @__PURE__ */ jsxs23(
10544
10184
  "svg",
10545
10185
  {
10546
10186
  xmlns: "http://www.w3.org/2000/svg",
@@ -10608,7 +10248,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
10608
10248
  },
10609
10249
  className: "absolute z-[9999] flex w-[250px] h-auto max-h-[800%] overflow-auto flex-col gap-[16px] rounded-[8px] bg-[#fff] px-[24px] py-[16px] shadow-md",
10610
10250
  children: columns?.filter((val) => val?.optional !== void 0)?.map((item) => {
10611
- return /* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-2", children: [
10251
+ return /* @__PURE__ */ jsxs23("div", { className: "flex items-center gap-2", children: [
10612
10252
  /* @__PURE__ */ jsx46(
10613
10253
  "input",
10614
10254
  {
@@ -10639,14 +10279,14 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
10639
10279
  };
10640
10280
 
10641
10281
  // src/widgets/advanced/table/table-footer.tsx
10642
- import { jsx as jsx47, jsxs as jsxs26 } from "react/jsx-runtime";
10282
+ import { jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
10643
10283
  var TableFooter = ({ onAddRow, rows }) => {
10644
10284
  const emptyData = rows?.length <= 0;
10645
10285
  return /* @__PURE__ */ jsx47("tfoot", { children: /* @__PURE__ */ jsx47("tr", { className: `relative ${emptyData ? " h-20" : "h-14"}`, children: /* @__PURE__ */ jsx47(
10646
10286
  "td",
10647
10287
  {
10648
10288
  className: `absolute left-0 p-0 right-0 flex items-center ${emptyData ? "justify-center" : "justify-start"}`,
10649
- children: /* @__PURE__ */ jsxs26(
10289
+ children: /* @__PURE__ */ jsxs24(
10650
10290
  "button",
10651
10291
  {
10652
10292
  type: "button",
@@ -10656,7 +10296,7 @@ var TableFooter = ({ onAddRow, rows }) => {
10656
10296
  },
10657
10297
  className: `button-primary m-2 flex ${!emptyData ? "!bg-white border border-primary " : ""}`,
10658
10298
  children: [
10659
- /* @__PURE__ */ jsxs26(
10299
+ /* @__PURE__ */ jsxs24(
10660
10300
  "svg",
10661
10301
  {
10662
10302
  style: {
@@ -12496,7 +12136,7 @@ var M = e2.forwardRef(({ id: t3, anchorId: l2, anchorSelect: n4, content: i3, ht
12496
12136
  });
12497
12137
 
12498
12138
  // src/widgets/advanced/table/table-head.tsx
12499
- import { Fragment as Fragment4, jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
12139
+ import { Fragment as Fragment4, jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
12500
12140
  var TableHead = (props) => {
12501
12141
  const {
12502
12142
  handleCheckBoxAll,
@@ -12506,7 +12146,7 @@ var TableHead = (props) => {
12506
12146
  onRemoveRow,
12507
12147
  onToggleColumnOptional
12508
12148
  } = props;
12509
- return /* @__PURE__ */ jsx48("thead", { className: "relative z-10", children: /* @__PURE__ */ jsxs27(
12149
+ return /* @__PURE__ */ jsx48("thead", { className: "relative z-10", children: /* @__PURE__ */ jsxs25(
12510
12150
  "tr",
12511
12151
  {
12512
12152
  style: {
@@ -12538,9 +12178,9 @@ var TableHead = (props) => {
12538
12178
  "th",
12539
12179
  {
12540
12180
  className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
12541
- children: /* @__PURE__ */ jsxs27("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
12181
+ children: /* @__PURE__ */ jsxs25("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
12542
12182
  col.title,
12543
- col?.field?.help && /* @__PURE__ */ jsxs27(Fragment4, { children: [
12183
+ col?.field?.help && /* @__PURE__ */ jsxs25(Fragment4, { children: [
12544
12184
  /* @__PURE__ */ jsx48(
12545
12185
  M,
12546
12186
  {
@@ -12602,9 +12242,9 @@ var TableHead = (props) => {
12602
12242
  };
12603
12243
 
12604
12244
  // src/icons/empty-table-icon.tsx
12605
- import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
12245
+ import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
12606
12246
  var IcEmptyTable = () => {
12607
- return /* @__PURE__ */ jsxs28(
12247
+ return /* @__PURE__ */ jsxs26(
12608
12248
  "svg",
12609
12249
  {
12610
12250
  xmlns: "http://www.w3.org/2000/svg",
@@ -12613,7 +12253,7 @@ var IcEmptyTable = () => {
12613
12253
  viewBox: "0 0 216 140",
12614
12254
  fill: "none",
12615
12255
  children: [
12616
- /* @__PURE__ */ jsxs28("g", { clipPath: "url(#clip0_2454_28950)", children: [
12256
+ /* @__PURE__ */ jsxs26("g", { clipPath: "url(#clip0_2454_28950)", children: [
12617
12257
  /* @__PURE__ */ jsx49("path", { d: "M215.5 0H0.5V140H215.5V0Z", fill: "white" }),
12618
12258
  /* @__PURE__ */ jsx49(
12619
12259
  "path",
@@ -12933,12 +12573,12 @@ var IcEmptyTable = () => {
12933
12573
  };
12934
12574
 
12935
12575
  // src/widgets/advanced/table/empty-table.tsx
12936
- import { jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
12576
+ import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
12937
12577
  var EmptyTable = () => {
12938
12578
  const { t: t3 } = useI18n();
12939
- return /* @__PURE__ */ jsxs29("div", { className: `flex flex-col items-center justify-center gap-6 `, children: [
12579
+ return /* @__PURE__ */ jsxs27("div", { className: `flex flex-col items-center justify-center gap-6 `, children: [
12940
12580
  /* @__PURE__ */ jsx50(IcEmptyTable, {}),
12941
- /* @__PURE__ */ jsxs29("div", { children: [
12581
+ /* @__PURE__ */ jsxs27("div", { children: [
12942
12582
  /* @__PURE__ */ jsx50("p", {}),
12943
12583
  /* @__PURE__ */ jsx50("p", { className: "text-xl font-extrabold", children: t3("empty_data") })
12944
12584
  ] })
@@ -14781,7 +14421,7 @@ Button.displayName = "Button";
14781
14421
 
14782
14422
  // src/widgets/advanced/login/shared/text-input.tsx
14783
14423
  import { useState as useState5 } from "react";
14784
- import { jsx as jsx52, jsxs as jsxs30 } from "react/jsx-runtime";
14424
+ import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
14785
14425
  function TextInput(props) {
14786
14426
  const {
14787
14427
  className,
@@ -14795,12 +14435,12 @@ function TextInput(props) {
14795
14435
  required
14796
14436
  } = props;
14797
14437
  const [showPassword, setShowPassword] = useState5(false);
14798
- return /* @__PURE__ */ jsxs30("div", { className: `flex justify-center gap-2 flex-col ${className}`, children: [
14799
- label && /* @__PURE__ */ jsxs30("label", { className: "text-[#262626] text-sm leading-5 font-semibold", children: [
14438
+ return /* @__PURE__ */ jsxs28("div", { className: `flex justify-center gap-2 flex-col ${className}`, children: [
14439
+ label && /* @__PURE__ */ jsxs28("label", { className: "text-[#262626] text-sm leading-5 font-semibold", children: [
14800
14440
  label,
14801
14441
  required ? /* @__PURE__ */ jsx52("span", { className: "text-[#ff4d4f]", children: "*" }) : ""
14802
14442
  ] }),
14803
- /* @__PURE__ */ jsxs30(
14443
+ /* @__PURE__ */ jsxs28(
14804
14444
  "div",
14805
14445
  {
14806
14446
  className: `flex h-14 w-full items-center border border-[#E0E0E0] px-4 py-3 ${inputWrapperClassName}`,
@@ -14837,7 +14477,7 @@ function TextInput(props) {
14837
14477
 
14838
14478
  // src/widgets/advanced/login/provider/credential/form-options/index.tsx
14839
14479
  import { useEffect as useEffect7 } from "react";
14840
- import { jsx as jsx53, jsxs as jsxs31 } from "react/jsx-runtime";
14480
+ import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
14841
14481
  var STAY_LOGIN_IN = "stayLoginIn";
14842
14482
  function FormOptions({
14843
14483
  forgotPasswordUrl,
@@ -14863,8 +14503,8 @@ function FormOptions({
14863
14503
  useEffect7(() => {
14864
14504
  localStorage.setItem(STAY_LOGIN_IN, "false");
14865
14505
  }, []);
14866
- return /* @__PURE__ */ jsxs31("div", { className: "flex justify-between items-center text-[#005aa9] text-sm leading-5 font-medium select-none", children: [
14867
- /* @__PURE__ */ jsxs31("label", { className: "flex gap-3", children: [
14506
+ return /* @__PURE__ */ jsxs29("div", { className: "flex justify-between items-center text-[#005aa9] text-sm leading-5 font-medium select-none", children: [
14507
+ /* @__PURE__ */ jsxs29("label", { className: "flex gap-3", children: [
14868
14508
  /* @__PURE__ */ jsx53(
14869
14509
  "input",
14870
14510
  {
@@ -14892,7 +14532,7 @@ var loginSchema = z2.object({
14892
14532
  });
14893
14533
 
14894
14534
  // src/widgets/advanced/login/provider/credential/index.tsx
14895
- import { Fragment as Fragment5, jsx as jsx54, jsxs as jsxs32 } from "react/jsx-runtime";
14535
+ import { Fragment as Fragment5, jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
14896
14536
  var CredentialLogin = (props) => {
14897
14537
  const {
14898
14538
  shouldRenderDivider,
@@ -14912,15 +14552,15 @@ var CredentialLogin = (props) => {
14912
14552
  mode: "onChange",
14913
14553
  resolver: s3(loginSchema)
14914
14554
  });
14915
- return /* @__PURE__ */ jsxs32(Fragment5, { children: [
14916
- /* @__PURE__ */ jsxs32(
14555
+ return /* @__PURE__ */ jsxs30(Fragment5, { children: [
14556
+ /* @__PURE__ */ jsxs30(
14917
14557
  "form",
14918
14558
  {
14919
14559
  onSubmit: handleSubmit(onSubmit ?? (() => {
14920
14560
  })),
14921
14561
  className: `flex w-full h-fit flex-col gap-10`,
14922
14562
  children: [
14923
- /* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-6", children: [
14563
+ /* @__PURE__ */ jsxs30("div", { className: "flex flex-col gap-6", children: [
14924
14564
  /* @__PURE__ */ jsx54(
14925
14565
  TextInput,
14926
14566
  {
@@ -14969,7 +14609,7 @@ var CredentialLogin = (props) => {
14969
14609
  ]
14970
14610
  }
14971
14611
  ),
14972
- shouldRenderDivider && /* @__PURE__ */ jsxs32("div", { className: "flex justify-center relative", children: [
14612
+ shouldRenderDivider && /* @__PURE__ */ jsxs30("div", { className: "flex justify-center relative", children: [
14973
14613
  /* @__PURE__ */ jsx54("div", { className: "absolute inset-x-0 top-[calc(50%-0.5px)] h-[0.8px] bg-gray-300" }),
14974
14614
  /* @__PURE__ */ jsx54("span", { className: "relative font-medium text-sm inline-block bg-white px-2.5 text-[#6e6e6e]", children: "ho\u1EB7c" })
14975
14615
  ] })
@@ -14977,10 +14617,10 @@ var CredentialLogin = (props) => {
14977
14617
  };
14978
14618
 
14979
14619
  // src/widgets/advanced/login/provider/google/google-btn/index.tsx
14980
- import { jsx as jsx55, jsxs as jsxs33 } from "react/jsx-runtime";
14620
+ import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
14981
14621
  function GoogleButton(props) {
14982
14622
  const { onLoginGoogle, db } = props;
14983
- return /* @__PURE__ */ jsxs33(
14623
+ return /* @__PURE__ */ jsxs31(
14984
14624
  "button",
14985
14625
  {
14986
14626
  className: "google-wrapper w-full active:scale-[0.97] cursor-pointer hover:bg-gray-100 scale-100 transition-all gap-2 p-4 border border-[#e5e7eb] rounded-[10px] flex items-center justify-center bg-white",
@@ -15002,22 +14642,22 @@ function SocialRedirect(props) {
15002
14642
  }
15003
14643
 
15004
14644
  // src/widgets/advanced/login/provider/google/index.tsx
15005
- import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs34 } from "react/jsx-runtime";
14645
+ import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
15006
14646
  var GoogleLogin = ({ db, onLoginSocial, onLoginGoogle }) => {
15007
- return /* @__PURE__ */ jsxs34(Fragment7, { children: [
14647
+ return /* @__PURE__ */ jsxs32(Fragment7, { children: [
15008
14648
  /* @__PURE__ */ jsx57(GoogleButton, { db, onLoginGoogle }),
15009
14649
  /* @__PURE__ */ jsx57(SocialRedirect, { db, onLoginSocial })
15010
14650
  ] });
15011
14651
  };
15012
14652
 
15013
14653
  // src/widgets/advanced/login/index.tsx
15014
- import { jsx as jsx58, jsxs as jsxs35 } from "react/jsx-runtime";
14654
+ import { jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
15015
14655
  var LoginProviderMapping = {
15016
14656
  google: GoogleLogin
15017
14657
  };
15018
14658
  var Login = (props) => {
15019
14659
  const { providers = [], forgotPasswordUrl = "/", db, onLoginSocial, onLoginGoogle } = props;
15020
- return /* @__PURE__ */ jsxs35("div", { className: "w-full space-y-8", children: [
14660
+ return /* @__PURE__ */ jsxs33("div", { className: "w-full space-y-8", children: [
15021
14661
  /* @__PURE__ */ jsx58(
15022
14662
  CredentialLogin,
15023
14663
  {
@@ -15042,7 +14682,7 @@ var Login = (props) => {
15042
14682
  };
15043
14683
 
15044
14684
  // src/widgets/advanced/search/popup-filter/index.tsx
15045
- import { jsx as jsx59, jsxs as jsxs36 } from "react/jsx-runtime";
14685
+ import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
15046
14686
  var PopupFilter = ({
15047
14687
  handleAddTagSearch,
15048
14688
  removeSearchItems,
@@ -15063,13 +14703,13 @@ var PopupFilter = ({
15063
14703
  zIndex: 33
15064
14704
  },
15065
14705
  className: "popup-filter w-full overflow-x-auto rounded-lg border border-[var(--stroke-default)] bg-white shadow-xl",
15066
- children: /* @__PURE__ */ jsxs36(
14706
+ children: /* @__PURE__ */ jsxs34(
15067
14707
  "div",
15068
14708
  {
15069
14709
  className: `flex py-3 ${(filterBy?.length === 0 || groupBy?.length === 0) && "!grid-cols-1"}`,
15070
14710
  children: [
15071
- filterBy?.length > 0 && /* @__PURE__ */ jsxs36("div", { className: "filter-by w-full px-3", children: [
15072
- /* @__PURE__ */ jsxs36("div", { className: "flex w-fit items-center justify-start gap-2 px-3 py-1", children: [
14711
+ filterBy?.length > 0 && /* @__PURE__ */ jsxs34("div", { className: "filter-by w-full px-3", children: [
14712
+ /* @__PURE__ */ jsxs34("div", { className: "flex w-fit items-center justify-start gap-2 px-3 py-1", children: [
15073
14713
  /* @__PURE__ */ jsx59(FilterIcon, { className: "filter-by-icon text-primary" }),
15074
14714
  /* @__PURE__ */ jsx59("span", { className: "font-bold text-sm text-[#212529]", children: t3("filter_by") })
15075
14715
  ] }),
@@ -15081,7 +14721,7 @@ var PopupFilter = ({
15081
14721
  acc.push(/* @__PURE__ */ jsx59("hr", { className: "my-2" }, "separator-" + index4));
15082
14722
  }
15083
14723
  acc.push(
15084
- /* @__PURE__ */ jsxs36(
14724
+ /* @__PURE__ */ jsxs34(
15085
14725
  "button",
15086
14726
  {
15087
14727
  className: `filter-by-item w-full flex items-center gap-2 bg-white px-3 py-1 text-left cursor-pointer ${isExist ? "filter-by-checked font-semibold " : "hover:!bg-[rgba(0,0,0,0.08)]"}`,
@@ -15117,15 +14757,15 @@ var PopupFilter = ({
15117
14757
  }, [])
15118
14758
  ] }),
15119
14759
  filterBy?.length > 0 && groupBy?.length > 0 && /* @__PURE__ */ jsx59("div", { className: "h-['initial'] w-[1px] bg-[#dee2e6]" }),
15120
- groupBy?.length > 0 && /* @__PURE__ */ jsxs36("div", { className: "group-by w-full px-3", children: [
15121
- /* @__PURE__ */ jsxs36("div", { className: "flex w-fit items-center justify-start gap-2 px-3 py-1", children: [
14760
+ groupBy?.length > 0 && /* @__PURE__ */ jsxs34("div", { className: "group-by w-full px-3", children: [
14761
+ /* @__PURE__ */ jsxs34("div", { className: "flex w-fit items-center justify-start gap-2 px-3 py-1", children: [
15122
14762
  /* @__PURE__ */ jsx59(GroupByIcon, { className: "group-by-icon text-primary" }),
15123
14763
  /* @__PURE__ */ jsx59("span", { className: "font-bold text-sm text-[#212529]", children: t3("group_by") })
15124
14764
  ] }),
15125
14765
  groupBy?.map((item, index4) => {
15126
14766
  const isExist = item?.active;
15127
14767
  if (!item.string) return;
15128
- return /* @__PURE__ */ jsxs36(
14768
+ return /* @__PURE__ */ jsxs34(
15129
14769
  "button",
15130
14770
  {
15131
14771
  onClick: () => {
@@ -15169,7 +14809,7 @@ import { useEffect as useEffect8, useState as useState6 } from "react";
15169
14809
 
15170
14810
  // src/widgets/advanced/search/tag-search/index.tsx
15171
14811
  import { Fragment as Fragment8 } from "react";
15172
- import { Fragment as Fragment9, jsx as jsx60, jsxs as jsxs37 } from "react/jsx-runtime";
14812
+ import { Fragment as Fragment9, jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
15173
14813
  var TagSearch = ({
15174
14814
  removeSearchItems,
15175
14815
  selectedTags,
@@ -15180,16 +14820,16 @@ var TagSearch = ({
15180
14820
  return selectedTags?.length > 0 && selectedTags?.map((tag, index4) => {
15181
14821
  if (tag?.values?.length > 0) {
15182
14822
  if (tag?.type !== "group_by") {
15183
- return /* @__PURE__ */ jsxs37(
14823
+ return /* @__PURE__ */ jsxs35(
15184
14824
  "div",
15185
14825
  {
15186
14826
  className: "flex min-h-full overflow-hidden rounded bg-[#E9ECEF] hover:shadow-xl",
15187
14827
  children: [
15188
14828
  /* @__PURE__ */ jsx60("div", { className: "bg-primary flex items-center justify-center px-2 text-sm font-semibold leading-[1.5] text-white", children: tag?.type === SearchType.SEARCH ? tag?.title : /* @__PURE__ */ jsx60(FilterIcon, {}) }),
15189
14829
  /* @__PURE__ */ jsx60("div", { className: "pl-2 align-middle text-[#495057] text-[14px]", children: tag.values.map((value, idx) => {
15190
- return /* @__PURE__ */ jsxs37(Fragment8, { children: [
14830
+ return /* @__PURE__ */ jsxs35(Fragment8, { children: [
15191
14831
  /* @__PURE__ */ jsx60("span", { children: value }),
15192
- idx < tag.values.length - 1 && /* @__PURE__ */ jsxs37("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
14832
+ idx < tag.values.length - 1 && /* @__PURE__ */ jsxs35("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
15193
14833
  " ",
15194
14834
  instance.t("or"),
15195
14835
  " "
@@ -15226,15 +14866,15 @@ var TagSearch = ({
15226
14866
  {
15227
14867
  className: "flex min-h-full overflow-hidden",
15228
14868
  children: /* @__PURE__ */ jsx60("div", { className: "flex flex-wrap items-center gap-2 align-middle text-[#495057] text-[14px]", children: tag?.values?.length > 0 && tag?.values.map(
15229
- (value, indexValue) => value?.strings?.length > 0 && /* @__PURE__ */ jsxs37(
14869
+ (value, indexValue) => value?.strings?.length > 0 && /* @__PURE__ */ jsxs35(
15230
14870
  "div",
15231
14871
  {
15232
14872
  className: "flex gap-2 overflow-hidden rounded bg-[#E9ECEF] hover:shadow-xl",
15233
14873
  children: [
15234
14874
  /* @__PURE__ */ jsx60("div", { className: "bg-primary flex items-center justify-center px-2 text-sm font-semibold leading-[1.5] text-white", children: /* @__PURE__ */ jsx60(GroupByIcon, {}) }),
15235
- value?.strings?.map((string, idx) => /* @__PURE__ */ jsxs37(Fragment9, { children: [
14875
+ value?.strings?.map((string, idx) => /* @__PURE__ */ jsxs35(Fragment9, { children: [
15236
14876
  /* @__PURE__ */ jsx60("span", { children: string }),
15237
- idx < value?.strings.length - 1 && /* @__PURE__ */ jsxs37("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
14877
+ idx < value?.strings.length - 1 && /* @__PURE__ */ jsxs35("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
15238
14878
  " ",
15239
14879
  "> ",
15240
14880
  " "
@@ -15272,7 +14912,7 @@ var TagSearch = ({
15272
14912
  };
15273
14913
 
15274
14914
  // src/widgets/advanced/search/search-list/index.tsx
15275
- import { jsx as jsx61, jsxs as jsxs38 } from "react/jsx-runtime";
14915
+ import { jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
15276
14916
  var SearchList = ({
15277
14917
  handleAddTagSearch,
15278
14918
  handleMouseEnter,
@@ -15294,7 +14934,7 @@ var SearchList = ({
15294
14934
  if (!validateAndParseDate(searchString, searchItem?.type === "datetime"))
15295
14935
  return;
15296
14936
  }
15297
- return /* @__PURE__ */ jsxs38(
14937
+ return /* @__PURE__ */ jsxs36(
15298
14938
  "button",
15299
14939
  {
15300
14940
  onClick: () => {
@@ -15341,7 +14981,7 @@ var SearchList = ({
15341
14981
  };
15342
14982
 
15343
14983
  // src/widgets/advanced/search/search-item/index.tsx
15344
- import { Fragment as Fragment10, jsx as jsx62, jsxs as jsxs39 } from "react/jsx-runtime";
14984
+ import { Fragment as Fragment10, jsx as jsx62, jsxs as jsxs37 } from "react/jsx-runtime";
15345
14985
  var Search = ({
15346
14986
  removeSearchItems,
15347
14987
  selectedTags,
@@ -15458,14 +15098,14 @@ var Search = ({
15458
15098
  setDidInit(true);
15459
15099
  setIsReadyFormatDomain(true);
15460
15100
  }, [aid, filterBy, fieldsList]);
15461
- return /* @__PURE__ */ jsxs39(
15101
+ return /* @__PURE__ */ jsxs37(
15462
15102
  "div",
15463
15103
  {
15464
15104
  ref: popupFilterRef,
15465
15105
  className: `search gap-[8px] p-2 items-center flex !order-3 xl:!order-2 bg-white custom-search-input relative flex-1 xl:min-w-[480px] xl:flex-1 rounded-[10px] shadow-[0px_1px_3px_rgba(16,24,40,0.1),0px_1px_2px_rgba(16,24,40,0.06)] min-h-[40px] border border-[var(--stroke-default)]`,
15466
15106
  children: [
15467
15107
  /* @__PURE__ */ jsx62("div", { className: "size-5", children: /* @__PURE__ */ jsx62(SearchIcon, {}) }),
15468
- /* @__PURE__ */ jsxs39("div", { className: "flex flex-1 flex-wrap items-center gap-[8px]", children: [
15108
+ /* @__PURE__ */ jsxs37("div", { className: "flex flex-1 flex-wrap items-center gap-[8px]", children: [
15469
15109
  /* @__PURE__ */ jsx62(
15470
15110
  TagSearch,
15471
15111
  {
@@ -15498,8 +15138,8 @@ var Search = ({
15498
15138
  }
15499
15139
  )
15500
15140
  ] }),
15501
- (showFiltersGroups || filterBy?.length > 0 || groupBy?.length > 0) && /* @__PURE__ */ jsxs39(Fragment10, { children: [
15502
- /* @__PURE__ */ jsxs39(
15141
+ (showFiltersGroups || filterBy?.length > 0 || groupBy?.length > 0) && /* @__PURE__ */ jsxs37(Fragment10, { children: [
15142
+ /* @__PURE__ */ jsxs37(
15503
15143
  "div",
15504
15144
  {
15505
15145
  className: `flex h-full gap-2 cursor-pointer items-center justify-center max-w-fit`,
@@ -15553,7 +15193,7 @@ var ActiveBadgeField = (props) => {
15553
15193
  // src/widgets/common/modal-layer.tsx
15554
15194
  import { Fragment as Fragment12 } from "react";
15555
15195
  import { Dialog, DialogPanel, Transition } from "@headlessui/react";
15556
- import { jsx as jsx64, jsxs as jsxs40 } from "react/jsx-runtime";
15196
+ import { jsx as jsx64, jsxs as jsxs38 } from "react/jsx-runtime";
15557
15197
  var ModalLayer = ({
15558
15198
  isOpen,
15559
15199
  onClose,
@@ -15571,10 +15211,10 @@ var ModalLayer = ({
15571
15211
  leaveFrom: "transform scale-100 opacity-100",
15572
15212
  leaveTo: "transform scale-95 opacity-0",
15573
15213
  as: Fragment12,
15574
- children: /* @__PURE__ */ jsx64(Dialog, { onClose, "aria-labelledby": "modal-title", children: /* @__PURE__ */ jsx64(DialogPanel, { children: /* @__PURE__ */ jsxs40("div", { className: "fixed bottom-0 left-0 right-0 top-0 z-[500]", children: [
15214
+ children: /* @__PURE__ */ jsx64(Dialog, { onClose, "aria-labelledby": "modal-title", children: /* @__PURE__ */ jsx64(DialogPanel, { children: /* @__PURE__ */ jsxs38("div", { className: "fixed bottom-0 left-0 right-0 top-0 z-[500]", children: [
15575
15215
  /* @__PURE__ */ jsx64("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
15576
- /* @__PURE__ */ jsx64("div", { className: "flex items-center justify-center mx-4 absolute inset-0 overflow-auto", children: /* @__PURE__ */ jsxs40("div", { className: " relative z-[1] mx-auto my-[88px] p-4 flex flex-col gap-2 max-w-[1000px] transform rounded-xl bg-[#FFF]", children: [
15577
- /* @__PURE__ */ jsxs40(
15216
+ /* @__PURE__ */ jsx64("div", { className: "flex items-center justify-center mx-4 absolute inset-0 overflow-auto", children: /* @__PURE__ */ jsxs38("div", { className: " relative z-[1] mx-auto my-[88px] p-4 flex flex-col gap-2 max-w-[1000px] transform rounded-xl bg-[#FFF]", children: [
15217
+ /* @__PURE__ */ jsxs38(
15578
15218
  "div",
15579
15219
  {
15580
15220
  className: `flex justify-between items-center border-[rgba(0,0,0,0.1)] pb-2`,
@@ -15600,7 +15240,7 @@ var ModalLayer = ({
15600
15240
  };
15601
15241
 
15602
15242
  // src/widgets/common/modal-confirm.tsx
15603
- import { jsx as jsx65, jsxs as jsxs41 } from "react/jsx-runtime";
15243
+ import { jsx as jsx65, jsxs as jsxs39 } from "react/jsx-runtime";
15604
15244
  var ModalConfirm = ({
15605
15245
  name: name2,
15606
15246
  isShowModal,
@@ -15614,7 +15254,7 @@ var ModalConfirm = ({
15614
15254
  const renderButtonAction = (name3) => {
15615
15255
  switch (name3) {
15616
15256
  case "duplicate":
15617
- return /* @__PURE__ */ jsxs41(
15257
+ return /* @__PURE__ */ jsxs39(
15618
15258
  "button",
15619
15259
  {
15620
15260
  type: "button",
@@ -15628,7 +15268,7 @@ var ModalConfirm = ({
15628
15268
  }
15629
15269
  );
15630
15270
  case "archive":
15631
- return /* @__PURE__ */ jsxs41(
15271
+ return /* @__PURE__ */ jsxs39(
15632
15272
  "button",
15633
15273
  {
15634
15274
  type: "button",
@@ -15642,7 +15282,7 @@ var ModalConfirm = ({
15642
15282
  }
15643
15283
  );
15644
15284
  case "unarchive":
15645
- return /* @__PURE__ */ jsxs41(
15285
+ return /* @__PURE__ */ jsxs39(
15646
15286
  "button",
15647
15287
  {
15648
15288
  type: "button",
@@ -15656,7 +15296,7 @@ var ModalConfirm = ({
15656
15296
  }
15657
15297
  );
15658
15298
  case "delete":
15659
- return /* @__PURE__ */ jsxs41(
15299
+ return /* @__PURE__ */ jsxs39(
15660
15300
  "button",
15661
15301
  {
15662
15302
  type: "button",
@@ -15673,12 +15313,12 @@ var ModalConfirm = ({
15673
15313
  break;
15674
15314
  }
15675
15315
  };
15676
- return /* @__PURE__ */ jsx65(ModalLayer, { isOpen: isShowModal, onClose, children: /* @__PURE__ */ jsxs41("div", { className: "mx-auto flex flex-col items-center justify-center gap-4", children: [
15677
- /* @__PURE__ */ jsxs41("div", { className: "flex flex-col gap-[4px] items-center", children: [
15316
+ return /* @__PURE__ */ jsx65(ModalLayer, { isOpen: isShowModal, onClose, children: /* @__PURE__ */ jsxs39("div", { className: "mx-auto flex flex-col items-center justify-center gap-4", children: [
15317
+ /* @__PURE__ */ jsxs39("div", { className: "flex flex-col gap-[4px] items-center", children: [
15678
15318
  /* @__PURE__ */ jsx65("div", { className: "text-[18px] font-bold", children: title }),
15679
15319
  /* @__PURE__ */ jsx65("p", { className: "text-[16px]", children: content })
15680
15320
  ] }),
15681
- /* @__PURE__ */ jsxs41("div", { className: "flex justify-center items-center gap-2 w-full", children: [
15321
+ /* @__PURE__ */ jsxs39("div", { className: "flex justify-center items-center gap-2 w-full", children: [
15682
15322
  /* @__PURE__ */ jsx65(
15683
15323
  "button",
15684
15324
  {
@@ -15696,7 +15336,7 @@ var ModalConfirm = ({
15696
15336
  // src/widgets/common/modal-detail.tsx
15697
15337
  import { useState as useState7 } from "react";
15698
15338
  import { createPortal as createPortal2 } from "react-dom";
15699
- import { Fragment as Fragment13, jsx as jsx66, jsxs as jsxs42 } from "react/jsx-runtime";
15339
+ import { Fragment as Fragment13, jsx as jsx66, jsxs as jsxs40 } from "react/jsx-runtime";
15700
15340
  var ModalDetail = ({
15701
15341
  idToolTip,
15702
15342
  title,
@@ -15719,11 +15359,11 @@ var ModalDetail = ({
15719
15359
  window.location.href = `/form/menu?model=${model}&id=${idForm}`;
15720
15360
  };
15721
15361
  return createPortal2(
15722
- /* @__PURE__ */ jsx66(Fragment13, { children: showModalDetail && /* @__PURE__ */ jsxs42("div", { className: "fixed bottom-0 left-0 right-0 top-0 z-[100]", children: [
15362
+ /* @__PURE__ */ jsx66(Fragment13, { children: showModalDetail && /* @__PURE__ */ jsxs40("div", { className: "fixed bottom-0 left-0 right-0 top-0 z-[100]", children: [
15723
15363
  /* @__PURE__ */ jsx66("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
15724
- /* @__PURE__ */ jsx66("div", { className: "absolute inset-0 overflow-auto flex flex-col justify-center items-center px-5", children: /* @__PURE__ */ jsxs42("div", { className: "relative z-[1] max-w-full p-4 flex flex-col gap-4 w-[1000px] transform rounded-3xl bg-[#FFF] h-[90%]", children: [
15725
- /* @__PURE__ */ jsxs42("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
15726
- /* @__PURE__ */ jsxs42(
15364
+ /* @__PURE__ */ jsx66("div", { className: "absolute inset-0 overflow-auto flex flex-col justify-center items-center px-5", children: /* @__PURE__ */ jsxs40("div", { className: "relative z-[1] max-w-full p-4 flex flex-col gap-4 w-[1000px] transform rounded-3xl bg-[#FFF] h-[90%]", children: [
15365
+ /* @__PURE__ */ jsxs40("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
15366
+ /* @__PURE__ */ jsxs40(
15727
15367
  "div",
15728
15368
  {
15729
15369
  id: "modal-detail",
@@ -15758,7 +15398,7 @@ var ModalDetail = ({
15758
15398
 
15759
15399
  // src/widgets/common/loading-normal.tsx
15760
15400
  import { useEffect as useEffect9, useState as useState8 } from "react";
15761
- import { jsx as jsx67, jsxs as jsxs43 } from "react/jsx-runtime";
15401
+ import { jsx as jsx67, jsxs as jsxs41 } from "react/jsx-runtime";
15762
15402
  var LayerLoading = () => {
15763
15403
  const { t: t3 } = useI18n();
15764
15404
  const [activeIndex, setActiveIndex] = useState8(0);
@@ -15768,7 +15408,7 @@ var LayerLoading = () => {
15768
15408
  }, 200);
15769
15409
  return () => clearInterval(interval);
15770
15410
  }, []);
15771
- return /* @__PURE__ */ jsx67("div", { className: "my-auto flex-1 h-full flex justify-center items-center", children: /* @__PURE__ */ jsx67("div", { className: "flex justify-center items-center", children: /* @__PURE__ */ jsxs43("div", { className: "flex justify-center flex-col items-center gap-12", children: [
15411
+ return /* @__PURE__ */ jsx67("div", { className: "my-auto flex-1 h-full flex justify-center items-center", children: /* @__PURE__ */ jsx67("div", { className: "flex justify-center items-center", children: /* @__PURE__ */ jsxs41("div", { className: "flex justify-center flex-col items-center gap-12", children: [
15772
15412
  /* @__PURE__ */ jsx67("div", { className: "loading-container", children: [...Array(6)].map((_2, index4) => /* @__PURE__ */ jsx67(
15773
15413
  "div",
15774
15414
  {
@@ -15986,7 +15626,7 @@ var po = $2(K("zoom"));
15986
15626
  var uo = $2(K("flip"));
15987
15627
 
15988
15628
  // src/widgets/common/select-files.tsx
15989
- import { Fragment as Fragment14, jsx as jsx69, jsxs as jsxs44 } from "react/jsx-runtime";
15629
+ import { Fragment as Fragment14, jsx as jsx69, jsxs as jsxs42 } from "react/jsx-runtime";
15990
15630
  var ButtonSelectFiles = ({
15991
15631
  fileInputRef,
15992
15632
  selectedFiles,
@@ -16090,8 +15730,8 @@ var ButtonSelectFiles = ({
16090
15730
  await handleUpload(formData, serivce, xNode);
16091
15731
  }
16092
15732
  };
16093
- return /* @__PURE__ */ jsxs44(Fragment14, { children: [
16094
- isPending ? /* @__PURE__ */ jsx69(Fragment14, { children: /* @__PURE__ */ jsx69("span", { className: "text-sm text-gray-500", children: t3("\u0110ang t\u1EA3i l\xEAn...") }) }) : /* @__PURE__ */ jsxs44(
15733
+ return /* @__PURE__ */ jsxs42(Fragment14, { children: [
15734
+ isPending ? /* @__PURE__ */ jsx69(Fragment14, { children: /* @__PURE__ */ jsx69("span", { className: "text-sm text-gray-500", children: t3("\u0110ang t\u1EA3i l\xEAn...") }) }) : /* @__PURE__ */ jsxs42(
16095
15735
  "button",
16096
15736
  {
16097
15737
  type: "button",
@@ -16120,7 +15760,7 @@ var ButtonSelectFiles = ({
16120
15760
 
16121
15761
  // src/widgets/common/video-player.tsx
16122
15762
  import { useRef as useRef6, useState as useState10 } from "react";
16123
- import { jsx as jsx70, jsxs as jsxs45 } from "react/jsx-runtime";
15763
+ import { jsx as jsx70, jsxs as jsxs43 } from "react/jsx-runtime";
16124
15764
  var VideoPlayer = ({ src }) => {
16125
15765
  const [isPlaying, setIsPlaying] = useState10(false);
16126
15766
  const videoRef = useRef6(null);
@@ -16147,7 +15787,7 @@ var VideoPlayer = ({ src }) => {
16147
15787
  }
16148
15788
  }
16149
15789
  };
16150
- return /* @__PURE__ */ jsxs45("div", { className: "relative flex aspect-square h-[120px] w-[120px] items-center justify-center overflow-hidden rounded-lg max-sm:h-auto max-sm:w-full", children: [
15790
+ return /* @__PURE__ */ jsxs43("div", { className: "relative flex aspect-square h-[120px] w-[120px] items-center justify-center overflow-hidden rounded-lg max-sm:h-auto max-sm:w-full", children: [
16151
15791
  /* @__PURE__ */ jsx70(
16152
15792
  "video",
16153
15793
  {
@@ -16166,7 +15806,7 @@ var VideoPlayer = ({ src }) => {
16166
15806
  };
16167
15807
 
16168
15808
  // src/widgets/basic/avatar-field/avatar.tsx
16169
- import { Fragment as Fragment15, jsx as jsx71, jsxs as jsxs46 } from "react/jsx-runtime";
15809
+ import { Fragment as Fragment15, jsx as jsx71, jsxs as jsxs44 } from "react/jsx-runtime";
16170
15810
  var AvatarField = (props) => {
16171
15811
  const {
16172
15812
  isForm = false,
@@ -16190,7 +15830,7 @@ var AvatarField = (props) => {
16190
15830
  color: textColor,
16191
15831
  fontSize: `${size4 / 2.5}px`
16192
15832
  };
16193
- return /* @__PURE__ */ jsxs46(Fragment15, { children: [
15833
+ return /* @__PURE__ */ jsxs44(Fragment15, { children: [
16194
15834
  isForm && allowShowDetail && /* @__PURE__ */ jsx71(
16195
15835
  ModalDetail,
16196
15836
  {
@@ -16232,7 +15872,7 @@ var AvatarField = (props) => {
16232
15872
  };
16233
15873
 
16234
15874
  // src/widgets/basic/binary-field/binary.tsx
16235
- import { jsx as jsx72, jsxs as jsxs47 } from "react/jsx-runtime";
15875
+ import { jsx as jsx72, jsxs as jsxs45 } from "react/jsx-runtime";
16236
15876
  var BinaryField = (props) => {
16237
15877
  const {
16238
15878
  name: name2,
@@ -16270,7 +15910,7 @@ var BinaryField = (props) => {
16270
15910
  {
16271
15911
  ref: binaryRef,
16272
15912
  className: "flex w-fit items-center gap-4 rounded-lg shadow-md mb-11",
16273
- children: renderImage ? /* @__PURE__ */ jsxs47("div", { className: "relative group", children: [
15913
+ children: renderImage ? /* @__PURE__ */ jsxs45("div", { className: "relative group", children: [
16274
15914
  renderImage && checkIsImageLink2(renderImage) ? /* @__PURE__ */ jsx72(
16275
15915
  "img",
16276
15916
  {
@@ -16303,7 +15943,7 @@ var BinaryField = (props) => {
16303
15943
  children: /* @__PURE__ */ jsx72(DeleteIcon, {})
16304
15944
  }
16305
15945
  )
16306
- ] }) : /* @__PURE__ */ jsxs47(
15946
+ ] }) : /* @__PURE__ */ jsxs45(
16307
15947
  "label",
16308
15948
  {
16309
15949
  htmlFor: inputId,
@@ -16446,7 +16086,7 @@ var ButtonBadgeField = (props) => {
16446
16086
  };
16447
16087
 
16448
16088
  // src/widgets/basic/button-field/button.tsx
16449
- import { Fragment as Fragment16, jsx as jsx74, jsxs as jsxs48 } from "react/jsx-runtime";
16089
+ import { Fragment as Fragment16, jsx as jsx74, jsxs as jsxs46 } from "react/jsx-runtime";
16450
16090
  var ButtonField = (props) => {
16451
16091
  const {
16452
16092
  func,
@@ -16466,7 +16106,7 @@ var ButtonField = (props) => {
16466
16106
  onClick: func,
16467
16107
  children: t3(content)
16468
16108
  }
16469
- ) : /* @__PURE__ */ jsxs48(
16109
+ ) : /* @__PURE__ */ jsxs46(
16470
16110
  "button",
16471
16111
  {
16472
16112
  type,
@@ -16483,7 +16123,7 @@ var ButtonField = (props) => {
16483
16123
 
16484
16124
  // src/widgets/basic/char-field/char.tsx
16485
16125
  import { useEffect as useEffect11, useMemo as useMemo4 } from "react";
16486
- import { Fragment as Fragment17, jsx as jsx75, jsxs as jsxs49 } from "react/jsx-runtime";
16126
+ import { Fragment as Fragment17, jsx as jsx75, jsxs as jsxs47 } from "react/jsx-runtime";
16487
16127
  var WIDGET_AUTO_COMPUTE_DEPEND = "auto_compute_depend_field";
16488
16128
  var CharField = (props) => {
16489
16129
  const {
@@ -16567,7 +16207,7 @@ var CharField = (props) => {
16567
16207
  }
16568
16208
  return "";
16569
16209
  }, [widget, formValues]);
16570
- return /* @__PURE__ */ jsxs49(Fragment17, { children: [
16210
+ return /* @__PURE__ */ jsxs47(Fragment17, { children: [
16571
16211
  /* @__PURE__ */ jsx75(
16572
16212
  "input",
16573
16213
  {
@@ -16711,7 +16351,7 @@ var CheckboxField = (props) => {
16711
16351
 
16712
16352
  // src/widgets/basic/color-field/color-wrapper.tsx
16713
16353
  import { useEffect as useEffect12, useRef as useRef7, useState as useState11 } from "react";
16714
- import { Fragment as Fragment18, jsx as jsx77, jsxs as jsxs50 } from "react/jsx-runtime";
16354
+ import { Fragment as Fragment18, jsx as jsx77, jsxs as jsxs48 } from "react/jsx-runtime";
16715
16355
  var ColorWrapper = (props) => {
16716
16356
  const {
16717
16357
  colors: colors2,
@@ -16738,7 +16378,7 @@ var ColorWrapper = (props) => {
16738
16378
  document.removeEventListener("mousedown", handleClickOutside);
16739
16379
  };
16740
16380
  }, []);
16741
- return /* @__PURE__ */ jsx77("div", { ref: pickColorsRef, children: showFullColors ? /* @__PURE__ */ jsx77("div", { className: "flex gap-2", children: COLORS.map((color) => /* @__PURE__ */ jsxs50("div", { children: [
16381
+ return /* @__PURE__ */ jsx77("div", { ref: pickColorsRef, children: showFullColors ? /* @__PURE__ */ jsx77("div", { className: "flex gap-2", children: COLORS.map((color) => /* @__PURE__ */ jsxs48("div", { children: [
16742
16382
  /* @__PURE__ */ jsx77(
16743
16383
  "button",
16744
16384
  {
@@ -16762,7 +16402,7 @@ var ColorWrapper = (props) => {
16762
16402
  content: i18n_default.t(color?.name)
16763
16403
  }
16764
16404
  )
16765
- ] }, color?.id)) }) : /* @__PURE__ */ jsxs50(Fragment18, { children: [
16405
+ ] }, color?.id)) }) : /* @__PURE__ */ jsxs48(Fragment18, { children: [
16766
16406
  /* @__PURE__ */ jsx77(
16767
16407
  "button",
16768
16408
  {
@@ -16819,7 +16459,7 @@ var ColorField = (props) => {
16819
16459
 
16820
16460
  // src/widgets/basic/copy-link-buttton/copy-link.tsx
16821
16461
  import { useEffect as useEffect13 } from "react";
16822
- import { jsx as jsx79, jsxs as jsxs51 } from "react/jsx-runtime";
16462
+ import { jsx as jsx79, jsxs as jsxs49 } from "react/jsx-runtime";
16823
16463
  var CopyLinkButtonField = (props) => {
16824
16464
  const {
16825
16465
  isForm,
@@ -16858,8 +16498,8 @@ var CopyLinkButtonField = (props) => {
16858
16498
  clearErrors(name2);
16859
16499
  }
16860
16500
  }, [value]);
16861
- return /* @__PURE__ */ jsxs51("div", { className: "relative", children: [
16862
- /* @__PURE__ */ jsxs51(
16501
+ return /* @__PURE__ */ jsxs49("div", { className: "relative", children: [
16502
+ /* @__PURE__ */ jsxs49(
16863
16503
  "div",
16864
16504
  {
16865
16505
  "aria-disabled": readonly,
@@ -20862,7 +20502,7 @@ function useEffectEvent(callback) {
20862
20502
  }
20863
20503
 
20864
20504
  // node_modules/react-datepicker/node_modules/@floating-ui/react/dist/floating-ui.react.mjs
20865
- import { jsx as jsx80, jsxs as jsxs52, Fragment as Fragment19 } from "react/jsx-runtime";
20505
+ import { jsx as jsx80, jsxs as jsxs50, Fragment as Fragment19 } from "react/jsx-runtime";
20866
20506
  import * as ReactDOM2 from "react-dom";
20867
20507
 
20868
20508
  // node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
@@ -21260,7 +20900,7 @@ var FloatingArrow = /* @__PURE__ */ React8.forwardRef(function FloatingArrow2(pr
21260
20900
  bottom: isCustomShape ? "" : "rotate(180deg)",
21261
20901
  right: isCustomShape ? "rotate(-90deg)" : "rotate(90deg)"
21262
20902
  }[side];
21263
- return /* @__PURE__ */ jsxs52("svg", {
20903
+ return /* @__PURE__ */ jsxs50("svg", {
21264
20904
  ...rest,
21265
20905
  "aria-hidden": true,
21266
20906
  ref,
@@ -30676,7 +30316,7 @@ var StateManagedSelect$1 = StateManagedSelect;
30676
30316
 
30677
30317
  // src/widgets/basic/date-field/date.tsx
30678
30318
  var import_moment2 = __toESM(require_moment());
30679
- import { Fragment as Fragment23, jsx as jsx83, jsxs as jsxs53 } from "react/jsx-runtime";
30319
+ import { Fragment as Fragment23, jsx as jsx83, jsxs as jsxs51 } from "react/jsx-runtime";
30680
30320
  var DateField = (props) => {
30681
30321
  const {
30682
30322
  name: name2,
@@ -30704,7 +30344,7 @@ var DateField = (props) => {
30704
30344
  } = props;
30705
30345
  const { t: t3 } = useI18n();
30706
30346
  const InputDateCustom = forwardRef6(
30707
- ({ onClick, className, onChange: onChange2, isForm: isForm2, defaultValue }, ref) => /* @__PURE__ */ jsxs53("label", { className: `flex ${className}`, children: [
30347
+ ({ onClick, className, onChange: onChange2, isForm: isForm2, defaultValue }, ref) => /* @__PURE__ */ jsxs51("label", { className: `flex ${className}`, children: [
30708
30348
  /* @__PURE__ */ jsx83(
30709
30349
  "input",
30710
30350
  {
@@ -30747,7 +30387,7 @@ var DateField = (props) => {
30747
30387
  }
30748
30388
  }, [value, clearErrors, name2]);
30749
30389
  const selectedDate = !methods ? value && (0, import_moment2.default)(value, formatDateParse).isValid() ? (0, import_moment2.default)(value, formatDateParse).add(7, "hours").toDate() : null : field?.value && (0, import_moment2.default)(field.value, formatDateParse).isValid() ? (0, import_moment2.default)(field.value, formatDateParse).add(7, "hours").toDate() : null;
30750
- return /* @__PURE__ */ jsxs53(Fragment23, { children: [
30390
+ return /* @__PURE__ */ jsxs51(Fragment23, { children: [
30751
30391
  /* @__PURE__ */ jsx83(
30752
30392
  DatePicker,
30753
30393
  {
@@ -30814,7 +30454,7 @@ var DateField = (props) => {
30814
30454
  increaseMonth,
30815
30455
  prevMonthButtonDisabled,
30816
30456
  nextMonthButtonDisabled
30817
- }) => /* @__PURE__ */ jsxs53(
30457
+ }) => /* @__PURE__ */ jsxs51(
30818
30458
  "div",
30819
30459
  {
30820
30460
  style: {
@@ -30907,11 +30547,11 @@ var DateField = (props) => {
30907
30547
  };
30908
30548
 
30909
30549
  // src/widgets/basic/download-binary-field/download-binary.tsx
30910
- import { jsx as jsx84, jsxs as jsxs54 } from "react/jsx-runtime";
30550
+ import { jsx as jsx84, jsxs as jsxs52 } from "react/jsx-runtime";
30911
30551
  var DownLoadBinaryField = (props) => {
30912
30552
  const { handleFileDownload } = props;
30913
30553
  const { t: t3 } = useI18n();
30914
- return /* @__PURE__ */ jsxs54(
30554
+ return /* @__PURE__ */ jsxs52(
30915
30555
  "button",
30916
30556
  {
30917
30557
  type: "button",
@@ -30926,7 +30566,7 @@ var DownLoadBinaryField = (props) => {
30926
30566
  };
30927
30567
 
30928
30568
  // src/widgets/basic/download-file-field/download-file.tsx
30929
- import { jsx as jsx85, jsxs as jsxs55 } from "react/jsx-runtime";
30569
+ import { jsx as jsx85, jsxs as jsxs53 } from "react/jsx-runtime";
30930
30570
  var DownloadFileField = (props) => {
30931
30571
  const {
30932
30572
  readonly,
@@ -30938,8 +30578,8 @@ var DownloadFileField = (props) => {
30938
30578
  handleFileChange,
30939
30579
  handleFileDownload
30940
30580
  } = props;
30941
- return /* @__PURE__ */ jsxs55("div", { className: "", children: [
30942
- /* @__PURE__ */ jsxs55(
30581
+ return /* @__PURE__ */ jsxs53("div", { className: "", children: [
30582
+ /* @__PURE__ */ jsxs53(
30943
30583
  "label",
30944
30584
  {
30945
30585
  htmlFor: inputId,
@@ -30974,7 +30614,7 @@ var DownloadFileField = (props) => {
30974
30614
 
30975
30615
  // src/widgets/basic/dropdown-field/dropdown.tsx
30976
30616
  import { useState as useState16 } from "react";
30977
- import { jsx as jsx86, jsxs as jsxs56 } from "react/jsx-runtime";
30617
+ import { jsx as jsx86, jsxs as jsxs54 } from "react/jsx-runtime";
30978
30618
  var DropdownField = (props) => {
30979
30619
  const {
30980
30620
  options: options2,
@@ -30988,14 +30628,14 @@ var DropdownField = (props) => {
30988
30628
  } = props;
30989
30629
  const [open, setOpen] = useState16(false);
30990
30630
  const dropdownRef = useClickOutside2({ handler: () => setOpen(false) });
30991
- return /* @__PURE__ */ jsxs56(
30631
+ return /* @__PURE__ */ jsxs54(
30992
30632
  "div",
30993
30633
  {
30994
30634
  ref: dropdownRef,
30995
30635
  className: `relative ${className}`,
30996
30636
  onClick: () => setOpen(!open),
30997
30637
  children: [
30998
- /* @__PURE__ */ jsxs56(
30638
+ /* @__PURE__ */ jsxs54(
30999
30639
  "div",
31000
30640
  {
31001
30641
  className: `flex items-center gap-2 px-3 py-1 bg-white border rounded-lg cursor-pointer ${buttonClassName}`,
@@ -31031,7 +30671,7 @@ var DropdownField = (props) => {
31031
30671
  };
31032
30672
 
31033
30673
  // src/widgets/basic/fee-field/fee.tsx
31034
- import { Fragment as Fragment24, jsx as jsx87, jsxs as jsxs57 } from "react/jsx-runtime";
30674
+ import { Fragment as Fragment24, jsx as jsx87, jsxs as jsxs55 } from "react/jsx-runtime";
31035
30675
  var FeeField = (props) => {
31036
30676
  const { value, formValues } = props;
31037
30677
  const { t: t3 } = useI18n();
@@ -31042,23 +30682,23 @@ var FeeField = (props) => {
31042
30682
  )
31043
30683
  ) + " VND";
31044
30684
  const remaining_amount = formatNumberOnly(parseFloat(formValues?.amount_residual ?? 0)) + " VND";
31045
- return /* @__PURE__ */ jsxs57(Fragment24, { children: [
30685
+ return /* @__PURE__ */ jsxs55(Fragment24, { children: [
31046
30686
  value?.subtotals?.map((sub) => {
31047
30687
  if (sub?.tax_amount > 0 && sub?.tax_groups?.length > 0) {
31048
- return /* @__PURE__ */ jsxs57(Fragment24, { children: [
31049
- /* @__PURE__ */ jsxs57("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto", children: [
31050
- /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
30688
+ return /* @__PURE__ */ jsxs55(Fragment24, { children: [
30689
+ /* @__PURE__ */ jsxs55("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto", children: [
30690
+ /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31051
30691
  sub?.name,
31052
30692
  ":"
31053
30693
  ] }),
31054
30694
  /* @__PURE__ */ jsx87("div", { className: "text-[14px] leading-[21px] text-[rgb(73,80,87)] text-right font-semibold", children: formatNumberOnly(parseFloat(sub?.base_amount ?? 0)) + " VND" })
31055
30695
  ] }),
31056
- sub?.tax_groups.map((group) => /* @__PURE__ */ jsxs57(
30696
+ sub?.tax_groups.map((group) => /* @__PURE__ */ jsxs55(
31057
30697
  "div",
31058
30698
  {
31059
30699
  className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2",
31060
30700
  children: [
31061
- /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
30701
+ /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31062
30702
  group?.group_name,
31063
30703
  ":"
31064
30704
  ] }),
@@ -31070,22 +30710,22 @@ var FeeField = (props) => {
31070
30710
  ] });
31071
30711
  }
31072
30712
  }),
31073
- /* @__PURE__ */ jsxs57("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2 pt-2 lg:mt-5 lg:pt-5", children: [
31074
- /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
30713
+ /* @__PURE__ */ jsxs55("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2 pt-2 lg:mt-5 lg:pt-5", children: [
30714
+ /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31075
30715
  t3("total"),
31076
30716
  ":"
31077
30717
  ] }),
31078
30718
  /* @__PURE__ */ jsx87("div", { className: "text-xl leading-[21px] font-bold text-[rgb(73,80,87)] text-right ", children: totalAmount })
31079
30719
  ] }),
31080
- /* @__PURE__ */ jsxs57("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2 pt-2 lg:mt-5 lg:pt-5 border-t border-[#c4c4c4ee]", children: [
31081
- /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
30720
+ /* @__PURE__ */ jsxs55("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2 pt-2 lg:mt-5 lg:pt-5 border-t border-[#c4c4c4ee]", children: [
30721
+ /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31082
30722
  t3("paid_amount"),
31083
30723
  ":"
31084
30724
  ] }),
31085
30725
  /* @__PURE__ */ jsx87("div", { className: "text-lg leading-[21px] font-semibold text-[rgb(73,80,87)] text-right ", children: paid_amount })
31086
30726
  ] }),
31087
- /* @__PURE__ */ jsxs57("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2 lg:mt-3", children: [
31088
- /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
30727
+ /* @__PURE__ */ jsxs55("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2 lg:mt-3", children: [
30728
+ /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31089
30729
  t3("remanining_amount"),
31090
30730
  ":"
31091
30731
  ] }),
@@ -31096,7 +30736,7 @@ var FeeField = (props) => {
31096
30736
 
31097
30737
  // src/widgets/basic/file-upload-field/file-upload.tsx
31098
30738
  import { useEffect as useEffect18, useRef as useRef15, useState as useState17 } from "react";
31099
- import { jsx as jsx88, jsxs as jsxs58 } from "react/jsx-runtime";
30739
+ import { jsx as jsx88, jsxs as jsxs56 } from "react/jsx-runtime";
31100
30740
  var RenderFile = ({
31101
30741
  file,
31102
30742
  onDelete,
@@ -31112,9 +30752,9 @@ var RenderFile = ({
31112
30752
  "application/vnd.ms-excel": /* @__PURE__ */ jsx88(ExcelIcon, {}),
31113
30753
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": /* @__PURE__ */ jsx88(ExcelIcon, {})
31114
30754
  };
31115
- return /* @__PURE__ */ jsxs58("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
30755
+ return /* @__PURE__ */ jsxs56("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
31116
30756
  /* @__PURE__ */ jsx88("div", { className: "w-6 h-6 file-icon", children: info?.type && fileTypeIcon?.[info?.type] }),
31117
- /* @__PURE__ */ jsxs58("div", { children: [
30757
+ /* @__PURE__ */ jsxs56("div", { children: [
31118
30758
  /* @__PURE__ */ jsx88(
31119
30759
  "div",
31120
30760
  {
@@ -31127,7 +30767,7 @@ var RenderFile = ({
31127
30767
  ),
31128
30768
  /* @__PURE__ */ jsx88("div", { className: "text-xs text-[#666] font-semibold", children: isNaN(info?.size) ? "" : formatFileSize(info?.size) })
31129
30769
  ] }),
31130
- /* @__PURE__ */ jsxs58("div", { className: "flex items-center rounded-[8px] p-[8px] gap-2 bg-white shadow-[0_2px_4px_0_rgba(27,28,29,0.04)]", children: [
30770
+ /* @__PURE__ */ jsxs56("div", { className: "flex items-center rounded-[8px] p-[8px] gap-2 bg-white shadow-[0_2px_4px_0_rgba(27,28,29,0.04)]", children: [
31131
30771
  /* @__PURE__ */ jsx88(
31132
30772
  "span",
31133
30773
  {
@@ -31197,7 +30837,7 @@ var FileUploadField = (props) => {
31197
30837
  );
31198
30838
  }
31199
30839
  }, [selectedFiles]);
31200
- return /* @__PURE__ */ jsxs58("div", { children: [
30840
+ return /* @__PURE__ */ jsxs56("div", { children: [
31201
30841
  selectedFiles?.length > 0 && selectedFiles?.map((fileItem, index4) => /* @__PURE__ */ jsx88(
31202
30842
  RenderFile,
31203
30843
  {
@@ -31238,7 +30878,7 @@ var FileUploadField = (props) => {
31238
30878
 
31239
30879
  // src/widgets/basic/float-field/float.tsx
31240
30880
  import { useEffect as useEffect19, useRef as useRef16, useState as useState18 } from "react";
31241
- import { Fragment as Fragment25, jsx as jsx89, jsxs as jsxs59 } from "react/jsx-runtime";
30881
+ import { Fragment as Fragment25, jsx as jsx89, jsxs as jsxs57 } from "react/jsx-runtime";
31242
30882
  var FloatField = (props) => {
31243
30883
  const {
31244
30884
  name: name2,
@@ -31363,7 +31003,7 @@ var FloatField = (props) => {
31363
31003
  }
31364
31004
  isDirtyRef.current = false;
31365
31005
  };
31366
- return /* @__PURE__ */ jsxs59(Fragment25, { children: [
31006
+ return /* @__PURE__ */ jsxs57(Fragment25, { children: [
31367
31007
  /* @__PURE__ */ jsx89(
31368
31008
  "input",
31369
31009
  {
@@ -31393,7 +31033,7 @@ var FloatField = (props) => {
31393
31033
 
31394
31034
  // src/widgets/basic/float-time-field/float-time.tsx
31395
31035
  import { useState as useState19 } from "react";
31396
- import { Fragment as Fragment26, jsx as jsx90, jsxs as jsxs60 } from "react/jsx-runtime";
31036
+ import { Fragment as Fragment26, jsx as jsx90, jsxs as jsxs58 } from "react/jsx-runtime";
31397
31037
  var FloatTimeField = (props) => {
31398
31038
  const {
31399
31039
  name: name2,
@@ -31473,7 +31113,7 @@ var FloatTimeField = (props) => {
31473
31113
  }
31474
31114
  onBlur();
31475
31115
  };
31476
- return /* @__PURE__ */ jsxs60(Fragment26, { children: [
31116
+ return /* @__PURE__ */ jsxs58(Fragment26, { children: [
31477
31117
  /* @__PURE__ */ jsx90(
31478
31118
  "input",
31479
31119
  {
@@ -31583,7 +31223,7 @@ var ImageField = (props) => {
31583
31223
  import React16, { useEffect as useEffect21, useMemo as useMemo10 } from "react";
31584
31224
 
31585
31225
  // src/widgets/basic/information-field/information.tsx
31586
- import { Fragment as Fragment27, jsx as jsx93, jsxs as jsxs61 } from "react/jsx-runtime";
31226
+ import { Fragment as Fragment27, jsx as jsx93, jsxs as jsxs59 } from "react/jsx-runtime";
31587
31227
  var InfomationField = (props) => {
31588
31228
  const { value, isForm = false, showName = true, stringToColor } = props;
31589
31229
  if (!value || Array.isArray(value) && value.length === 0) {
@@ -31599,7 +31239,7 @@ var InfomationField = (props) => {
31599
31239
  stringToColor
31600
31240
  },
31601
31241
  item.id
31602
- )) : /* @__PURE__ */ jsxs61("div", { className: "flex gap-2 items-center w-max", children: [
31242
+ )) : /* @__PURE__ */ jsxs59("div", { className: "flex gap-2 items-center w-max", children: [
31603
31243
  /* @__PURE__ */ jsx93(
31604
31244
  AvatarField,
31605
31245
  {
@@ -31615,7 +31255,7 @@ var InfomationField = (props) => {
31615
31255
  };
31616
31256
 
31617
31257
  // src/widgets/basic/many2many-tags-field/many2many-tags.tsx
31618
- import { jsx as jsx94, jsxs as jsxs62 } from "react/jsx-runtime";
31258
+ import { jsx as jsx94, jsxs as jsxs60 } from "react/jsx-runtime";
31619
31259
  var CustomMultiValue = ({ stringToColor, ...props }) => {
31620
31260
  const { selectProps, data, menuList } = props;
31621
31261
  const { relation } = selectProps;
@@ -31624,7 +31264,7 @@ var CustomMultiValue = ({ stringToColor, ...props }) => {
31624
31264
  (childItem) => childItem?.is_display && childItem?.action?.res_model === relation
31625
31265
  )
31626
31266
  )?.[0]?.action?.id;
31627
- return /* @__PURE__ */ jsxs62("div", { className: "flex items-center gap-2 relative mr-2 group", children: [
31267
+ return /* @__PURE__ */ jsxs60("div", { className: "flex items-center gap-2 relative mr-2 group", children: [
31628
31268
  /* @__PURE__ */ jsx94(
31629
31269
  AvatarField,
31630
31270
  {
@@ -31656,9 +31296,9 @@ var CustomMenuList = (props) => {
31656
31296
  const { setIsShowModalMany2Many, searchable } = selectProps;
31657
31297
  const { t: t3 } = useI18n();
31658
31298
  const limitedChildren = React16.Children.toArray(children).slice(0, 10);
31659
- return /* @__PURE__ */ jsxs62(components.MenuList, { ...props, className: "z-[99]", children: [
31299
+ return /* @__PURE__ */ jsxs60(components.MenuList, { ...props, className: "z-[99]", children: [
31660
31300
  limitedChildren,
31661
- options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs62(
31301
+ options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs60(
31662
31302
  "button",
31663
31303
  {
31664
31304
  type: "button",
@@ -31748,7 +31388,7 @@ var Many2ManyTagField = (props) => {
31748
31388
  onChange2?.(name2 ?? "", newValue);
31749
31389
  clearErrors(name2);
31750
31390
  };
31751
- return /* @__PURE__ */ jsxs62("div", { className: "group h-full overflow-y-auto", children: [
31391
+ return /* @__PURE__ */ jsxs60("div", { className: "group h-full overflow-y-auto", children: [
31752
31392
  /* @__PURE__ */ jsx94(
31753
31393
  StateManagedSelect$1,
31754
31394
  {
@@ -31862,7 +31502,7 @@ var Many2ManyTagField = (props) => {
31862
31502
 
31863
31503
  // src/widgets/basic/monetary-field/monetary.tsx
31864
31504
  import { useEffect as useEffect22 } from "react";
31865
- import { Fragment as Fragment28, jsx as jsx95, jsxs as jsxs63 } from "react/jsx-runtime";
31505
+ import { Fragment as Fragment28, jsx as jsx95, jsxs as jsxs61 } from "react/jsx-runtime";
31866
31506
  var MonetaryField = (props) => {
31867
31507
  const { t: t3 } = useI18n();
31868
31508
  const {
@@ -31882,8 +31522,8 @@ var MonetaryField = (props) => {
31882
31522
  isEditTable
31883
31523
  } = props;
31884
31524
  if (isForm && name2 === "amount_residual") {
31885
- return /* @__PURE__ */ jsxs63("div", { className: "flex justify-end gap-x-4 gap-y-2 ml-auto mt-2 lg:mt-5", children: [
31886
- /* @__PURE__ */ jsxs63("span", { className: "font-semibold", children: [
31525
+ return /* @__PURE__ */ jsxs61("div", { className: "flex justify-end gap-x-4 gap-y-2 ml-auto mt-2 lg:mt-5", children: [
31526
+ /* @__PURE__ */ jsxs61("span", { className: "font-semibold", children: [
31887
31527
  string,
31888
31528
  ":"
31889
31529
  ] }),
@@ -31920,7 +31560,7 @@ var MonetaryField = (props) => {
31920
31560
  clearErrors(name2);
31921
31561
  }
31922
31562
  }, [value2]);
31923
- return /* @__PURE__ */ jsxs63(Fragment28, { children: [
31563
+ return /* @__PURE__ */ jsxs61(Fragment28, { children: [
31924
31564
  /* @__PURE__ */ jsx95(
31925
31565
  "input",
31926
31566
  {
@@ -31974,7 +31614,7 @@ var PaidBadgedField = () => {
31974
31614
 
31975
31615
  // src/widgets/basic/priority-field/rating-star.tsx
31976
31616
  import React17, { useEffect as useEffect23, useState as useState20 } from "react";
31977
- import { jsx as jsx97, jsxs as jsxs64 } from "react/jsx-runtime";
31617
+ import { jsx as jsx97, jsxs as jsxs62 } from "react/jsx-runtime";
31978
31618
  var RatingStarField = (props) => {
31979
31619
  const {
31980
31620
  label,
@@ -32019,7 +31659,7 @@ var RatingStarField = (props) => {
32019
31659
  const starValue = index4 + 1;
32020
31660
  const fillColor = hover > 0 ? hover >= starValue ? "#f3cc00" : "white" : rating >= starValue ? "#f3cc00" : "white";
32021
31661
  const strokeColor = hover > 0 ? hover >= starValue ? "#f3cc00" : "rgba(73,80,87,0.76)" : rating >= starValue ? "#f3cc00" : "rgba(73,80,87,0.76)";
32022
- return /* @__PURE__ */ jsxs64(React17.Fragment, { children: [
31662
+ return /* @__PURE__ */ jsxs62(React17.Fragment, { children: [
32023
31663
  /* @__PURE__ */ jsx97(
32024
31664
  "div",
32025
31665
  {
@@ -32099,7 +31739,7 @@ var PriorityField = (props) => {
32099
31739
 
32100
31740
  // src/widgets/basic/radio-group-field/radio-group.tsx
32101
31741
  import { useEffect as useEffect24 } from "react";
32102
- import { jsx as jsx99, jsxs as jsxs65 } from "react/jsx-runtime";
31742
+ import { jsx as jsx99, jsxs as jsxs63 } from "react/jsx-runtime";
32103
31743
  var RadioGroupField = (props) => {
32104
31744
  const {
32105
31745
  name: name2,
@@ -32123,7 +31763,7 @@ var RadioGroupField = (props) => {
32123
31763
  {
32124
31764
  name: name2 ?? "",
32125
31765
  control: methods.control,
32126
- render: ({ field }) => /* @__PURE__ */ jsx99("div", { className: "flex items-center gap-[10px] pb-4", children: selection?.map((select) => /* @__PURE__ */ jsxs65("div", { className: "flex items-center gap-1", children: [
31766
+ render: ({ field }) => /* @__PURE__ */ jsx99("div", { className: "flex items-center gap-[10px] pb-4", children: selection?.map((select) => /* @__PURE__ */ jsxs63("div", { className: "flex items-center gap-1", children: [
32127
31767
  /* @__PURE__ */ jsx99(
32128
31768
  "input",
32129
31769
  {
@@ -32151,7 +31791,7 @@ var RadioGroupField = (props) => {
32151
31791
 
32152
31792
  // src/widgets/basic/remaining-days-field/remaining-days.tsx
32153
31793
  var import_moment3 = __toESM(require_moment());
32154
- import { jsx as jsx100, jsxs as jsxs66 } from "react/jsx-runtime";
31794
+ import { jsx as jsx100, jsxs as jsxs64 } from "react/jsx-runtime";
32155
31795
  var RemainingDaysField = (props) => {
32156
31796
  const {
32157
31797
  value,
@@ -32162,7 +31802,7 @@ var RemainingDaysField = (props) => {
32162
31802
  if (!value) return null;
32163
31803
  const adjustedValue = (0, import_moment3.default)(value).add(7, "hours");
32164
31804
  const isFuture = adjustedValue.isAfter((0, import_moment3.default)());
32165
- return /* @__PURE__ */ jsxs66("div", { className: isForm ? "mb-4" : "", children: [
31805
+ return /* @__PURE__ */ jsxs64("div", { className: isForm ? "mb-4" : "", children: [
32166
31806
  /* @__PURE__ */ jsx100(M, { id: `remainingDays_${value}`, place: "top", content: string }),
32167
31807
  /* @__PURE__ */ jsx100(
32168
31808
  "div",
@@ -32182,7 +31822,7 @@ var RemainingDaysField = (props) => {
32182
31822
  };
32183
31823
 
32184
31824
  // src/widgets/basic/select-dropdown-field/select-dropdown.tsx
32185
- import { Fragment as Fragment29, jsx as jsx101, jsxs as jsxs67 } from "react/jsx-runtime";
31825
+ import { Fragment as Fragment29, jsx as jsx101, jsxs as jsxs65 } from "react/jsx-runtime";
32186
31826
  var SelectDropdownField = (props) => {
32187
31827
  const { t: t3 } = useI18n();
32188
31828
  const {
@@ -32233,7 +31873,7 @@ var SelectDropdownField = (props) => {
32233
31873
  value: defaultValue || null,
32234
31874
  required: !invisible && required
32235
31875
  };
32236
- return /* @__PURE__ */ jsxs67(Fragment29, { children: [
31876
+ return /* @__PURE__ */ jsxs65(Fragment29, { children: [
32237
31877
  /* @__PURE__ */ jsx101("div", { className: "group", children: /* @__PURE__ */ jsx101(
32238
31878
  StateManagedSelect$1,
32239
31879
  {
@@ -32345,7 +31985,7 @@ var TextAreaField = (props) => {
32345
31985
  };
32346
31986
 
32347
31987
  // src/widgets/basic/toggle-button-field/toggle-button.tsx
32348
- import { jsx as jsx103, jsxs as jsxs68 } from "react/jsx-runtime";
31988
+ import { jsx as jsx103, jsxs as jsxs66 } from "react/jsx-runtime";
32349
31989
  var ToggleButtonField = (props) => {
32350
31990
  const {
32351
31991
  name: name2,
@@ -32360,7 +32000,7 @@ var ToggleButtonField = (props) => {
32360
32000
  {
32361
32001
  name: name2 ?? "",
32362
32002
  control: methods?.control,
32363
- render: ({ field }) => /* @__PURE__ */ jsx103("div", { className: "inline-flex items-center", children: /* @__PURE__ */ jsxs68("label", { className: "relative inline-block w-8 h-5 cursor-pointer", children: [
32003
+ render: ({ field }) => /* @__PURE__ */ jsx103("div", { className: "inline-flex items-center", children: /* @__PURE__ */ jsxs66("label", { className: "relative inline-block w-8 h-5 cursor-pointer", children: [
32364
32004
  /* @__PURE__ */ jsx103(
32365
32005
  "input",
32366
32006
  {
@@ -32414,7 +32054,7 @@ var ToggleButtonField = (props) => {
32414
32054
 
32415
32055
  // src/widgets/basic/integer-field/integer.tsx
32416
32056
  import { useEffect as useEffect25, useRef as useRef18, useState as useState21 } from "react";
32417
- import { Fragment as Fragment30, jsx as jsx104, jsxs as jsxs69 } from "react/jsx-runtime";
32057
+ import { Fragment as Fragment30, jsx as jsx104, jsxs as jsxs67 } from "react/jsx-runtime";
32418
32058
  var IntegerField = (props) => {
32419
32059
  const {
32420
32060
  name: name2,
@@ -32513,7 +32153,7 @@ var IntegerField = (props) => {
32513
32153
  inputRef.current?.blur();
32514
32154
  clearErrors(name2);
32515
32155
  };
32516
- return /* @__PURE__ */ jsxs69(Fragment30, { children: [
32156
+ return /* @__PURE__ */ jsxs67(Fragment30, { children: [
32517
32157
  /* @__PURE__ */ jsx104(
32518
32158
  "input",
32519
32159
  {
@@ -32557,7 +32197,7 @@ var IntegerField = (props) => {
32557
32197
  };
32558
32198
 
32559
32199
  // src/widgets/basic/status-dropdown-field/status-dropdown.tsx
32560
- import { jsx as jsx105, jsxs as jsxs70 } from "react/jsx-runtime";
32200
+ import { jsx as jsx105, jsxs as jsxs68 } from "react/jsx-runtime";
32561
32201
  var StatusDropdownField = (props) => {
32562
32202
  const {
32563
32203
  buttonRef,
@@ -32569,7 +32209,7 @@ var StatusDropdownField = (props) => {
32569
32209
  handleClick,
32570
32210
  colors: colors2
32571
32211
  } = props;
32572
- return /* @__PURE__ */ jsxs70(
32212
+ return /* @__PURE__ */ jsxs68(
32573
32213
  "div",
32574
32214
  {
32575
32215
  ref: buttonRef,
@@ -32585,14 +32225,14 @@ var StatusDropdownField = (props) => {
32585
32225
  ),
32586
32226
  isOpen && /* @__PURE__ */ jsx105("div", { className: "absolute w-[200px] top-full bg-white transition-all right-0 flex flex-col rounded-lg z-10 shadow-md border !border-[#dbe0e6] overflow-hidden", children: selection?.map((item, index4) => {
32587
32227
  const isActive = item[0] == state;
32588
- return /* @__PURE__ */ jsxs70(
32228
+ return /* @__PURE__ */ jsxs68(
32589
32229
  "div",
32590
32230
  {
32591
32231
  className: `cursor-pointer relative hover:bg-gray-200 pl-[12px] pr-[20px] py-[5px] flex items-center justify-start gap-2 ${isActive ? "bg-gray-100" : ""}`,
32592
32232
  onClick: () => handleClick(item[0]),
32593
32233
  children: [
32594
32234
  /* @__PURE__ */ jsx105("div", { className: "w-4 h-4", children: isActive && /* @__PURE__ */ jsx105(CheckIcon, {}) }),
32595
- /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-2", children: [
32235
+ /* @__PURE__ */ jsxs68("div", { className: "flex items-center gap-2", children: [
32596
32236
  /* @__PURE__ */ jsx105(
32597
32237
  "div",
32598
32238
  {
@@ -32614,7 +32254,7 @@ var StatusDropdownField = (props) => {
32614
32254
  // src/widgets/basic/many2many-field/many2many.tsx
32615
32255
  import { createPortal as createPortal5 } from "react-dom";
32616
32256
  import { useEffect as useEffect26 } from "react";
32617
- import { jsx as jsx106, jsxs as jsxs71 } from "react/jsx-runtime";
32257
+ import { jsx as jsx106, jsxs as jsxs69 } from "react/jsx-runtime";
32618
32258
  var Many2ManyField = (props) => {
32619
32259
  const { t: t3 } = useI18n();
32620
32260
  const {
@@ -32688,7 +32328,7 @@ var Many2ManyField = (props) => {
32688
32328
  };
32689
32329
  }, [selectedTags]);
32690
32330
  return createPortal5(
32691
- /* @__PURE__ */ jsxs71(
32331
+ /* @__PURE__ */ jsxs69(
32692
32332
  "div",
32693
32333
  {
32694
32334
  style: {
@@ -32697,7 +32337,7 @@ var Many2ManyField = (props) => {
32697
32337
  className: "fixed bottom-0 left-0 right-0 top-0",
32698
32338
  children: [
32699
32339
  /* @__PURE__ */ jsx106("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
32700
- /* @__PURE__ */ jsx106("div", { className: "absolute inset-0 overflow-auto px-6 flex justify-center items-center", children: /* @__PURE__ */ jsxs71(
32340
+ /* @__PURE__ */ jsx106("div", { className: "absolute inset-0 overflow-auto px-6 flex justify-center items-center", children: /* @__PURE__ */ jsxs69(
32701
32341
  "div",
32702
32342
  {
32703
32343
  style: {
@@ -32705,11 +32345,11 @@ var Many2ManyField = (props) => {
32705
32345
  },
32706
32346
  className: "relative p-4 flex flex-col gap-2 max-w-full lg:max-w-[1000px] lg:min-w-[1000px] transform rounded-3xl bg-[#FFF] min-h-[90%] max-h-[90%] h-fit",
32707
32347
  children: [
32708
- /* @__PURE__ */ jsxs71("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
32348
+ /* @__PURE__ */ jsxs69("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
32709
32349
  /* @__PURE__ */ jsx106("div", { className: "text-[20px] font-semibold", children: title }),
32710
32350
  /* @__PURE__ */ jsx106("button", { className: "cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx106(CloseIcon, {}) })
32711
32351
  ] }),
32712
- /* @__PURE__ */ jsxs71("div", { className: "grid grid-cols-3 gap-2 items-center py-2", children: [
32352
+ /* @__PURE__ */ jsxs69("div", { className: "grid grid-cols-3 gap-2 items-center py-2", children: [
32713
32353
  /* @__PURE__ */ jsx106("div", { className: "col-span-3 sm:col-span-2 flex-1", children: /* @__PURE__ */ jsx106(
32714
32354
  Search,
32715
32355
  {
@@ -32769,7 +32409,7 @@ var Many2ManyField = (props) => {
32769
32409
  "div",
32770
32410
  {
32771
32411
  className: `flex w-full items-center h-full overflow-auto `,
32772
- children: /* @__PURE__ */ jsx106("div", { className: "w-full h-full max-w-full", children: /* @__PURE__ */ jsxs71(
32412
+ children: /* @__PURE__ */ jsx106("div", { className: "w-full h-full max-w-full", children: /* @__PURE__ */ jsxs69(
32773
32413
  "table",
32774
32414
  {
32775
32415
  className: `relative w-full bg-white custom-dropdown `,
@@ -32845,7 +32485,7 @@ var Many2ManyField = (props) => {
32845
32485
  ) }) })
32846
32486
  }
32847
32487
  ) }) }) : /* @__PURE__ */ jsx106(LayerLoading, {}),
32848
- /* @__PURE__ */ jsxs71("div", { className: "flex items-center gap-2 mt-auto", children: [
32488
+ /* @__PURE__ */ jsxs69("div", { className: "flex items-center gap-2 mt-auto", children: [
32849
32489
  isDisplayCheckbox && /* @__PURE__ */ jsx106(
32850
32490
  "button",
32851
32491
  {
@@ -32894,15 +32534,15 @@ var Many2ManyField = (props) => {
32894
32534
 
32895
32535
  // src/widgets/basic/many2one-field/many2one.tsx
32896
32536
  import React18, { useEffect as useEffect27 } from "react";
32897
- import { Fragment as Fragment31, jsx as jsx107, jsxs as jsxs72 } from "react/jsx-runtime";
32537
+ import { Fragment as Fragment31, jsx as jsx107, jsxs as jsxs70 } from "react/jsx-runtime";
32898
32538
  var CustomMenuList2 = (props) => {
32899
32539
  const { t: t3 } = useI18n();
32900
32540
  const { options: options2, children, selectProps } = props;
32901
32541
  const { setIsShowModalMany2Many, searchable } = selectProps;
32902
32542
  const limitedChildren = React18.Children.toArray(children).slice(0, 10);
32903
- return /* @__PURE__ */ jsxs72(components.MenuList, { ...props, className: "z-[99]", children: [
32543
+ return /* @__PURE__ */ jsxs70(components.MenuList, { ...props, className: "z-[99]", children: [
32904
32544
  limitedChildren,
32905
- options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs72(
32545
+ options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs70(
32906
32546
  "button",
32907
32547
  {
32908
32548
  type: "button",
@@ -32945,7 +32585,7 @@ var Many2OneField = (props) => {
32945
32585
  const { t: t3 } = useI18n();
32946
32586
  if (!isForm && !isEditTable) {
32947
32587
  const id = propValue && typeof propValue === "object" && "id" in propValue ? propValue?.id : propValue;
32948
- return /* @__PURE__ */ jsxs72(Fragment31, { children: [
32588
+ return /* @__PURE__ */ jsxs70(Fragment31, { children: [
32949
32589
  allowShowDetail && renderDetail({
32950
32590
  idToolTip: String(name2) + Number(index4),
32951
32591
  model: options2?.model ?? relation,
@@ -32963,7 +32603,7 @@ var Many2OneField = (props) => {
32963
32603
  )
32964
32604
  ] });
32965
32605
  }
32966
- return /* @__PURE__ */ jsxs72(Fragment31, { children: [
32606
+ return /* @__PURE__ */ jsxs70(Fragment31, { children: [
32967
32607
  allowShowDetail && renderDetail({
32968
32608
  idToolTip: String(name2),
32969
32609
  model: options2?.model ?? relation,
@@ -33001,7 +32641,7 @@ var Many2OneField = (props) => {
33001
32641
  methods?.clearErrors(name2);
33002
32642
  }
33003
32643
  }, [selectedOption]);
33004
- return /* @__PURE__ */ jsxs72("div", { className: "h-full", children: [
32644
+ return /* @__PURE__ */ jsxs70("div", { className: "h-full", children: [
33005
32645
  /* @__PURE__ */ jsx107(
33006
32646
  StateManagedSelect$1,
33007
32647
  {
@@ -33106,7 +32746,7 @@ var Many2OneField = (props) => {
33106
32746
  };
33107
32747
 
33108
32748
  // src/widgets/basic/status-bar-field/duration/duration.tsx
33109
- import { jsx as jsx108, jsxs as jsxs73 } from "react/jsx-runtime";
32749
+ import { jsx as jsx108, jsxs as jsxs71 } from "react/jsx-runtime";
33110
32750
  var StatusbarDurationField = (props) => {
33111
32751
  const {
33112
32752
  disabled,
@@ -33120,10 +32760,10 @@ var StatusbarDurationField = (props) => {
33120
32760
  "div",
33121
32761
  {
33122
32762
  className: `w-full items-center rounded-[10px] !flex flex-col-reverse justify-center lg:!justify-end lg:!flex-row gap-y-[15px]`,
33123
- children: /* @__PURE__ */ jsxs73("div", { className: "flex items-center gap-[24px]", children: [
32763
+ children: /* @__PURE__ */ jsxs71("div", { className: "flex items-center gap-[24px]", children: [
33124
32764
  /* @__PURE__ */ jsx108("div", { className: "flex items-center", children: dataResponse && dataResponse?.records?.filter((item) => !item?.fold || item.id == defaultValue)?.map((option, index4) => {
33125
32765
  const value = option?.id === defaultValue;
33126
- return /* @__PURE__ */ jsxs73(
32766
+ return /* @__PURE__ */ jsxs71(
33127
32767
  "label",
33128
32768
  {
33129
32769
  onClick: () => !disabled && handleClick(option.id),
@@ -33158,7 +32798,7 @@ var StatusbarDurationField = (props) => {
33158
32798
  }) }),
33159
32799
  dataResponse?.records?.some(
33160
32800
  (item) => item?.fold && item.id !== defaultValue
33161
- ) && /* @__PURE__ */ jsxs73(
32801
+ ) && /* @__PURE__ */ jsxs71(
33162
32802
  "div",
33163
32803
  {
33164
32804
  onClick: () => setModalStatus(!modelStatus),
@@ -33196,7 +32836,7 @@ var StatusbarDurationField = (props) => {
33196
32836
 
33197
32837
  // src/widgets/basic/status-bar-field/option/option.tsx
33198
32838
  import { useMemo as useMemo11 } from "react";
33199
- import { Fragment as Fragment32, jsx as jsx109, jsxs as jsxs74 } from "react/jsx-runtime";
32839
+ import { Fragment as Fragment32, jsx as jsx109, jsxs as jsxs72 } from "react/jsx-runtime";
33200
32840
  var StatusBarOptionField = (props) => {
33201
32841
  const { selection, defaultValue } = props;
33202
32842
  const memoizedStatusOptions = useMemo11(() => selection, [selection]);
@@ -33212,8 +32852,8 @@ var StatusBarOptionField = (props) => {
33212
32852
  flexWrap: "wrap"
33213
32853
  },
33214
32854
  children: memoizedStatusOptions?.map((option, index4) => {
33215
- return /* @__PURE__ */ jsxs74(Fragment32, { children: [
33216
- /* @__PURE__ */ jsxs74(
32855
+ return /* @__PURE__ */ jsxs72(Fragment32, { children: [
32856
+ /* @__PURE__ */ jsxs72(
33217
32857
  "div",
33218
32858
  {
33219
32859
  style: {
@@ -33332,7 +32972,7 @@ var ICCheck = () => {
33332
32972
  };
33333
32973
 
33334
32974
  // src/widgets/basic/date-option-field/date-option.tsx
33335
- import { jsx as jsx110, jsxs as jsxs75 } from "react/jsx-runtime";
32975
+ import { jsx as jsx110, jsxs as jsxs73 } from "react/jsx-runtime";
33336
32976
  var DateOptionField = (props) => {
33337
32977
  const {
33338
32978
  name: name2,
@@ -33348,7 +32988,7 @@ var DateOptionField = (props) => {
33348
32988
  {
33349
32989
  name: name2 ?? "",
33350
32990
  control: methods?.control,
33351
- render: ({ field }) => /* @__PURE__ */ jsxs75(
32991
+ render: ({ field }) => /* @__PURE__ */ jsxs73(
33352
32992
  "label",
33353
32993
  {
33354
32994
  className: `cursor-pointer mr-2 w-[50px] flex items-center justify-center p-[4px] border rounded-md text-sm