@fctc/sme-widget-ui 1.9.7 → 1.9.8

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/index.mjs CHANGED
@@ -5527,31 +5527,76 @@ var DownloadIcon = () => {
5527
5527
  };
5528
5528
 
5529
5529
  // src/icons/excel-icon.tsx
5530
- import { jsx as jsx14 } from "react/jsx-runtime";
5530
+ import { jsx as jsx14, jsxs as jsxs4 } from "react/jsx-runtime";
5531
5531
  var ExcelIcon = () => {
5532
- return /* @__PURE__ */ jsx14(
5532
+ return /* @__PURE__ */ jsxs4(
5533
5533
  "svg",
5534
5534
  {
5535
5535
  xmlns: "http://www.w3.org/2000/svg",
5536
- width: "19",
5537
- height: "10",
5538
- viewBox: "0 0 19 10",
5536
+ width: "24",
5537
+ height: "24",
5538
+ viewBox: "0 0 24 24",
5539
5539
  fill: "none",
5540
- children: /* @__PURE__ */ jsx14(
5541
- "path",
5542
- {
5543
- 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",
5544
- fill: "#47A800"
5545
- }
5546
- )
5540
+ children: [
5541
+ /* @__PURE__ */ jsx14(
5542
+ "path",
5543
+ {
5544
+ d: "M6 0C5.175 0 4.5 0.675 4.5 1.5V22.5C4.5 23.325 5.175 24 6 24H21C21.825 24 22.5 23.325 22.5 22.5V6L16.5 0H6Z",
5545
+ fill: "#ECECEC"
5546
+ }
5547
+ ),
5548
+ /* @__PURE__ */ jsx14(
5549
+ "path",
5550
+ {
5551
+ d: "M18 6H22.5L16.5 0V4.5C16.5 5.325 17.175 6 18 6Z",
5552
+ fill: "#C6C6C6"
5553
+ }
5554
+ ),
5555
+ /* @__PURE__ */ jsx14("path", { d: "M22.5 10.5L18 6H22.5V10.5Z", fill: "#DCDCDC" }),
5556
+ /* @__PURE__ */ jsx14(
5557
+ "path",
5558
+ {
5559
+ d: "M19.5 19.5C19.5 19.9125 19.1625 20.25 18.75 20.25H2.25C1.8375 20.25 1.5 19.9125 1.5 19.5V12C1.5 11.5875 1.8375 11.25 2.25 11.25H18.75C19.1625 11.25 19.5 11.5875 19.5 12V19.5Z",
5560
+ fill: "#47A800"
5561
+ }
5562
+ ),
5563
+ /* @__PURE__ */ jsx14(
5564
+ "path",
5565
+ {
5566
+ d: "M6.76622 15.2898L7.80947 13.9826C8.12147 13.5746 8.72747 14.0958 8.38547 14.4859C8.02622 14.9118 7.64822 15.3738 7.28822 15.8471L8.51147 17.3703C8.84147 17.8204 8.18222 18.2516 7.85822 17.8076L6.75422 16.3923L5.66897 17.8384C5.36297 18.2756 4.68497 17.7844 5.02697 17.3764L6.23222 15.8471C5.85422 15.3731 5.48822 14.9118 5.12297 14.4859C4.74572 14.0359 5.44697 13.5746 5.72297 13.9953L6.76622 15.2898Z",
5567
+ fill: "white"
5568
+ }
5569
+ ),
5570
+ /* @__PURE__ */ jsx14(
5571
+ "path",
5572
+ {
5573
+ d: "M9.2517 14.2098C9.2517 14.0118 9.4197 13.8438 9.6297 13.8438C9.8217 13.8438 9.9837 14.0126 9.9837 14.2098V17.2143H11.6149C12.2022 17.2143 12.2149 17.9996 11.6149 17.9996H9.63045C9.42045 17.9996 9.25245 17.8503 9.25245 17.6343L9.2517 14.2098Z",
5574
+ fill: "white"
5575
+ }
5576
+ ),
5577
+ /* @__PURE__ */ jsx14(
5578
+ "path",
5579
+ {
5580
+ d: "M12.752 14.7498C12.89 13.5858 14.6465 13.3766 15.4745 14.0126C15.8825 14.3418 15.4505 14.8638 15.0905 14.5998C14.6465 14.3186 13.6392 14.1866 13.5132 14.8091C13.3512 15.7931 15.9597 15.2298 15.9177 16.8251C15.8757 18.3483 13.6692 18.3836 12.8412 17.7003C12.6425 17.5383 12.6492 17.2751 12.7572 17.1123C12.9132 16.9571 13.0865 16.9031 13.2912 17.0711C13.7825 17.4063 15.0485 17.6583 15.1377 16.8063C15.0605 15.9198 12.566 16.4531 12.752 14.7498Z",
5581
+ fill: "white"
5582
+ }
5583
+ ),
5584
+ /* @__PURE__ */ jsx14(
5585
+ "path",
5586
+ {
5587
+ d: "M18.75 20.25H4.5V21H18.75C19.1625 21 19.5 20.6625 19.5 20.25V19.5C19.5 19.9125 19.1625 20.25 18.75 20.25Z",
5588
+ fill: "#DCDCDC"
5589
+ }
5590
+ )
5591
+ ]
5547
5592
  }
5548
5593
  );
5549
5594
  };
5550
5595
 
5551
5596
  // src/icons/export-icon.tsx
5552
- import { jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
5597
+ import { jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
5553
5598
  var ExportIcon = () => {
5554
- return /* @__PURE__ */ jsxs4(
5599
+ return /* @__PURE__ */ jsxs5(
5555
5600
  "svg",
5556
5601
  {
5557
5602
  xmlns: "http://www.w3.org/2000/svg",
@@ -5587,8 +5632,8 @@ var ExportIcon = () => {
5587
5632
  };
5588
5633
 
5589
5634
  // src/icons/eye-icon.tsx
5590
- import { jsx as jsx16, jsxs as jsxs5 } from "react/jsx-runtime";
5591
- var EyeIcon = () => /* @__PURE__ */ jsxs5(
5635
+ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
5636
+ var EyeIcon = () => /* @__PURE__ */ jsxs6(
5592
5637
  "svg",
5593
5638
  {
5594
5639
  width: "20",
@@ -5639,9 +5684,9 @@ var FilterIcon = ({ className }) => {
5639
5684
  };
5640
5685
 
5641
5686
  // src/icons/groupby-icon.tsx
5642
- import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
5687
+ import { jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
5643
5688
  var GroupByIcon = ({ className }) => {
5644
- return /* @__PURE__ */ jsxs6(
5689
+ return /* @__PURE__ */ jsxs7(
5645
5690
  "svg",
5646
5691
  {
5647
5692
  xmlns: "http://www.w3.org/2000/svg",
@@ -5664,9 +5709,9 @@ var GroupByIcon = ({ className }) => {
5664
5709
  };
5665
5710
 
5666
5711
  // src/icons/kanban-icon.tsx
5667
- import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
5712
+ import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
5668
5713
  var KanbanIcon = () => {
5669
- return /* @__PURE__ */ jsxs7(
5714
+ return /* @__PURE__ */ jsxs8(
5670
5715
  "svg",
5671
5716
  {
5672
5717
  xmlns: "http://www.w3.org/2000/svg",
@@ -5695,9 +5740,9 @@ var KanbanIcon = () => {
5695
5740
  };
5696
5741
 
5697
5742
  // src/icons/list-icon.tsx
5698
- import { jsx as jsx20, jsxs as jsxs8 } from "react/jsx-runtime";
5743
+ import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
5699
5744
  var ListIcon = () => {
5700
- return /* @__PURE__ */ jsxs8(
5745
+ return /* @__PURE__ */ jsxs9(
5701
5746
  "svg",
5702
5747
  {
5703
5748
  xmlns: "http://www.w3.org/2000/svg",
@@ -5740,9 +5785,9 @@ var ListIcon = () => {
5740
5785
  };
5741
5786
 
5742
5787
  // src/icons/more-icon.tsx
5743
- import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
5788
+ import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
5744
5789
  var MoreIcon = () => {
5745
- return /* @__PURE__ */ jsxs9(
5790
+ return /* @__PURE__ */ jsxs10(
5746
5791
  "svg",
5747
5792
  {
5748
5793
  width: "24px",
@@ -5787,23 +5832,68 @@ var MoreIcon = () => {
5787
5832
  };
5788
5833
 
5789
5834
  // src/icons/pdf-icon.tsx
5790
- import { jsx as jsx22 } from "react/jsx-runtime";
5835
+ import { jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
5791
5836
  var PdfIcon = () => {
5792
- return /* @__PURE__ */ jsx22(
5837
+ return /* @__PURE__ */ jsxs11(
5793
5838
  "svg",
5794
5839
  {
5795
5840
  xmlns: "http://www.w3.org/2000/svg",
5796
- width: "19",
5797
- height: "10",
5798
- viewBox: "0 0 19 10",
5841
+ width: "25",
5842
+ height: "24",
5843
+ viewBox: "0 0 25 24",
5799
5844
  fill: "none",
5800
- children: /* @__PURE__ */ jsx22(
5801
- "path",
5802
- {
5803
- 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",
5804
- fill: "#FF4B34"
5805
- }
5806
- )
5845
+ children: [
5846
+ /* @__PURE__ */ jsx22(
5847
+ "path",
5848
+ {
5849
+ d: "M6.19922 0C5.37422 0 4.69922 0.675 4.69922 1.5V22.5C4.69922 23.325 5.37422 24 6.19922 24H21.1992C22.0242 24 22.6992 23.325 22.6992 22.5V6L16.6992 0H6.19922Z",
5850
+ fill: "#ECECEC"
5851
+ }
5852
+ ),
5853
+ /* @__PURE__ */ jsx22(
5854
+ "path",
5855
+ {
5856
+ d: "M18.1992 6H22.6992L16.6992 0V4.5C16.6992 5.325 17.3742 6 18.1992 6Z",
5857
+ fill: "#C6C6C6"
5858
+ }
5859
+ ),
5860
+ /* @__PURE__ */ jsx22("path", { d: "M22.6992 10.5L18.1992 6H22.6992V10.5Z", fill: "#DCDCDC" }),
5861
+ /* @__PURE__ */ jsx22(
5862
+ "path",
5863
+ {
5864
+ d: "M19.6992 19.5C19.6992 19.9125 19.3617 20.25 18.9492 20.25H2.44922C2.03672 20.25 1.69922 19.9125 1.69922 19.5V12C1.69922 11.5875 2.03672 11.25 2.44922 11.25H18.9492C19.3617 11.25 19.6992 11.5875 19.6992 12V19.5Z",
5865
+ fill: "#FF4B34"
5866
+ }
5867
+ ),
5868
+ /* @__PURE__ */ jsx22(
5869
+ "path",
5870
+ {
5871
+ d: "M4.96855 14.2096C4.96855 14.0116 5.12455 13.7956 5.3758 13.7956H6.76105C7.54105 13.7956 8.24305 14.3176 8.24305 15.3181C8.24305 16.2661 7.54105 16.7941 6.76105 16.7941H5.7598V17.5861C5.7598 17.8501 5.5918 17.9994 5.3758 17.9994C5.1778 17.9994 4.96855 17.8501 4.96855 17.5861V14.2096ZM5.7598 14.5509V16.0449H6.76105C7.16305 16.0449 7.48105 15.6901 7.48105 15.3181C7.48105 14.8989 7.16305 14.5509 6.76105 14.5509H5.7598Z",
5872
+ fill: "white"
5873
+ }
5874
+ ),
5875
+ /* @__PURE__ */ jsx22(
5876
+ "path",
5877
+ {
5878
+ d: "M9.41755 17.9994C9.21955 17.9994 9.00355 17.8914 9.00355 17.6281V14.2216C9.00355 14.0064 9.21955 13.8496 9.41755 13.8496H10.7908C13.5313 13.8496 13.4713 17.9994 10.8448 17.9994H9.41755ZM9.79555 14.5816V17.2681H10.7908C12.4101 17.2681 12.4821 14.5816 10.7908 14.5816H9.79555Z",
5879
+ fill: "white"
5880
+ }
5881
+ ),
5882
+ /* @__PURE__ */ jsx22(
5883
+ "path",
5884
+ {
5885
+ d: "M14.4433 14.6296V15.5829H15.9726C16.1886 15.5829 16.4046 15.7989 16.4046 16.0081C16.4046 16.2061 16.1886 16.3681 15.9726 16.3681H14.4433V17.6274C14.4433 17.8374 14.2941 17.9986 14.0841 17.9986C13.8201 17.9986 13.6588 17.8374 13.6588 17.6274V14.2209C13.6588 14.0056 13.8208 13.8489 14.0841 13.8489H16.1893C16.4533 13.8489 16.6093 14.0056 16.6093 14.2209C16.6093 14.4129 16.4533 14.6289 16.1893 14.6289L14.4433 14.6296Z",
5886
+ fill: "white"
5887
+ }
5888
+ ),
5889
+ /* @__PURE__ */ jsx22(
5890
+ "path",
5891
+ {
5892
+ d: "M18.9492 20.25H4.69922V21H18.9492C19.3617 21 19.6992 20.6625 19.6992 20.25V19.5C19.6992 19.9125 19.3617 20.25 18.9492 20.25Z",
5893
+ fill: "#DCDCDC"
5894
+ }
5895
+ )
5896
+ ]
5807
5897
  }
5808
5898
  );
5809
5899
  };
@@ -5831,9 +5921,9 @@ var PlayIcon = () => {
5831
5921
  };
5832
5922
 
5833
5923
  // src/icons/reset-icon.tsx
5834
- import { jsx as jsx24, jsxs as jsxs10 } from "react/jsx-runtime";
5924
+ import { jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
5835
5925
  var ResetIcon = () => {
5836
- return /* @__PURE__ */ jsxs10(
5926
+ return /* @__PURE__ */ jsxs12(
5837
5927
  "svg",
5838
5928
  {
5839
5929
  width: "16",
@@ -5891,9 +5981,9 @@ var SearchIcon = () => {
5891
5981
  };
5892
5982
 
5893
5983
  // src/icons/setting-icon.tsx
5894
- import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
5984
+ import { jsx as jsx26, jsxs as jsxs13 } from "react/jsx-runtime";
5895
5985
  var SettingIcon = ({ className = "" }) => {
5896
- return /* @__PURE__ */ jsxs11(
5986
+ return /* @__PURE__ */ jsxs13(
5897
5987
  "svg",
5898
5988
  {
5899
5989
  width: "16",
@@ -5985,9 +6075,9 @@ var UnArchiveIcon = () => {
5985
6075
  };
5986
6076
 
5987
6077
  // src/icons/vector-icon.tsx
5988
- import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
6078
+ import { jsx as jsx30, jsxs as jsxs14 } from "react/jsx-runtime";
5989
6079
  var VectorIcon = () => {
5990
- return /* @__PURE__ */ jsxs12(
6080
+ return /* @__PURE__ */ jsxs14(
5991
6081
  "svg",
5992
6082
  {
5993
6083
  xmlns: "http://www.w3.org/2000/svg",
@@ -6016,9 +6106,9 @@ var VectorIcon = () => {
6016
6106
  };
6017
6107
 
6018
6108
  // src/icons/zip-icon.tsx
6019
- import { jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
6109
+ import { jsx as jsx31, jsxs as jsxs15 } from "react/jsx-runtime";
6020
6110
  var ZipIcon = () => {
6021
- return /* @__PURE__ */ jsxs13(
6111
+ return /* @__PURE__ */ jsxs15(
6022
6112
  "svg",
6023
6113
  {
6024
6114
  width: "40",
@@ -6027,8 +6117,8 @@ var ZipIcon = () => {
6027
6117
  fill: "none",
6028
6118
  xmlns: "http://www.w3.org/2000/svg",
6029
6119
  children: [
6030
- /* @__PURE__ */ jsxs13("g", { clipPath: "url(#clip0_3042_66427)", children: [
6031
- /* @__PURE__ */ jsxs13("g", { filter: "url(#filter0_di_3042_66427)", children: [
6120
+ /* @__PURE__ */ jsxs15("g", { clipPath: "url(#clip0_3042_66427)", children: [
6121
+ /* @__PURE__ */ jsxs15("g", { filter: "url(#filter0_di_3042_66427)", children: [
6032
6122
  /* @__PURE__ */ jsx31(
6033
6123
  "path",
6034
6124
  {
@@ -6053,7 +6143,7 @@ var ZipIcon = () => {
6053
6143
  strokeWidth: "1.5"
6054
6144
  }
6055
6145
  ),
6056
- /* @__PURE__ */ jsxs13("g", { filter: "url(#filter1_i_3042_66427)", children: [
6146
+ /* @__PURE__ */ jsxs15("g", { filter: "url(#filter1_i_3042_66427)", children: [
6057
6147
  /* @__PURE__ */ jsx31("mask", { id: "path-4-inside-1_3042_66427", fill: "white", children: /* @__PURE__ */ jsx31("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" }) }),
6058
6148
  /* @__PURE__ */ jsx31(
6059
6149
  "path",
@@ -6080,8 +6170,8 @@ var ZipIcon = () => {
6080
6170
  )
6081
6171
  ] })
6082
6172
  ] }),
6083
- /* @__PURE__ */ jsxs13("defs", { children: [
6084
- /* @__PURE__ */ jsxs13(
6173
+ /* @__PURE__ */ jsxs15("defs", { children: [
6174
+ /* @__PURE__ */ jsxs15(
6085
6175
  "filter",
6086
6176
  {
6087
6177
  id: "filter0_di_3042_66427",
@@ -6159,7 +6249,7 @@ var ZipIcon = () => {
6159
6249
  ]
6160
6250
  }
6161
6251
  ),
6162
- /* @__PURE__ */ jsxs13(
6252
+ /* @__PURE__ */ jsxs15(
6163
6253
  "filter",
6164
6254
  {
6165
6255
  id: "filter1_i_3042_66427",
@@ -6218,7 +6308,7 @@ var ZipIcon = () => {
6218
6308
  };
6219
6309
 
6220
6310
  // src/icons/loading-icon.tsx
6221
- import { jsx as jsx32, jsxs as jsxs14 } from "react/jsx-runtime";
6311
+ import { jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
6222
6312
  var LoadingIcon = ({
6223
6313
  width = 15,
6224
6314
  height = 15,
@@ -6239,7 +6329,7 @@ var LoadingIcon = ({
6239
6329
  background: "transparent"
6240
6330
  },
6241
6331
  ...props,
6242
- children: /* @__PURE__ */ jsxs14("g", { children: [
6332
+ children: /* @__PURE__ */ jsxs16("g", { children: [
6243
6333
  /* @__PURE__ */ jsx32(
6244
6334
  "circle",
6245
6335
  {
@@ -6270,8 +6360,8 @@ var LoadingIcon = ({
6270
6360
  };
6271
6361
 
6272
6362
  // src/icons/paid-icon.tsx
6273
- import { jsx as jsx33, jsxs as jsxs15 } from "react/jsx-runtime";
6274
- var PaidIcon = () => /* @__PURE__ */ jsxs15(
6363
+ import { jsx as jsx33, jsxs as jsxs17 } from "react/jsx-runtime";
6364
+ var PaidIcon = () => /* @__PURE__ */ jsxs17(
6275
6365
  "svg",
6276
6366
  {
6277
6367
  width: "208",
@@ -6280,7 +6370,7 @@ var PaidIcon = () => /* @__PURE__ */ jsxs15(
6280
6370
  fill: "none",
6281
6371
  xmlns: "http://www.w3.org/2000/svg",
6282
6372
  children: [
6283
- /* @__PURE__ */ jsxs15("g", { opacity: "0.5", filter: "url(#filter0_d_615_26793)", children: [
6373
+ /* @__PURE__ */ jsxs17("g", { opacity: "0.5", filter: "url(#filter0_d_615_26793)", children: [
6284
6374
  /* @__PURE__ */ jsx33(
6285
6375
  "path",
6286
6376
  {
@@ -6356,8 +6446,8 @@ var PaidIcon = () => /* @__PURE__ */ jsxs15(
6356
6446
  }
6357
6447
  )
6358
6448
  ] }),
6359
- /* @__PURE__ */ jsxs15("defs", { children: [
6360
- /* @__PURE__ */ jsxs15(
6449
+ /* @__PURE__ */ jsxs17("defs", { children: [
6450
+ /* @__PURE__ */ jsxs17(
6361
6451
  "filter",
6362
6452
  {
6363
6453
  id: "filter0_d_615_26793",
@@ -6454,13 +6544,13 @@ var PlaceHolderIcon = () => {
6454
6544
  };
6455
6545
 
6456
6546
  // src/icons/google-icon.tsx
6457
- import { jsx as jsx35, jsxs as jsxs16 } from "react/jsx-runtime";
6547
+ import { jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
6458
6548
  var GoogleIcon = ({
6459
6549
  width = 20,
6460
6550
  height = 20,
6461
6551
  ...props
6462
6552
  }) => {
6463
- return /* @__PURE__ */ jsxs16(
6553
+ return /* @__PURE__ */ jsxs18(
6464
6554
  "svg",
6465
6555
  {
6466
6556
  xmlns: "http://www.w3.org/2000/svg",
@@ -6505,9 +6595,9 @@ var GoogleIcon = ({
6505
6595
  };
6506
6596
 
6507
6597
  // src/icons/eye-closed-icon.tsx
6508
- import { jsx as jsx36, jsxs as jsxs17 } from "react/jsx-runtime";
6598
+ import { jsx as jsx36, jsxs as jsxs19 } from "react/jsx-runtime";
6509
6599
  var EyeClosedIcon = () => {
6510
- return /* @__PURE__ */ jsxs17(
6600
+ return /* @__PURE__ */ jsxs19(
6511
6601
  "svg",
6512
6602
  {
6513
6603
  width: "20",
@@ -6572,9 +6662,9 @@ var DeleteIconDanger = () => {
6572
6662
  };
6573
6663
 
6574
6664
  // src/icons/image-icon.tsx
6575
- import { jsx as jsx38, jsxs as jsxs18 } from "react/jsx-runtime";
6665
+ import { jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
6576
6666
  var ImageIcon = () => {
6577
- return /* @__PURE__ */ jsxs18(
6667
+ return /* @__PURE__ */ jsxs20(
6578
6668
  "svg",
6579
6669
  {
6580
6670
  xmlns: "http://www.w3.org/2000/svg",
@@ -6617,35 +6707,91 @@ var ImageIcon = () => {
6617
6707
  };
6618
6708
 
6619
6709
  // src/icons/video-icon.tsx
6620
- import { jsx as jsx39, jsxs as jsxs19 } from "react/jsx-runtime";
6710
+ import { jsx as jsx39, jsxs as jsxs21 } from "react/jsx-runtime";
6621
6711
  var VideoIcon = () => {
6622
- return /* @__PURE__ */ jsxs19(
6712
+ return /* @__PURE__ */ jsxs21(
6623
6713
  "svg",
6624
6714
  {
6625
6715
  xmlns: "http://www.w3.org/2000/svg",
6626
- width: "22",
6627
- height: "20",
6628
- viewBox: "0 0 22 20",
6716
+ width: "24",
6717
+ height: "24",
6718
+ viewBox: "0 0 24 24",
6629
6719
  fill: "none",
6630
6720
  children: [
6631
6721
  /* @__PURE__ */ jsx39(
6632
6722
  "path",
6633
6723
  {
6634
- d: "M22.0001 1.60859L22.0001 18.3914C22.0001 19.2798 21.2799 20 20.3915 20H1.61054C0.722142 20 0.00195312 19.2798 0.00195312 18.3914V1.60859C0.00195312 0.720189 0.722143 0 1.61054 0H20.3915C21.2799 0 22.0001 0.720189 22.0001 1.60859Z",
6724
+ d: "M22.9996 3.60859L22.9995 20.3914C22.9995 21.2798 22.2794 22 21.391 22H2.61004C1.72164 22 1.00145 21.2798 1.00145 20.3914V3.60859C1.00145 2.72019 1.72164 2 2.61004 2H21.391C22.2794 2 22.9996 2.72019 22.9996 3.60859Z",
6635
6725
  fill: "#435E88"
6636
6726
  }
6637
6727
  ),
6638
6728
  /* @__PURE__ */ jsx39(
6639
6729
  "path",
6640
6730
  {
6641
- d: "M21.9974 1.60515L21.9981 18.3914C21.9981 19.2782 21.2797 20 20.3895 20H1.60863C0.721846 20 0 19.2782 0 18.3914L20.3888 0C21.2791 0 21.9974 0.718322 21.9974 1.60515Z",
6731
+ d: "M22.9974 3.60553L22.9981 20.3918C22.9981 21.2786 22.2797 22.0004 21.3895 22.0004H2.60863C1.72185 22.0004 1 21.2786 1 20.3918L21.3888 2.00039C22.2791 2.00039 22.9974 2.71871 22.9974 3.60553Z",
6642
6732
  fill: "#33527D"
6643
6733
  }
6644
6734
  ),
6645
6735
  /* @__PURE__ */ jsx39(
6646
6736
  "path",
6647
6737
  {
6648
- d: "M3.96875 14.3779C4.15191 14.3782 4.30078 14.5267 4.30078 14.71V16.623C4.30078 16.8063 4.15191 16.9549 3.96875 16.9551H2.05469C1.87133 16.9551 1.72266 16.8064 1.72266 16.623V14.71C1.72266 14.5266 1.87133 14.3779 2.05469 14.3779H3.96875ZM19.9492 14.3779C20.1326 14.3779 20.2812 14.5266 20.2812 14.71V16.623C20.2812 16.8064 20.1326 16.9551 19.9492 16.9551H18.0361C17.8528 16.9551 17.7041 16.8064 17.7041 16.623V14.71C17.7041 14.5266 17.8528 14.3779 18.0361 14.3779H19.9492ZM8.59473 7.05566C8.59499 6.5953 9.10791 6.32103 9.49121 6.57617L14.1484 9.67578C14.4914 9.90408 14.4914 10.4084 14.1484 10.6367L9.49121 13.7363C9.10788 13.9915 8.59493 13.7173 8.59473 13.2568V7.05566ZM3.96875 10.1592C4.15175 10.1594 4.30052 10.3072 4.30078 10.4902V12.4043C4.30078 12.5875 4.15191 12.7361 3.96875 12.7363H2.05469C1.87133 12.7363 1.72266 12.5877 1.72266 12.4043V10.4902C1.72292 10.3071 1.87149 10.1592 2.05469 10.1592H3.96875ZM19.9492 10.1592C20.1324 10.1592 20.281 10.3071 20.2812 10.4902V12.4043C20.2812 12.5877 20.1326 12.7363 19.9492 12.7363H18.0361C17.8528 12.7363 17.7041 12.5877 17.7041 12.4043V10.4902C17.7044 10.3071 17.8529 10.1592 18.0361 10.1592H19.9492ZM3.96875 5.9375C4.15177 5.93773 4.30055 6.08651 4.30078 6.26953V8.18359C4.30078 8.36681 4.15191 8.5154 3.96875 8.51562H2.05469C1.87133 8.51562 1.72266 8.36695 1.72266 8.18359V6.26953C1.72289 6.08637 1.87147 5.9375 2.05469 5.9375H3.96875ZM19.9492 5.9375C20.1324 5.9375 20.281 6.08637 20.2812 6.26953V8.18359C20.2812 8.36695 20.1326 8.51562 19.9492 8.51562H18.0361C17.8528 8.51562 17.7041 8.36695 17.7041 8.18359V6.26953C17.7043 6.08637 17.8529 5.9375 18.0361 5.9375H19.9492ZM3.96875 1.71875C4.15181 1.71898 4.3006 1.86771 4.30078 2.05078V3.96484C4.30078 4.14806 4.15191 4.29665 3.96875 4.29688H2.05469C1.87133 4.29688 1.72266 4.1482 1.72266 3.96484V2.05078C1.72283 1.86757 1.87144 1.71875 2.05469 1.71875H3.96875ZM19.9492 1.71875C20.1325 1.71875 20.2811 1.86757 20.2812 2.05078V3.96484C20.2812 4.1482 20.1326 4.29688 19.9492 4.29688H18.0361C17.8528 4.29688 17.7041 4.1482 17.7041 3.96484V2.05078C17.7043 1.86757 17.8529 1.71875 18.0361 1.71875H19.9492Z",
6738
+ d: "M4.96732 16.3783C5.15049 16.3785 5.29935 16.5271 5.29935 16.7103V18.6234C5.29935 18.8067 5.15049 18.9552 4.96732 18.9555H3.05326C2.8699 18.9555 2.72123 18.8068 2.72123 18.6234V16.7103C2.72123 16.527 2.8699 16.3783 3.05326 16.3783H4.96732Z",
6739
+ fill: "white"
6740
+ }
6741
+ ),
6742
+ /* @__PURE__ */ jsx39(
6743
+ "path",
6744
+ {
6745
+ d: "M20.9478 16.3783C21.1311 16.3783 21.2798 16.527 21.2798 16.7103V18.6234C21.2798 18.8068 21.1311 18.9555 20.9478 18.9555H19.0347C18.8513 18.9555 18.7027 18.8068 18.7027 18.6234V16.7103C18.7027 16.527 18.8513 16.3783 19.0347 16.3783H20.9478Z",
6746
+ fill: "white"
6747
+ }
6748
+ ),
6749
+ /* @__PURE__ */ jsx39(
6750
+ "path",
6751
+ {
6752
+ d: "M9.5933 9.05605C9.59356 8.59569 10.1065 8.32141 10.4898 8.57656L15.147 11.6762C15.49 11.9045 15.49 12.4088 15.147 12.6371L10.4898 15.7367C10.1065 15.9919 9.5935 15.7176 9.5933 15.2572V9.05605Z",
6753
+ fill: "white"
6754
+ }
6755
+ ),
6756
+ /* @__PURE__ */ jsx39(
6757
+ "path",
6758
+ {
6759
+ d: "M4.96732 12.1596C5.15033 12.1598 5.29909 12.3076 5.29935 12.4906V14.4047C5.29935 14.5879 5.15049 14.7365 4.96732 14.7367H3.05326C2.8699 14.7367 2.72123 14.588 2.72123 14.4047V12.4906C2.72149 12.3075 2.87006 12.1596 3.05326 12.1596H4.96732Z",
6760
+ fill: "white"
6761
+ }
6762
+ ),
6763
+ /* @__PURE__ */ jsx39(
6764
+ "path",
6765
+ {
6766
+ d: "M20.9478 12.1596C21.131 12.1596 21.2796 12.3075 21.2798 12.4906V14.4047C21.2798 14.588 21.1311 14.7367 20.9478 14.7367H19.0347C18.8513 14.7367 18.7027 14.588 18.7027 14.4047V12.4906C18.7029 12.3075 18.8515 12.1596 19.0347 12.1596H20.9478Z",
6767
+ fill: "white"
6768
+ }
6769
+ ),
6770
+ /* @__PURE__ */ jsx39(
6771
+ "path",
6772
+ {
6773
+ d: "M4.96732 7.93789C5.15034 7.93811 5.29912 8.0869 5.29935 8.26992V10.184C5.29935 10.3672 5.15049 10.5158 4.96732 10.516H3.05326C2.8699 10.516 2.72123 10.3673 2.72123 10.184V8.26992C2.72146 8.08676 2.87005 7.93789 3.05326 7.93789H4.96732Z",
6774
+ fill: "white"
6775
+ }
6776
+ ),
6777
+ /* @__PURE__ */ jsx39(
6778
+ "path",
6779
+ {
6780
+ d: "M20.9478 7.93789C21.131 7.93789 21.2796 8.08676 21.2798 8.26992V10.184C21.2798 10.3673 21.1311 10.516 20.9478 10.516H19.0347C18.8513 10.516 18.7027 10.3673 18.7027 10.184V8.26992C18.7029 8.08676 18.8515 7.93789 19.0347 7.93789H20.9478Z",
6781
+ fill: "white"
6782
+ }
6783
+ ),
6784
+ /* @__PURE__ */ jsx39(
6785
+ "path",
6786
+ {
6787
+ d: "M4.96732 3.71914C5.15038 3.71936 5.29918 3.8681 5.29935 4.05117V5.96523C5.29935 6.14845 5.15049 6.29703 4.96732 6.29726H3.05326C2.8699 6.29726 2.72123 6.14859 2.72123 5.96523V4.05117C2.72141 3.86796 2.87001 3.71914 3.05326 3.71914H4.96732Z",
6788
+ fill: "white"
6789
+ }
6790
+ ),
6791
+ /* @__PURE__ */ jsx39(
6792
+ "path",
6793
+ {
6794
+ d: "M20.9478 3.71914C21.131 3.71914 21.2796 3.86796 21.2798 4.05117V5.96523C21.2798 6.14859 21.1311 6.29726 20.9478 6.29726H19.0347C18.8513 6.29726 18.7027 6.14859 18.7027 5.96523V4.05117C18.7029 3.86796 18.8515 3.71914 19.0347 3.71914H20.9478Z",
6649
6795
  fill: "white"
6650
6796
  }
6651
6797
  )
@@ -10304,7 +10450,7 @@ import { jsx as jsx41 } from "react/jsx-runtime";
10304
10450
  var IcArrow = () => /* @__PURE__ */ jsx41("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512", children: /* @__PURE__ */ jsx41("path", { d: "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z" }) });
10305
10451
 
10306
10452
  // src/widgets/advanced/pagination/pagination-view.tsx
10307
- import { jsx as jsx42, jsxs as jsxs20 } from "react/jsx-runtime";
10453
+ import { jsx as jsx42, jsxs as jsxs22 } from "react/jsx-runtime";
10308
10454
  var PaginationView = (props) => {
10309
10455
  const {
10310
10456
  displayPageNumberDots,
@@ -10337,8 +10483,8 @@ var PaginationView = (props) => {
10337
10483
  let lastPage = paginationRange[paginationRange.length - 1];
10338
10484
  const startPage = currentPage * pageSize + 1;
10339
10485
  const endPage = Math.min((currentPage + 1) * pageSize, totalCount);
10340
- return /* @__PURE__ */ jsxs20("ul", { className: `pagination-container rounded-lg ${className}`, children: [
10341
- !displayPageNumberDots && /* @__PURE__ */ jsxs20("li", { className: "pagination-item px-0", children: [
10486
+ return /* @__PURE__ */ jsxs22("ul", { className: `pagination-container rounded-lg ${className}`, children: [
10487
+ !displayPageNumberDots && /* @__PURE__ */ jsxs22("li", { className: "pagination-item px-0", children: [
10342
10488
  startPage,
10343
10489
  " - ",
10344
10490
  endPage,
@@ -10389,7 +10535,7 @@ var PaginationView = (props) => {
10389
10535
  import { useState as useState3 } from "react";
10390
10536
 
10391
10537
  // src/widgets/advanced/table/table-group.tsx
10392
- import { Fragment as Fragment2, jsx as jsx43, jsxs as jsxs21 } from "react/jsx-runtime";
10538
+ import { Fragment as Fragment2, jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
10393
10539
  var TableGroup = (props) => {
10394
10540
  const { t: t3 } = useI18n();
10395
10541
  const {
@@ -10439,8 +10585,8 @@ var TableGroup = (props) => {
10439
10585
  setSelectedRowKeys
10440
10586
  });
10441
10587
  const leftPadding = level > 1 ? level * 8 + "px" : "0px";
10442
- return /* @__PURE__ */ jsxs21(Fragment2, { children: [
10443
- /* @__PURE__ */ jsxs21(
10588
+ return /* @__PURE__ */ jsxs23(Fragment2, { children: [
10589
+ /* @__PURE__ */ jsxs23(
10444
10590
  "tr",
10445
10591
  {
10446
10592
  draggable: true,
@@ -10453,13 +10599,13 @@ var TableGroup = (props) => {
10453
10599
  colSpan: colEmptyGroup.fromStart ?? 1,
10454
10600
  style: { display: "table-cell" },
10455
10601
  className: "relative w-max whitespace-nowrap border-b border-gray-200 p-3 text-sm font-normal text-gray-900 h-[53px]",
10456
- children: /* @__PURE__ */ jsxs21(
10602
+ children: /* @__PURE__ */ jsxs23(
10457
10603
  "div",
10458
10604
  {
10459
10605
  style: { paddingLeft: leftPadding },
10460
10606
  className: `flex items-center justify-between gap-2 font-medium ml-2 z-21`,
10461
10607
  children: [
10462
- /* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-2", children: [
10608
+ /* @__PURE__ */ jsxs23("div", { className: "flex items-center gap-2", children: [
10463
10609
  /* @__PURE__ */ jsx43(
10464
10610
  TriangleIcon,
10465
10611
  {
@@ -10546,7 +10692,7 @@ var TableGroup = (props) => {
10546
10692
 
10547
10693
  // src/widgets/advanced/table/table-row.tsx
10548
10694
  import { useEffect as useEffect5, useMemo as useMemo3, useRef as useRef4 } from "react";
10549
- import { Fragment as Fragment3, jsx as jsx44, jsxs as jsxs22 } from "react/jsx-runtime";
10695
+ import { Fragment as Fragment3, jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
10550
10696
  var Row = (props) => {
10551
10697
  const {
10552
10698
  row,
@@ -10617,7 +10763,7 @@ var Row = (props) => {
10617
10763
  {
10618
10764
  "data-row-id": row?.id,
10619
10765
  className: `border-b border-[#e8e8e8] cursor-pointer`,
10620
- children: /* @__PURE__ */ jsxs22(Fragment3, { children: [
10766
+ children: /* @__PURE__ */ jsxs24(Fragment3, { children: [
10621
10767
  isDisplayCheckbox && /* @__PURE__ */ jsx44(
10622
10768
  "td",
10623
10769
  {
@@ -10770,7 +10916,7 @@ var TableBody = (props) => {
10770
10916
  // src/widgets/advanced/table/table-filter.tsx
10771
10917
  import { useEffect as useEffect6, useRef as useRef5, useState as useState4 } from "react";
10772
10918
  import { createPortal } from "react-dom";
10773
- import { jsx as jsx46, jsxs as jsxs23 } from "react/jsx-runtime";
10919
+ import { jsx as jsx46, jsxs as jsxs25 } from "react/jsx-runtime";
10774
10920
  var TableFilter = ({ columns, onToggleColumnOptional }) => {
10775
10921
  const [openTableFilter, setOpenTableFilter] = useState4();
10776
10922
  const [filterPosition, setFilterPosition] = useState4(null);
@@ -10802,7 +10948,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
10802
10948
  window.removeEventListener("resize", updatePosition);
10803
10949
  };
10804
10950
  }, [filterRef, openTableFilter]);
10805
- return /* @__PURE__ */ jsxs23(
10951
+ return /* @__PURE__ */ jsxs25(
10806
10952
  "div",
10807
10953
  {
10808
10954
  ref: filterRef,
@@ -10819,7 +10965,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
10819
10965
  onClick: () => {
10820
10966
  setOpenTableFilter(!openTableFilter);
10821
10967
  },
10822
- children: /* @__PURE__ */ jsxs23(
10968
+ children: /* @__PURE__ */ jsxs25(
10823
10969
  "svg",
10824
10970
  {
10825
10971
  xmlns: "http://www.w3.org/2000/svg",
@@ -10887,7 +11033,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
10887
11033
  },
10888
11034
  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",
10889
11035
  children: columns?.filter((val) => val?.optional !== void 0)?.map((item) => {
10890
- return /* @__PURE__ */ jsxs23("div", { className: "flex items-center gap-2", children: [
11036
+ return /* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-2", children: [
10891
11037
  /* @__PURE__ */ jsx46(
10892
11038
  "input",
10893
11039
  {
@@ -10918,14 +11064,14 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
10918
11064
  };
10919
11065
 
10920
11066
  // src/widgets/advanced/table/table-footer.tsx
10921
- import { jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
11067
+ import { jsx as jsx47, jsxs as jsxs26 } from "react/jsx-runtime";
10922
11068
  var TableFooter = ({ onAddRow, rows }) => {
10923
11069
  const emptyData = rows?.length <= 0;
10924
11070
  return /* @__PURE__ */ jsx47("tfoot", { children: /* @__PURE__ */ jsx47("tr", { className: `relative ${emptyData ? " h-20" : "h-14"}`, children: /* @__PURE__ */ jsx47(
10925
11071
  "td",
10926
11072
  {
10927
11073
  className: `absolute left-0 p-0 right-0 flex items-center ${emptyData ? "justify-center" : "justify-start"}`,
10928
- children: /* @__PURE__ */ jsxs24(
11074
+ children: /* @__PURE__ */ jsxs26(
10929
11075
  "button",
10930
11076
  {
10931
11077
  type: "button",
@@ -10935,7 +11081,7 @@ var TableFooter = ({ onAddRow, rows }) => {
10935
11081
  },
10936
11082
  className: `button-primary m-2 flex ${!emptyData ? "!bg-white border border-primary " : ""}`,
10937
11083
  children: [
10938
- /* @__PURE__ */ jsxs24(
11084
+ /* @__PURE__ */ jsxs26(
10939
11085
  "svg",
10940
11086
  {
10941
11087
  style: {
@@ -12775,7 +12921,7 @@ var M = e2.forwardRef(({ id: t3, anchorId: l2, anchorSelect: n4, content: i3, ht
12775
12921
  });
12776
12922
 
12777
12923
  // src/widgets/advanced/table/table-head.tsx
12778
- import { Fragment as Fragment4, jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
12924
+ import { Fragment as Fragment4, jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
12779
12925
  var TableHead = (props) => {
12780
12926
  const {
12781
12927
  handleCheckBoxAll,
@@ -12785,7 +12931,7 @@ var TableHead = (props) => {
12785
12931
  onRemoveRow,
12786
12932
  onToggleColumnOptional
12787
12933
  } = props;
12788
- return /* @__PURE__ */ jsx48("thead", { className: "relative z-10", children: /* @__PURE__ */ jsxs25(
12934
+ return /* @__PURE__ */ jsx48("thead", { className: "relative z-10", children: /* @__PURE__ */ jsxs27(
12789
12935
  "tr",
12790
12936
  {
12791
12937
  style: {
@@ -12817,9 +12963,9 @@ var TableHead = (props) => {
12817
12963
  "th",
12818
12964
  {
12819
12965
  className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
12820
- children: /* @__PURE__ */ jsxs25("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
12966
+ children: /* @__PURE__ */ jsxs27("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
12821
12967
  col.title,
12822
- col?.field?.help && /* @__PURE__ */ jsxs25(Fragment4, { children: [
12968
+ col?.field?.help && /* @__PURE__ */ jsxs27(Fragment4, { children: [
12823
12969
  /* @__PURE__ */ jsx48(
12824
12970
  M,
12825
12971
  {
@@ -12881,9 +13027,9 @@ var TableHead = (props) => {
12881
13027
  };
12882
13028
 
12883
13029
  // src/icons/empty-table-icon.tsx
12884
- import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
13030
+ import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
12885
13031
  var IcEmptyTable = () => {
12886
- return /* @__PURE__ */ jsxs26(
13032
+ return /* @__PURE__ */ jsxs28(
12887
13033
  "svg",
12888
13034
  {
12889
13035
  xmlns: "http://www.w3.org/2000/svg",
@@ -12892,7 +13038,7 @@ var IcEmptyTable = () => {
12892
13038
  viewBox: "0 0 216 140",
12893
13039
  fill: "none",
12894
13040
  children: [
12895
- /* @__PURE__ */ jsxs26("g", { clipPath: "url(#clip0_2454_28950)", children: [
13041
+ /* @__PURE__ */ jsxs28("g", { clipPath: "url(#clip0_2454_28950)", children: [
12896
13042
  /* @__PURE__ */ jsx49("path", { d: "M215.5 0H0.5V140H215.5V0Z", fill: "white" }),
12897
13043
  /* @__PURE__ */ jsx49(
12898
13044
  "path",
@@ -13212,12 +13358,12 @@ var IcEmptyTable = () => {
13212
13358
  };
13213
13359
 
13214
13360
  // src/widgets/advanced/table/empty-table.tsx
13215
- import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
13361
+ import { jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
13216
13362
  var EmptyTable = () => {
13217
13363
  const { t: t3 } = useI18n();
13218
- return /* @__PURE__ */ jsxs27("div", { className: `flex flex-col items-center justify-center gap-6 `, children: [
13364
+ return /* @__PURE__ */ jsxs29("div", { className: `flex flex-col items-center justify-center gap-6 `, children: [
13219
13365
  /* @__PURE__ */ jsx50(IcEmptyTable, {}),
13220
- /* @__PURE__ */ jsxs27("div", { children: [
13366
+ /* @__PURE__ */ jsxs29("div", { children: [
13221
13367
  /* @__PURE__ */ jsx50("p", {}),
13222
13368
  /* @__PURE__ */ jsx50("p", { className: "text-xl font-extrabold", children: t3("empty_data") })
13223
13369
  ] })
@@ -15060,7 +15206,7 @@ Button.displayName = "Button";
15060
15206
 
15061
15207
  // src/widgets/advanced/login/shared/text-input.tsx
15062
15208
  import { useState as useState5 } from "react";
15063
- import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
15209
+ import { jsx as jsx52, jsxs as jsxs30 } from "react/jsx-runtime";
15064
15210
  function TextInput(props) {
15065
15211
  const {
15066
15212
  className,
@@ -15074,12 +15220,12 @@ function TextInput(props) {
15074
15220
  required
15075
15221
  } = props;
15076
15222
  const [showPassword, setShowPassword] = useState5(false);
15077
- return /* @__PURE__ */ jsxs28("div", { className: `flex justify-center gap-2 flex-col ${className}`, children: [
15078
- label && /* @__PURE__ */ jsxs28("label", { className: "text-[#262626] text-sm leading-5 font-semibold", children: [
15223
+ return /* @__PURE__ */ jsxs30("div", { className: `flex justify-center gap-2 flex-col ${className}`, children: [
15224
+ label && /* @__PURE__ */ jsxs30("label", { className: "text-[#262626] text-sm leading-5 font-semibold", children: [
15079
15225
  label,
15080
15226
  required ? /* @__PURE__ */ jsx52("span", { className: "text-[#ff4d4f]", children: "*" }) : ""
15081
15227
  ] }),
15082
- /* @__PURE__ */ jsxs28(
15228
+ /* @__PURE__ */ jsxs30(
15083
15229
  "div",
15084
15230
  {
15085
15231
  className: `flex h-14 w-full items-center border border-[#E0E0E0] px-4 py-3 ${inputWrapperClassName}`,
@@ -15116,7 +15262,7 @@ function TextInput(props) {
15116
15262
 
15117
15263
  // src/widgets/advanced/login/provider/credential/form-options/index.tsx
15118
15264
  import { useEffect as useEffect7 } from "react";
15119
- import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
15265
+ import { jsx as jsx53, jsxs as jsxs31 } from "react/jsx-runtime";
15120
15266
  var STAY_LOGIN_IN = "stayLoginIn";
15121
15267
  function FormOptions({
15122
15268
  forgotPasswordUrl,
@@ -15142,8 +15288,8 @@ function FormOptions({
15142
15288
  useEffect7(() => {
15143
15289
  localStorage.setItem(STAY_LOGIN_IN, "false");
15144
15290
  }, []);
15145
- return /* @__PURE__ */ jsxs29("div", { className: "flex justify-between items-center text-[#005aa9] text-sm leading-5 font-medium select-none", children: [
15146
- /* @__PURE__ */ jsxs29("label", { className: "flex gap-3", children: [
15291
+ return /* @__PURE__ */ jsxs31("div", { className: "flex justify-between items-center text-[#005aa9] text-sm leading-5 font-medium select-none", children: [
15292
+ /* @__PURE__ */ jsxs31("label", { className: "flex gap-3", children: [
15147
15293
  /* @__PURE__ */ jsx53(
15148
15294
  "input",
15149
15295
  {
@@ -15160,7 +15306,7 @@ function FormOptions({
15160
15306
  }
15161
15307
 
15162
15308
  // src/widgets/advanced/login/provider/credential/index.tsx
15163
- import { Fragment as Fragment5, jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
15309
+ import { Fragment as Fragment5, jsx as jsx54, jsxs as jsxs32 } from "react/jsx-runtime";
15164
15310
  var CredentialLogin = (props) => {
15165
15311
  const {
15166
15312
  shouldRenderDivider,
@@ -15180,15 +15326,15 @@ var CredentialLogin = (props) => {
15180
15326
  mode: "onChange",
15181
15327
  resolver: s3(loginSchema)
15182
15328
  });
15183
- return /* @__PURE__ */ jsxs30(Fragment5, { children: [
15184
- /* @__PURE__ */ jsxs30(
15329
+ return /* @__PURE__ */ jsxs32(Fragment5, { children: [
15330
+ /* @__PURE__ */ jsxs32(
15185
15331
  "form",
15186
15332
  {
15187
15333
  onSubmit: handleSubmit(onSubmit ?? (() => {
15188
15334
  })),
15189
15335
  className: `flex w-full h-fit flex-col gap-10`,
15190
15336
  children: [
15191
- /* @__PURE__ */ jsxs30("div", { className: "flex flex-col gap-6", children: [
15337
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-6", children: [
15192
15338
  /* @__PURE__ */ jsx54(
15193
15339
  TextInput,
15194
15340
  {
@@ -15237,7 +15383,7 @@ var CredentialLogin = (props) => {
15237
15383
  ]
15238
15384
  }
15239
15385
  ),
15240
- shouldRenderDivider && /* @__PURE__ */ jsxs30("div", { className: "flex justify-center relative", children: [
15386
+ shouldRenderDivider && /* @__PURE__ */ jsxs32("div", { className: "flex justify-center relative", children: [
15241
15387
  /* @__PURE__ */ jsx54("div", { className: "absolute inset-x-0 top-[calc(50%-0.5px)] h-[0.8px] bg-gray-300" }),
15242
15388
  /* @__PURE__ */ jsx54("span", { className: "relative font-medium text-sm inline-block bg-white px-2.5 text-[#6e6e6e]", children: "ho\u1EB7c" })
15243
15389
  ] })
@@ -15245,10 +15391,10 @@ var CredentialLogin = (props) => {
15245
15391
  };
15246
15392
 
15247
15393
  // src/widgets/advanced/login/provider/google/google-btn/index.tsx
15248
- import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
15394
+ import { jsx as jsx55, jsxs as jsxs33 } from "react/jsx-runtime";
15249
15395
  function GoogleButton(props) {
15250
15396
  const { onLoginGoogle, db } = props;
15251
- return /* @__PURE__ */ jsxs31(
15397
+ return /* @__PURE__ */ jsxs33(
15252
15398
  "button",
15253
15399
  {
15254
15400
  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",
@@ -15270,22 +15416,22 @@ function SocialRedirect(props) {
15270
15416
  }
15271
15417
 
15272
15418
  // src/widgets/advanced/login/provider/google/index.tsx
15273
- import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
15419
+ import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs34 } from "react/jsx-runtime";
15274
15420
  var GoogleLogin = ({ db, onLoginSocial, onLoginGoogle }) => {
15275
- return /* @__PURE__ */ jsxs32(Fragment7, { children: [
15421
+ return /* @__PURE__ */ jsxs34(Fragment7, { children: [
15276
15422
  /* @__PURE__ */ jsx57(GoogleButton, { db, onLoginGoogle }),
15277
15423
  /* @__PURE__ */ jsx57(SocialRedirect, { db, onLoginSocial })
15278
15424
  ] });
15279
15425
  };
15280
15426
 
15281
15427
  // src/widgets/advanced/login/index.tsx
15282
- import { jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
15428
+ import { jsx as jsx58, jsxs as jsxs35 } from "react/jsx-runtime";
15283
15429
  var LoginProviderMapping = {
15284
15430
  google: GoogleLogin
15285
15431
  };
15286
15432
  var Login = (props) => {
15287
15433
  const { providers = [], forgotPasswordUrl = "/", db, onLoginSocial, onLoginGoogle } = props;
15288
- return /* @__PURE__ */ jsxs33("div", { className: "w-full space-y-8", children: [
15434
+ return /* @__PURE__ */ jsxs35("div", { className: "w-full space-y-8", children: [
15289
15435
  /* @__PURE__ */ jsx58(
15290
15436
  CredentialLogin,
15291
15437
  {
@@ -15310,7 +15456,7 @@ var Login = (props) => {
15310
15456
  };
15311
15457
 
15312
15458
  // src/widgets/advanced/search/popup-filter/index.tsx
15313
- import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
15459
+ import { jsx as jsx59, jsxs as jsxs36 } from "react/jsx-runtime";
15314
15460
  var PopupFilter = ({
15315
15461
  handleAddTagSearch,
15316
15462
  removeSearchItems,
@@ -15331,13 +15477,13 @@ var PopupFilter = ({
15331
15477
  zIndex: 33
15332
15478
  },
15333
15479
  className: "popup-filter w-full overflow-x-auto rounded-lg border border-[var(--stroke-default)] bg-white shadow-xl",
15334
- children: /* @__PURE__ */ jsxs34(
15480
+ children: /* @__PURE__ */ jsxs36(
15335
15481
  "div",
15336
15482
  {
15337
15483
  className: `flex py-3 ${(filterBy?.length === 0 || groupBy?.length === 0) && "!grid-cols-1"}`,
15338
15484
  children: [
15339
- filterBy?.length > 0 && /* @__PURE__ */ jsxs34("div", { className: "filter-by w-full px-3", children: [
15340
- /* @__PURE__ */ jsxs34("div", { className: "flex w-fit items-center justify-start gap-2 px-3 py-1", children: [
15485
+ filterBy?.length > 0 && /* @__PURE__ */ jsxs36("div", { className: "filter-by w-full px-3", children: [
15486
+ /* @__PURE__ */ jsxs36("div", { className: "flex w-fit items-center justify-start gap-2 px-3 py-1", children: [
15341
15487
  /* @__PURE__ */ jsx59(FilterIcon, { className: "filter-by-icon text-primary" }),
15342
15488
  /* @__PURE__ */ jsx59("span", { className: "font-bold text-sm text-[#212529]", children: t3("filter_by") })
15343
15489
  ] }),
@@ -15349,7 +15495,7 @@ var PopupFilter = ({
15349
15495
  acc.push(/* @__PURE__ */ jsx59("hr", { className: "my-2" }, "separator-" + index4));
15350
15496
  }
15351
15497
  acc.push(
15352
- /* @__PURE__ */ jsxs34(
15498
+ /* @__PURE__ */ jsxs36(
15353
15499
  "button",
15354
15500
  {
15355
15501
  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)]"}`,
@@ -15385,15 +15531,15 @@ var PopupFilter = ({
15385
15531
  }, [])
15386
15532
  ] }),
15387
15533
  filterBy?.length > 0 && groupBy?.length > 0 && /* @__PURE__ */ jsx59("div", { className: "h-['initial'] w-[1px] bg-[#dee2e6]" }),
15388
- groupBy?.length > 0 && /* @__PURE__ */ jsxs34("div", { className: "group-by w-full px-3", children: [
15389
- /* @__PURE__ */ jsxs34("div", { className: "flex w-fit items-center justify-start gap-2 px-3 py-1", children: [
15534
+ groupBy?.length > 0 && /* @__PURE__ */ jsxs36("div", { className: "group-by w-full px-3", children: [
15535
+ /* @__PURE__ */ jsxs36("div", { className: "flex w-fit items-center justify-start gap-2 px-3 py-1", children: [
15390
15536
  /* @__PURE__ */ jsx59(GroupByIcon, { className: "group-by-icon text-primary" }),
15391
15537
  /* @__PURE__ */ jsx59("span", { className: "font-bold text-sm text-[#212529]", children: t3("group_by") })
15392
15538
  ] }),
15393
15539
  groupBy?.map((item, index4) => {
15394
15540
  const isExist = item?.active;
15395
15541
  if (!item.string) return;
15396
- return /* @__PURE__ */ jsxs34(
15542
+ return /* @__PURE__ */ jsxs36(
15397
15543
  "button",
15398
15544
  {
15399
15545
  onClick: () => {
@@ -15437,7 +15583,7 @@ import { useEffect as useEffect8, useState as useState6 } from "react";
15437
15583
 
15438
15584
  // src/widgets/advanced/search/tag-search/index.tsx
15439
15585
  import { Fragment as Fragment8 } from "react";
15440
- import { Fragment as Fragment9, jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
15586
+ import { Fragment as Fragment9, jsx as jsx60, jsxs as jsxs37 } from "react/jsx-runtime";
15441
15587
  var TagSearch = ({
15442
15588
  removeSearchItems,
15443
15589
  selectedTags,
@@ -15448,16 +15594,16 @@ var TagSearch = ({
15448
15594
  return selectedTags?.length > 0 && selectedTags?.map((tag, index4) => {
15449
15595
  if (tag?.values?.length > 0) {
15450
15596
  if (tag?.type !== "group_by") {
15451
- return /* @__PURE__ */ jsxs35(
15597
+ return /* @__PURE__ */ jsxs37(
15452
15598
  "div",
15453
15599
  {
15454
15600
  className: "flex min-h-full overflow-hidden rounded bg-[#E9ECEF] hover:shadow-xl",
15455
15601
  children: [
15456
15602
  /* @__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, {}) }),
15457
15603
  /* @__PURE__ */ jsx60("div", { className: "pl-2 align-middle text-[#495057] text-[14px]", children: tag.values.map((value, idx) => {
15458
- return /* @__PURE__ */ jsxs35(Fragment8, { children: [
15604
+ return /* @__PURE__ */ jsxs37(Fragment8, { children: [
15459
15605
  /* @__PURE__ */ jsx60("span", { children: value }),
15460
- idx < tag.values.length - 1 && /* @__PURE__ */ jsxs35("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
15606
+ idx < tag.values.length - 1 && /* @__PURE__ */ jsxs37("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
15461
15607
  " ",
15462
15608
  instance.t("or"),
15463
15609
  " "
@@ -15494,15 +15640,15 @@ var TagSearch = ({
15494
15640
  {
15495
15641
  className: "flex min-h-full overflow-hidden",
15496
15642
  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(
15497
- (value, indexValue) => value?.strings?.length > 0 && /* @__PURE__ */ jsxs35(
15643
+ (value, indexValue) => value?.strings?.length > 0 && /* @__PURE__ */ jsxs37(
15498
15644
  "div",
15499
15645
  {
15500
15646
  className: "flex gap-2 overflow-hidden rounded bg-[#E9ECEF] hover:shadow-xl",
15501
15647
  children: [
15502
15648
  /* @__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, {}) }),
15503
- value?.strings?.map((string, idx) => /* @__PURE__ */ jsxs35(Fragment9, { children: [
15649
+ value?.strings?.map((string, idx) => /* @__PURE__ */ jsxs37(Fragment9, { children: [
15504
15650
  /* @__PURE__ */ jsx60("span", { children: string }),
15505
- idx < value?.strings.length - 1 && /* @__PURE__ */ jsxs35("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
15651
+ idx < value?.strings.length - 1 && /* @__PURE__ */ jsxs37("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
15506
15652
  " ",
15507
15653
  "> ",
15508
15654
  " "
@@ -15540,7 +15686,7 @@ var TagSearch = ({
15540
15686
  };
15541
15687
 
15542
15688
  // src/widgets/advanced/search/search-list/index.tsx
15543
- import { jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
15689
+ import { jsx as jsx61, jsxs as jsxs38 } from "react/jsx-runtime";
15544
15690
  var SearchList = ({
15545
15691
  handleAddTagSearch,
15546
15692
  handleMouseEnter,
@@ -15562,7 +15708,7 @@ var SearchList = ({
15562
15708
  if (!validateAndParseDate(searchString, searchItem?.type === "datetime"))
15563
15709
  return;
15564
15710
  }
15565
- return /* @__PURE__ */ jsxs36(
15711
+ return /* @__PURE__ */ jsxs38(
15566
15712
  "button",
15567
15713
  {
15568
15714
  onClick: () => {
@@ -15609,7 +15755,7 @@ var SearchList = ({
15609
15755
  };
15610
15756
 
15611
15757
  // src/widgets/advanced/search/search-item/index.tsx
15612
- import { Fragment as Fragment10, jsx as jsx62, jsxs as jsxs37 } from "react/jsx-runtime";
15758
+ import { Fragment as Fragment10, jsx as jsx62, jsxs as jsxs39 } from "react/jsx-runtime";
15613
15759
  var Search = ({
15614
15760
  removeSearchItems,
15615
15761
  selectedTags,
@@ -15726,14 +15872,14 @@ var Search = ({
15726
15872
  setDidInit(true);
15727
15873
  setIsReadyFormatDomain(true);
15728
15874
  }, [aid, filterBy, fieldsList]);
15729
- return /* @__PURE__ */ jsxs37(
15875
+ return /* @__PURE__ */ jsxs39(
15730
15876
  "div",
15731
15877
  {
15732
15878
  ref: popupFilterRef,
15733
15879
  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)]`,
15734
15880
  children: [
15735
15881
  /* @__PURE__ */ jsx62("div", { className: "size-5", children: /* @__PURE__ */ jsx62(SearchIcon, {}) }),
15736
- /* @__PURE__ */ jsxs37("div", { className: "flex flex-1 flex-wrap items-center gap-[8px]", children: [
15882
+ /* @__PURE__ */ jsxs39("div", { className: "flex flex-1 flex-wrap items-center gap-[8px]", children: [
15737
15883
  /* @__PURE__ */ jsx62(
15738
15884
  TagSearch,
15739
15885
  {
@@ -15766,8 +15912,8 @@ var Search = ({
15766
15912
  }
15767
15913
  )
15768
15914
  ] }),
15769
- (showFiltersGroups || filterBy?.length > 0 || groupBy?.length > 0) && /* @__PURE__ */ jsxs37(Fragment10, { children: [
15770
- /* @__PURE__ */ jsxs37(
15915
+ (showFiltersGroups || filterBy?.length > 0 || groupBy?.length > 0) && /* @__PURE__ */ jsxs39(Fragment10, { children: [
15916
+ /* @__PURE__ */ jsxs39(
15771
15917
  "div",
15772
15918
  {
15773
15919
  className: `flex h-full gap-2 cursor-pointer items-center justify-center max-w-fit`,
@@ -15821,7 +15967,7 @@ var ActiveBadgeField = (props) => {
15821
15967
  // src/widgets/common/modal-layer.tsx
15822
15968
  import { Fragment as Fragment12 } from "react";
15823
15969
  import { Dialog, DialogPanel, Transition } from "@headlessui/react";
15824
- import { jsx as jsx64, jsxs as jsxs38 } from "react/jsx-runtime";
15970
+ import { jsx as jsx64, jsxs as jsxs40 } from "react/jsx-runtime";
15825
15971
  var ModalLayer = ({
15826
15972
  isOpen,
15827
15973
  onClose,
@@ -15839,10 +15985,10 @@ var ModalLayer = ({
15839
15985
  leaveFrom: "transform scale-100 opacity-100",
15840
15986
  leaveTo: "transform scale-95 opacity-0",
15841
15987
  as: Fragment12,
15842
- 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: [
15988
+ 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: [
15843
15989
  /* @__PURE__ */ jsx64("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
15844
- /* @__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: [
15845
- /* @__PURE__ */ jsxs38(
15990
+ /* @__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: [
15991
+ /* @__PURE__ */ jsxs40(
15846
15992
  "div",
15847
15993
  {
15848
15994
  className: `flex justify-between items-center border-[rgba(0,0,0,0.1)] pb-2`,
@@ -15868,7 +16014,7 @@ var ModalLayer = ({
15868
16014
  };
15869
16015
 
15870
16016
  // src/widgets/common/modal-confirm.tsx
15871
- import { jsx as jsx65, jsxs as jsxs39 } from "react/jsx-runtime";
16017
+ import { jsx as jsx65, jsxs as jsxs41 } from "react/jsx-runtime";
15872
16018
  var ModalConfirm = ({
15873
16019
  name: name2,
15874
16020
  isShowModal,
@@ -15882,7 +16028,7 @@ var ModalConfirm = ({
15882
16028
  const renderButtonAction = (name3) => {
15883
16029
  switch (name3) {
15884
16030
  case "duplicate":
15885
- return /* @__PURE__ */ jsxs39(
16031
+ return /* @__PURE__ */ jsxs41(
15886
16032
  "button",
15887
16033
  {
15888
16034
  type: "button",
@@ -15896,7 +16042,7 @@ var ModalConfirm = ({
15896
16042
  }
15897
16043
  );
15898
16044
  case "archive":
15899
- return /* @__PURE__ */ jsxs39(
16045
+ return /* @__PURE__ */ jsxs41(
15900
16046
  "button",
15901
16047
  {
15902
16048
  type: "button",
@@ -15910,7 +16056,7 @@ var ModalConfirm = ({
15910
16056
  }
15911
16057
  );
15912
16058
  case "unarchive":
15913
- return /* @__PURE__ */ jsxs39(
16059
+ return /* @__PURE__ */ jsxs41(
15914
16060
  "button",
15915
16061
  {
15916
16062
  type: "button",
@@ -15924,7 +16070,7 @@ var ModalConfirm = ({
15924
16070
  }
15925
16071
  );
15926
16072
  case "delete":
15927
- return /* @__PURE__ */ jsxs39(
16073
+ return /* @__PURE__ */ jsxs41(
15928
16074
  "button",
15929
16075
  {
15930
16076
  type: "button",
@@ -15941,12 +16087,12 @@ var ModalConfirm = ({
15941
16087
  break;
15942
16088
  }
15943
16089
  };
15944
- return /* @__PURE__ */ jsx65(ModalLayer, { isOpen: isShowModal, onClose, children: /* @__PURE__ */ jsxs39("div", { className: "mx-auto flex flex-col items-center justify-center gap-4", children: [
15945
- /* @__PURE__ */ jsxs39("div", { className: "flex flex-col gap-[4px] items-center", children: [
16090
+ return /* @__PURE__ */ jsx65(ModalLayer, { isOpen: isShowModal, onClose, children: /* @__PURE__ */ jsxs41("div", { className: "mx-auto flex flex-col items-center justify-center gap-4", children: [
16091
+ /* @__PURE__ */ jsxs41("div", { className: "flex flex-col gap-[4px] items-center", children: [
15946
16092
  /* @__PURE__ */ jsx65("div", { className: "text-[18px] font-bold", children: title }),
15947
16093
  /* @__PURE__ */ jsx65("p", { className: "text-[16px]", children: content })
15948
16094
  ] }),
15949
- /* @__PURE__ */ jsxs39("div", { className: "flex justify-center items-center gap-2 w-full", children: [
16095
+ /* @__PURE__ */ jsxs41("div", { className: "flex justify-center items-center gap-2 w-full", children: [
15950
16096
  /* @__PURE__ */ jsx65(
15951
16097
  "button",
15952
16098
  {
@@ -15964,7 +16110,7 @@ var ModalConfirm = ({
15964
16110
  // src/widgets/common/modal-detail.tsx
15965
16111
  import { useState as useState7 } from "react";
15966
16112
  import { createPortal as createPortal2 } from "react-dom";
15967
- import { Fragment as Fragment13, jsx as jsx66, jsxs as jsxs40 } from "react/jsx-runtime";
16113
+ import { Fragment as Fragment13, jsx as jsx66, jsxs as jsxs42 } from "react/jsx-runtime";
15968
16114
  var ModalDetail = ({
15969
16115
  idToolTip,
15970
16116
  title,
@@ -15987,11 +16133,11 @@ var ModalDetail = ({
15987
16133
  window.location.href = `/form/menu?model=${model}&id=${idForm}`;
15988
16134
  };
15989
16135
  return createPortal2(
15990
- /* @__PURE__ */ jsx66(Fragment13, { children: showModalDetail && /* @__PURE__ */ jsxs40("div", { className: "fixed bottom-0 left-0 right-0 top-0 z-[100]", children: [
16136
+ /* @__PURE__ */ jsx66(Fragment13, { children: showModalDetail && /* @__PURE__ */ jsxs42("div", { className: "fixed bottom-0 left-0 right-0 top-0 z-[100]", children: [
15991
16137
  /* @__PURE__ */ jsx66("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
15992
- /* @__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: [
15993
- /* @__PURE__ */ jsxs40("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
15994
- /* @__PURE__ */ jsxs40(
16138
+ /* @__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: [
16139
+ /* @__PURE__ */ jsxs42("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
16140
+ /* @__PURE__ */ jsxs42(
15995
16141
  "div",
15996
16142
  {
15997
16143
  id: "modal-detail",
@@ -16026,7 +16172,7 @@ var ModalDetail = ({
16026
16172
 
16027
16173
  // src/widgets/common/loading-normal.tsx
16028
16174
  import { useEffect as useEffect9, useState as useState8 } from "react";
16029
- import { jsx as jsx67, jsxs as jsxs41 } from "react/jsx-runtime";
16175
+ import { jsx as jsx67, jsxs as jsxs43 } from "react/jsx-runtime";
16030
16176
  var LayerLoading = () => {
16031
16177
  const { t: t3 } = useI18n();
16032
16178
  const [activeIndex, setActiveIndex] = useState8(0);
@@ -16036,7 +16182,7 @@ var LayerLoading = () => {
16036
16182
  }, 200);
16037
16183
  return () => clearInterval(interval);
16038
16184
  }, []);
16039
- 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: [
16185
+ 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: [
16040
16186
  /* @__PURE__ */ jsx67("div", { className: "loading-container", children: [...Array(6)].map((_2, index4) => /* @__PURE__ */ jsx67(
16041
16187
  "div",
16042
16188
  {
@@ -16254,7 +16400,7 @@ var po = $2(K("zoom"));
16254
16400
  var uo = $2(K("flip"));
16255
16401
 
16256
16402
  // src/widgets/common/select-files.tsx
16257
- import { Fragment as Fragment14, jsx as jsx69, jsxs as jsxs42 } from "react/jsx-runtime";
16403
+ import { Fragment as Fragment14, jsx as jsx69, jsxs as jsxs44 } from "react/jsx-runtime";
16258
16404
  var ButtonSelectFiles = ({
16259
16405
  fileInputRef,
16260
16406
  selectedFiles,
@@ -16358,8 +16504,8 @@ var ButtonSelectFiles = ({
16358
16504
  await handleUpload(formData, serivce, xNode);
16359
16505
  }
16360
16506
  };
16361
- return /* @__PURE__ */ jsxs42(Fragment14, { children: [
16362
- isPending ? /* @__PURE__ */ jsx69(Fragment14, { children: /* @__PURE__ */ jsx69("span", { className: "text-sm text-gray-500", children: t3("\u0110ang t\u1EA3i l\xEAn...") }) }) : /* @__PURE__ */ jsxs42(
16507
+ return /* @__PURE__ */ jsxs44(Fragment14, { children: [
16508
+ isPending ? /* @__PURE__ */ jsx69(Fragment14, { children: /* @__PURE__ */ jsx69("span", { className: "text-sm text-gray-500", children: t3("\u0110ang t\u1EA3i l\xEAn...") }) }) : /* @__PURE__ */ jsxs44(
16363
16509
  "button",
16364
16510
  {
16365
16511
  type: "button",
@@ -16388,7 +16534,7 @@ var ButtonSelectFiles = ({
16388
16534
 
16389
16535
  // src/widgets/common/video-player.tsx
16390
16536
  import { useRef as useRef6, useState as useState10 } from "react";
16391
- import { jsx as jsx70, jsxs as jsxs43 } from "react/jsx-runtime";
16537
+ import { jsx as jsx70, jsxs as jsxs45 } from "react/jsx-runtime";
16392
16538
  var VideoPlayer = ({ src }) => {
16393
16539
  const [isPlaying, setIsPlaying] = useState10(false);
16394
16540
  const videoRef = useRef6(null);
@@ -16415,7 +16561,7 @@ var VideoPlayer = ({ src }) => {
16415
16561
  }
16416
16562
  }
16417
16563
  };
16418
- 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: [
16564
+ 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: [
16419
16565
  /* @__PURE__ */ jsx70(
16420
16566
  "video",
16421
16567
  {
@@ -16434,7 +16580,7 @@ var VideoPlayer = ({ src }) => {
16434
16580
  };
16435
16581
 
16436
16582
  // src/widgets/basic/avatar-field/avatar.tsx
16437
- import { Fragment as Fragment15, jsx as jsx71, jsxs as jsxs44 } from "react/jsx-runtime";
16583
+ import { Fragment as Fragment15, jsx as jsx71, jsxs as jsxs46 } from "react/jsx-runtime";
16438
16584
  var AvatarField = (props) => {
16439
16585
  const {
16440
16586
  isForm = false,
@@ -16458,7 +16604,7 @@ var AvatarField = (props) => {
16458
16604
  color: textColor,
16459
16605
  fontSize: `${size4 / 2.5}px`
16460
16606
  };
16461
- return /* @__PURE__ */ jsxs44(Fragment15, { children: [
16607
+ return /* @__PURE__ */ jsxs46(Fragment15, { children: [
16462
16608
  isForm && allowShowDetail && /* @__PURE__ */ jsx71(
16463
16609
  ModalDetail,
16464
16610
  {
@@ -16500,7 +16646,7 @@ var AvatarField = (props) => {
16500
16646
  };
16501
16647
 
16502
16648
  // src/widgets/basic/binary-field/binary.tsx
16503
- import { jsx as jsx72, jsxs as jsxs45 } from "react/jsx-runtime";
16649
+ import { jsx as jsx72, jsxs as jsxs47 } from "react/jsx-runtime";
16504
16650
  var BinaryField = (props) => {
16505
16651
  const {
16506
16652
  name: name2,
@@ -16538,7 +16684,7 @@ var BinaryField = (props) => {
16538
16684
  {
16539
16685
  ref: binaryRef,
16540
16686
  className: "flex w-fit items-center gap-4 rounded-lg shadow-md mb-11",
16541
- children: renderImage ? /* @__PURE__ */ jsxs45("div", { className: "relative group", children: [
16687
+ children: renderImage ? /* @__PURE__ */ jsxs47("div", { className: "relative group", children: [
16542
16688
  renderImage && checkIsImageLink2(renderImage) ? /* @__PURE__ */ jsx72(
16543
16689
  "img",
16544
16690
  {
@@ -16571,7 +16717,7 @@ var BinaryField = (props) => {
16571
16717
  children: /* @__PURE__ */ jsx72(DeleteIcon, {})
16572
16718
  }
16573
16719
  )
16574
- ] }) : /* @__PURE__ */ jsxs45(
16720
+ ] }) : /* @__PURE__ */ jsxs47(
16575
16721
  "label",
16576
16722
  {
16577
16723
  htmlFor: inputId,
@@ -16714,7 +16860,7 @@ var ButtonBadgeField = (props) => {
16714
16860
  };
16715
16861
 
16716
16862
  // src/widgets/basic/button-field/button.tsx
16717
- import { Fragment as Fragment16, jsx as jsx74, jsxs as jsxs46 } from "react/jsx-runtime";
16863
+ import { Fragment as Fragment16, jsx as jsx74, jsxs as jsxs48 } from "react/jsx-runtime";
16718
16864
  var ButtonField = (props) => {
16719
16865
  const {
16720
16866
  func,
@@ -16734,7 +16880,7 @@ var ButtonField = (props) => {
16734
16880
  onClick: func,
16735
16881
  children: t3(content)
16736
16882
  }
16737
- ) : /* @__PURE__ */ jsxs46(
16883
+ ) : /* @__PURE__ */ jsxs48(
16738
16884
  "button",
16739
16885
  {
16740
16886
  type,
@@ -16751,7 +16897,7 @@ var ButtonField = (props) => {
16751
16897
 
16752
16898
  // src/widgets/basic/char-field/char.tsx
16753
16899
  import { useEffect as useEffect11, useMemo as useMemo4 } from "react";
16754
- import { Fragment as Fragment17, jsx as jsx75, jsxs as jsxs47 } from "react/jsx-runtime";
16900
+ import { Fragment as Fragment17, jsx as jsx75, jsxs as jsxs49 } from "react/jsx-runtime";
16755
16901
  var WIDGET_AUTO_COMPUTE_DEPEND = "auto_compute_depend_field";
16756
16902
  var CharField = (props) => {
16757
16903
  const {
@@ -16835,7 +16981,7 @@ var CharField = (props) => {
16835
16981
  }
16836
16982
  return "";
16837
16983
  }, [widget, formValues]);
16838
- return /* @__PURE__ */ jsxs47(Fragment17, { children: [
16984
+ return /* @__PURE__ */ jsxs49(Fragment17, { children: [
16839
16985
  /* @__PURE__ */ jsx75(
16840
16986
  "input",
16841
16987
  {
@@ -16979,7 +17125,7 @@ var CheckboxField = (props) => {
16979
17125
 
16980
17126
  // src/widgets/basic/color-field/color-wrapper.tsx
16981
17127
  import { useEffect as useEffect12, useRef as useRef7, useState as useState11 } from "react";
16982
- import { Fragment as Fragment18, jsx as jsx77, jsxs as jsxs48 } from "react/jsx-runtime";
17128
+ import { Fragment as Fragment18, jsx as jsx77, jsxs as jsxs50 } from "react/jsx-runtime";
16983
17129
  var ColorWrapper = (props) => {
16984
17130
  const {
16985
17131
  colors: colors2,
@@ -17006,7 +17152,7 @@ var ColorWrapper = (props) => {
17006
17152
  document.removeEventListener("mousedown", handleClickOutside);
17007
17153
  };
17008
17154
  }, []);
17009
- return /* @__PURE__ */ jsx77("div", { ref: pickColorsRef, children: showFullColors ? /* @__PURE__ */ jsx77("div", { className: "flex gap-2", children: COLORS.map((color) => /* @__PURE__ */ jsxs48("div", { children: [
17155
+ return /* @__PURE__ */ jsx77("div", { ref: pickColorsRef, children: showFullColors ? /* @__PURE__ */ jsx77("div", { className: "flex gap-2", children: COLORS.map((color) => /* @__PURE__ */ jsxs50("div", { children: [
17010
17156
  /* @__PURE__ */ jsx77(
17011
17157
  "button",
17012
17158
  {
@@ -17030,7 +17176,7 @@ var ColorWrapper = (props) => {
17030
17176
  content: i18n_default.t(color?.name)
17031
17177
  }
17032
17178
  )
17033
- ] }, color?.id)) }) : /* @__PURE__ */ jsxs48(Fragment18, { children: [
17179
+ ] }, color?.id)) }) : /* @__PURE__ */ jsxs50(Fragment18, { children: [
17034
17180
  /* @__PURE__ */ jsx77(
17035
17181
  "button",
17036
17182
  {
@@ -17087,7 +17233,7 @@ var ColorField = (props) => {
17087
17233
 
17088
17234
  // src/widgets/basic/copy-link-buttton/copy-link.tsx
17089
17235
  import { useEffect as useEffect13 } from "react";
17090
- import { jsx as jsx79, jsxs as jsxs49 } from "react/jsx-runtime";
17236
+ import { jsx as jsx79, jsxs as jsxs51 } from "react/jsx-runtime";
17091
17237
  var CopyLinkButtonField = (props) => {
17092
17238
  const {
17093
17239
  isForm,
@@ -17126,8 +17272,8 @@ var CopyLinkButtonField = (props) => {
17126
17272
  clearErrors(name2);
17127
17273
  }
17128
17274
  }, [value]);
17129
- return /* @__PURE__ */ jsxs49("div", { className: "relative", children: [
17130
- /* @__PURE__ */ jsxs49(
17275
+ return /* @__PURE__ */ jsxs51("div", { className: "relative", children: [
17276
+ /* @__PURE__ */ jsxs51(
17131
17277
  "div",
17132
17278
  {
17133
17279
  "aria-disabled": readonly,
@@ -21130,7 +21276,7 @@ function useEffectEvent(callback) {
21130
21276
  }
21131
21277
 
21132
21278
  // node_modules/react-datepicker/node_modules/@floating-ui/react/dist/floating-ui.react.mjs
21133
- import { jsx as jsx80, jsxs as jsxs50, Fragment as Fragment19 } from "react/jsx-runtime";
21279
+ import { jsx as jsx80, jsxs as jsxs52, Fragment as Fragment19 } from "react/jsx-runtime";
21134
21280
  import * as ReactDOM2 from "react-dom";
21135
21281
 
21136
21282
  // node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
@@ -21528,7 +21674,7 @@ var FloatingArrow = /* @__PURE__ */ React8.forwardRef(function FloatingArrow2(pr
21528
21674
  bottom: isCustomShape ? "" : "rotate(180deg)",
21529
21675
  right: isCustomShape ? "rotate(-90deg)" : "rotate(90deg)"
21530
21676
  }[side];
21531
- return /* @__PURE__ */ jsxs50("svg", {
21677
+ return /* @__PURE__ */ jsxs52("svg", {
21532
21678
  ...rest,
21533
21679
  "aria-hidden": true,
21534
21680
  ref,
@@ -30944,7 +31090,7 @@ var StateManagedSelect$1 = StateManagedSelect;
30944
31090
 
30945
31091
  // src/widgets/basic/date-field/date.tsx
30946
31092
  var import_moment2 = __toESM(require_moment());
30947
- import { Fragment as Fragment23, jsx as jsx83, jsxs as jsxs51 } from "react/jsx-runtime";
31093
+ import { Fragment as Fragment23, jsx as jsx83, jsxs as jsxs53 } from "react/jsx-runtime";
30948
31094
  var DateField = (props) => {
30949
31095
  const {
30950
31096
  name: name2,
@@ -30972,7 +31118,7 @@ var DateField = (props) => {
30972
31118
  } = props;
30973
31119
  const { t: t3 } = useI18n();
30974
31120
  const InputDateCustom = forwardRef6(
30975
- ({ onClick, className, onChange: onChange2, isForm: isForm2, defaultValue }, ref) => /* @__PURE__ */ jsxs51("label", { className: `flex ${className}`, children: [
31121
+ ({ onClick, className, onChange: onChange2, isForm: isForm2, defaultValue }, ref) => /* @__PURE__ */ jsxs53("label", { className: `flex ${className}`, children: [
30976
31122
  /* @__PURE__ */ jsx83(
30977
31123
  "input",
30978
31124
  {
@@ -31015,7 +31161,7 @@ var DateField = (props) => {
31015
31161
  }
31016
31162
  }, [value, clearErrors, name2]);
31017
31163
  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;
31018
- return /* @__PURE__ */ jsxs51(Fragment23, { children: [
31164
+ return /* @__PURE__ */ jsxs53(Fragment23, { children: [
31019
31165
  /* @__PURE__ */ jsx83(
31020
31166
  DatePicker,
31021
31167
  {
@@ -31082,7 +31228,7 @@ var DateField = (props) => {
31082
31228
  increaseMonth,
31083
31229
  prevMonthButtonDisabled,
31084
31230
  nextMonthButtonDisabled
31085
- }) => /* @__PURE__ */ jsxs51(
31231
+ }) => /* @__PURE__ */ jsxs53(
31086
31232
  "div",
31087
31233
  {
31088
31234
  style: {
@@ -31175,11 +31321,11 @@ var DateField = (props) => {
31175
31321
  };
31176
31322
 
31177
31323
  // src/widgets/basic/download-binary-field/download-binary.tsx
31178
- import { jsx as jsx84, jsxs as jsxs52 } from "react/jsx-runtime";
31324
+ import { jsx as jsx84, jsxs as jsxs54 } from "react/jsx-runtime";
31179
31325
  var DownLoadBinaryField = (props) => {
31180
31326
  const { handleFileDownload } = props;
31181
31327
  const { t: t3 } = useI18n();
31182
- return /* @__PURE__ */ jsxs52(
31328
+ return /* @__PURE__ */ jsxs54(
31183
31329
  "button",
31184
31330
  {
31185
31331
  type: "button",
@@ -31194,7 +31340,7 @@ var DownLoadBinaryField = (props) => {
31194
31340
  };
31195
31341
 
31196
31342
  // src/widgets/basic/download-file-field/download-file.tsx
31197
- import { jsx as jsx85, jsxs as jsxs53 } from "react/jsx-runtime";
31343
+ import { jsx as jsx85, jsxs as jsxs55 } from "react/jsx-runtime";
31198
31344
  var DownloadFileField = (props) => {
31199
31345
  const {
31200
31346
  readonly,
@@ -31206,8 +31352,8 @@ var DownloadFileField = (props) => {
31206
31352
  handleFileChange,
31207
31353
  handleFileDownload
31208
31354
  } = props;
31209
- return /* @__PURE__ */ jsxs53("div", { className: "", children: [
31210
- /* @__PURE__ */ jsxs53(
31355
+ return /* @__PURE__ */ jsxs55("div", { className: "", children: [
31356
+ /* @__PURE__ */ jsxs55(
31211
31357
  "label",
31212
31358
  {
31213
31359
  htmlFor: inputId,
@@ -31242,7 +31388,7 @@ var DownloadFileField = (props) => {
31242
31388
 
31243
31389
  // src/widgets/basic/dropdown-field/dropdown.tsx
31244
31390
  import { useState as useState16 } from "react";
31245
- import { jsx as jsx86, jsxs as jsxs54 } from "react/jsx-runtime";
31391
+ import { jsx as jsx86, jsxs as jsxs56 } from "react/jsx-runtime";
31246
31392
  var DropdownField = (props) => {
31247
31393
  const {
31248
31394
  options: options2,
@@ -31256,14 +31402,14 @@ var DropdownField = (props) => {
31256
31402
  } = props;
31257
31403
  const [open, setOpen] = useState16(false);
31258
31404
  const dropdownRef = useClickOutside2({ handler: () => setOpen(false) });
31259
- return /* @__PURE__ */ jsxs54(
31405
+ return /* @__PURE__ */ jsxs56(
31260
31406
  "div",
31261
31407
  {
31262
31408
  ref: dropdownRef,
31263
31409
  className: `relative ${className}`,
31264
31410
  onClick: () => setOpen(!open),
31265
31411
  children: [
31266
- /* @__PURE__ */ jsxs54(
31412
+ /* @__PURE__ */ jsxs56(
31267
31413
  "div",
31268
31414
  {
31269
31415
  className: `flex items-center gap-2 px-3 py-1 bg-white border rounded-lg cursor-pointer ${buttonClassName}`,
@@ -31299,7 +31445,7 @@ var DropdownField = (props) => {
31299
31445
  };
31300
31446
 
31301
31447
  // src/widgets/basic/fee-field/fee.tsx
31302
- import { Fragment as Fragment24, jsx as jsx87, jsxs as jsxs55 } from "react/jsx-runtime";
31448
+ import { Fragment as Fragment24, jsx as jsx87, jsxs as jsxs57 } from "react/jsx-runtime";
31303
31449
  var FeeField = (props) => {
31304
31450
  const { value, formValues } = props;
31305
31451
  const { t: t3 } = useI18n();
@@ -31310,23 +31456,23 @@ var FeeField = (props) => {
31310
31456
  )
31311
31457
  ) + " VND";
31312
31458
  const remaining_amount = formatNumberOnly(parseFloat(formValues?.amount_residual ?? 0)) + " VND";
31313
- return /* @__PURE__ */ jsxs55(Fragment24, { children: [
31459
+ return /* @__PURE__ */ jsxs57(Fragment24, { children: [
31314
31460
  value?.subtotals?.map((sub) => {
31315
31461
  if (sub?.tax_amount > 0 && sub?.tax_groups?.length > 0) {
31316
- return /* @__PURE__ */ jsxs55(Fragment24, { children: [
31317
- /* @__PURE__ */ jsxs55("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto", children: [
31318
- /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31462
+ return /* @__PURE__ */ jsxs57(Fragment24, { children: [
31463
+ /* @__PURE__ */ jsxs57("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto", children: [
31464
+ /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
31319
31465
  sub?.name,
31320
31466
  ":"
31321
31467
  ] }),
31322
31468
  /* @__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" })
31323
31469
  ] }),
31324
- sub?.tax_groups.map((group) => /* @__PURE__ */ jsxs55(
31470
+ sub?.tax_groups.map((group) => /* @__PURE__ */ jsxs57(
31325
31471
  "div",
31326
31472
  {
31327
31473
  className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2",
31328
31474
  children: [
31329
- /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31475
+ /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
31330
31476
  group?.group_name,
31331
31477
  ":"
31332
31478
  ] }),
@@ -31338,22 +31484,22 @@ var FeeField = (props) => {
31338
31484
  ] });
31339
31485
  }
31340
31486
  }),
31341
- /* @__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: [
31342
- /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31487
+ /* @__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: [
31488
+ /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
31343
31489
  t3("total"),
31344
31490
  ":"
31345
31491
  ] }),
31346
31492
  /* @__PURE__ */ jsx87("div", { className: "text-xl leading-[21px] font-bold text-[rgb(73,80,87)] text-right ", children: totalAmount })
31347
31493
  ] }),
31348
- /* @__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: [
31349
- /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31494
+ /* @__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: [
31495
+ /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
31350
31496
  t3("paid_amount"),
31351
31497
  ":"
31352
31498
  ] }),
31353
31499
  /* @__PURE__ */ jsx87("div", { className: "text-lg leading-[21px] font-semibold text-[rgb(73,80,87)] text-right ", children: paid_amount })
31354
31500
  ] }),
31355
- /* @__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: [
31356
- /* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
31501
+ /* @__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: [
31502
+ /* @__PURE__ */ jsxs57("div", { className: "text-[14px] leading-[21px] text-right", children: [
31357
31503
  t3("remanining_amount"),
31358
31504
  ":"
31359
31505
  ] }),
@@ -31364,7 +31510,7 @@ var FeeField = (props) => {
31364
31510
 
31365
31511
  // src/widgets/basic/file-upload-field/file-upload.tsx
31366
31512
  import { useEffect as useEffect18, useRef as useRef15, useState as useState17 } from "react";
31367
- import { jsx as jsx88, jsxs as jsxs56 } from "react/jsx-runtime";
31513
+ import { jsx as jsx88, jsxs as jsxs58 } from "react/jsx-runtime";
31368
31514
  var RenderFile = ({
31369
31515
  file,
31370
31516
  onDelete,
@@ -31380,9 +31526,9 @@ var RenderFile = ({
31380
31526
  "application/vnd.ms-excel": /* @__PURE__ */ jsx88(ExcelIcon, {}),
31381
31527
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": /* @__PURE__ */ jsx88(ExcelIcon, {})
31382
31528
  };
31383
- return /* @__PURE__ */ jsxs56("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
31529
+ return /* @__PURE__ */ jsxs58("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
31384
31530
  /* @__PURE__ */ jsx88("div", { className: "w-6 h-6 file-icon", children: info?.type && fileTypeIcon?.[info?.type] }),
31385
- /* @__PURE__ */ jsxs56("div", { children: [
31531
+ /* @__PURE__ */ jsxs58("div", { children: [
31386
31532
  /* @__PURE__ */ jsx88(
31387
31533
  "div",
31388
31534
  {
@@ -31395,7 +31541,7 @@ var RenderFile = ({
31395
31541
  ),
31396
31542
  /* @__PURE__ */ jsx88("div", { className: "text-xs text-[#666] font-semibold", children: isNaN(info?.size) ? "" : formatFileSize(info?.size) })
31397
31543
  ] }),
31398
- /* @__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: [
31544
+ /* @__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: [
31399
31545
  /* @__PURE__ */ jsx88(
31400
31546
  "span",
31401
31547
  {
@@ -31465,7 +31611,7 @@ var FileUploadField = (props) => {
31465
31611
  );
31466
31612
  }
31467
31613
  }, [selectedFiles]);
31468
- return /* @__PURE__ */ jsxs56("div", { children: [
31614
+ return /* @__PURE__ */ jsxs58("div", { children: [
31469
31615
  selectedFiles?.length > 0 && selectedFiles?.map((fileItem, index4) => /* @__PURE__ */ jsx88(
31470
31616
  RenderFile,
31471
31617
  {
@@ -31506,7 +31652,7 @@ var FileUploadField = (props) => {
31506
31652
 
31507
31653
  // src/widgets/basic/float-field/float.tsx
31508
31654
  import { useEffect as useEffect19, useRef as useRef16, useState as useState18 } from "react";
31509
- import { Fragment as Fragment25, jsx as jsx89, jsxs as jsxs57 } from "react/jsx-runtime";
31655
+ import { Fragment as Fragment25, jsx as jsx89, jsxs as jsxs59 } from "react/jsx-runtime";
31510
31656
  var FloatField = (props) => {
31511
31657
  const {
31512
31658
  name: name2,
@@ -31631,7 +31777,7 @@ var FloatField = (props) => {
31631
31777
  }
31632
31778
  isDirtyRef.current = false;
31633
31779
  };
31634
- return /* @__PURE__ */ jsxs57(Fragment25, { children: [
31780
+ return /* @__PURE__ */ jsxs59(Fragment25, { children: [
31635
31781
  /* @__PURE__ */ jsx89(
31636
31782
  "input",
31637
31783
  {
@@ -31661,7 +31807,7 @@ var FloatField = (props) => {
31661
31807
 
31662
31808
  // src/widgets/basic/float-time-field/float-time.tsx
31663
31809
  import { useState as useState19 } from "react";
31664
- import { Fragment as Fragment26, jsx as jsx90, jsxs as jsxs58 } from "react/jsx-runtime";
31810
+ import { Fragment as Fragment26, jsx as jsx90, jsxs as jsxs60 } from "react/jsx-runtime";
31665
31811
  var FloatTimeField = (props) => {
31666
31812
  const {
31667
31813
  name: name2,
@@ -31741,7 +31887,7 @@ var FloatTimeField = (props) => {
31741
31887
  }
31742
31888
  onBlur();
31743
31889
  };
31744
- return /* @__PURE__ */ jsxs58(Fragment26, { children: [
31890
+ return /* @__PURE__ */ jsxs60(Fragment26, { children: [
31745
31891
  /* @__PURE__ */ jsx90(
31746
31892
  "input",
31747
31893
  {
@@ -31851,7 +31997,7 @@ var ImageField = (props) => {
31851
31997
  import React16, { useEffect as useEffect21, useMemo as useMemo10 } from "react";
31852
31998
 
31853
31999
  // src/widgets/basic/information-field/information.tsx
31854
- import { Fragment as Fragment27, jsx as jsx93, jsxs as jsxs59 } from "react/jsx-runtime";
32000
+ import { Fragment as Fragment27, jsx as jsx93, jsxs as jsxs61 } from "react/jsx-runtime";
31855
32001
  var InfomationField = (props) => {
31856
32002
  const { value, isForm = false, showName = true, stringToColor } = props;
31857
32003
  if (!value || Array.isArray(value) && value.length === 0) {
@@ -31867,7 +32013,7 @@ var InfomationField = (props) => {
31867
32013
  stringToColor
31868
32014
  },
31869
32015
  item.id
31870
- )) : /* @__PURE__ */ jsxs59("div", { className: "flex gap-2 items-center w-max", children: [
32016
+ )) : /* @__PURE__ */ jsxs61("div", { className: "flex gap-2 items-center w-max", children: [
31871
32017
  /* @__PURE__ */ jsx93(
31872
32018
  AvatarField,
31873
32019
  {
@@ -31883,7 +32029,7 @@ var InfomationField = (props) => {
31883
32029
  };
31884
32030
 
31885
32031
  // src/widgets/basic/many2many-tags-field/many2many-tags.tsx
31886
- import { jsx as jsx94, jsxs as jsxs60 } from "react/jsx-runtime";
32032
+ import { jsx as jsx94, jsxs as jsxs62 } from "react/jsx-runtime";
31887
32033
  var CustomMultiValue = ({ stringToColor, ...props }) => {
31888
32034
  const { selectProps, data, menuList } = props;
31889
32035
  const { relation } = selectProps;
@@ -31892,7 +32038,7 @@ var CustomMultiValue = ({ stringToColor, ...props }) => {
31892
32038
  (childItem) => childItem?.is_display && childItem?.action?.res_model === relation
31893
32039
  )
31894
32040
  )?.[0]?.action?.id;
31895
- return /* @__PURE__ */ jsxs60("div", { className: "flex items-center gap-2 relative mr-2 group", children: [
32041
+ return /* @__PURE__ */ jsxs62("div", { className: "flex items-center gap-2 relative mr-2 group", children: [
31896
32042
  /* @__PURE__ */ jsx94(
31897
32043
  AvatarField,
31898
32044
  {
@@ -31924,9 +32070,9 @@ var CustomMenuList = (props) => {
31924
32070
  const { setIsShowModalMany2Many, searchable } = selectProps;
31925
32071
  const { t: t3 } = useI18n();
31926
32072
  const limitedChildren = React16.Children.toArray(children).slice(0, 10);
31927
- return /* @__PURE__ */ jsxs60(components.MenuList, { ...props, className: "z-[99]", children: [
32073
+ return /* @__PURE__ */ jsxs62(components.MenuList, { ...props, className: "z-[99]", children: [
31928
32074
  limitedChildren,
31929
- options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs60(
32075
+ options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs62(
31930
32076
  "button",
31931
32077
  {
31932
32078
  type: "button",
@@ -32016,7 +32162,7 @@ var Many2ManyTagField = (props) => {
32016
32162
  onChange2?.(name2 ?? "", newValue);
32017
32163
  clearErrors(name2);
32018
32164
  };
32019
- return /* @__PURE__ */ jsxs60("div", { className: "group h-full overflow-y-auto", children: [
32165
+ return /* @__PURE__ */ jsxs62("div", { className: "group h-full overflow-y-auto", children: [
32020
32166
  /* @__PURE__ */ jsx94(
32021
32167
  StateManagedSelect$1,
32022
32168
  {
@@ -32130,7 +32276,7 @@ var Many2ManyTagField = (props) => {
32130
32276
 
32131
32277
  // src/widgets/basic/monetary-field/monetary.tsx
32132
32278
  import { useEffect as useEffect22 } from "react";
32133
- import { Fragment as Fragment28, jsx as jsx95, jsxs as jsxs61 } from "react/jsx-runtime";
32279
+ import { Fragment as Fragment28, jsx as jsx95, jsxs as jsxs63 } from "react/jsx-runtime";
32134
32280
  var MonetaryField = (props) => {
32135
32281
  const { t: t3 } = useI18n();
32136
32282
  const {
@@ -32150,8 +32296,8 @@ var MonetaryField = (props) => {
32150
32296
  isEditTable
32151
32297
  } = props;
32152
32298
  if (isForm && name2 === "amount_residual") {
32153
- return /* @__PURE__ */ jsxs61("div", { className: "flex justify-end gap-x-4 gap-y-2 ml-auto mt-2 lg:mt-5", children: [
32154
- /* @__PURE__ */ jsxs61("span", { className: "font-semibold", children: [
32299
+ return /* @__PURE__ */ jsxs63("div", { className: "flex justify-end gap-x-4 gap-y-2 ml-auto mt-2 lg:mt-5", children: [
32300
+ /* @__PURE__ */ jsxs63("span", { className: "font-semibold", children: [
32155
32301
  string,
32156
32302
  ":"
32157
32303
  ] }),
@@ -32188,7 +32334,7 @@ var MonetaryField = (props) => {
32188
32334
  clearErrors(name2);
32189
32335
  }
32190
32336
  }, [value2]);
32191
- return /* @__PURE__ */ jsxs61(Fragment28, { children: [
32337
+ return /* @__PURE__ */ jsxs63(Fragment28, { children: [
32192
32338
  /* @__PURE__ */ jsx95(
32193
32339
  "input",
32194
32340
  {
@@ -32242,7 +32388,7 @@ var PaidBadgedField = () => {
32242
32388
 
32243
32389
  // src/widgets/basic/priority-field/rating-star.tsx
32244
32390
  import React17, { useEffect as useEffect23, useState as useState20 } from "react";
32245
- import { jsx as jsx97, jsxs as jsxs62 } from "react/jsx-runtime";
32391
+ import { jsx as jsx97, jsxs as jsxs64 } from "react/jsx-runtime";
32246
32392
  var RatingStarField = (props) => {
32247
32393
  const {
32248
32394
  label,
@@ -32287,7 +32433,7 @@ var RatingStarField = (props) => {
32287
32433
  const starValue = index4 + 1;
32288
32434
  const fillColor = hover > 0 ? hover >= starValue ? "#f3cc00" : "white" : rating >= starValue ? "#f3cc00" : "white";
32289
32435
  const strokeColor = hover > 0 ? hover >= starValue ? "#f3cc00" : "rgba(73,80,87,0.76)" : rating >= starValue ? "#f3cc00" : "rgba(73,80,87,0.76)";
32290
- return /* @__PURE__ */ jsxs62(React17.Fragment, { children: [
32436
+ return /* @__PURE__ */ jsxs64(React17.Fragment, { children: [
32291
32437
  /* @__PURE__ */ jsx97(
32292
32438
  "div",
32293
32439
  {
@@ -32367,7 +32513,7 @@ var PriorityField = (props) => {
32367
32513
 
32368
32514
  // src/widgets/basic/radio-group-field/radio-group.tsx
32369
32515
  import { useEffect as useEffect24 } from "react";
32370
- import { jsx as jsx99, jsxs as jsxs63 } from "react/jsx-runtime";
32516
+ import { jsx as jsx99, jsxs as jsxs65 } from "react/jsx-runtime";
32371
32517
  var RadioGroupField = (props) => {
32372
32518
  const {
32373
32519
  name: name2,
@@ -32391,7 +32537,7 @@ var RadioGroupField = (props) => {
32391
32537
  {
32392
32538
  name: name2 ?? "",
32393
32539
  control: methods.control,
32394
- 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: [
32540
+ 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: [
32395
32541
  /* @__PURE__ */ jsx99(
32396
32542
  "input",
32397
32543
  {
@@ -32419,7 +32565,7 @@ var RadioGroupField = (props) => {
32419
32565
 
32420
32566
  // src/widgets/basic/remaining-days-field/remaining-days.tsx
32421
32567
  var import_moment3 = __toESM(require_moment());
32422
- import { jsx as jsx100, jsxs as jsxs64 } from "react/jsx-runtime";
32568
+ import { jsx as jsx100, jsxs as jsxs66 } from "react/jsx-runtime";
32423
32569
  var RemainingDaysField = (props) => {
32424
32570
  const {
32425
32571
  value,
@@ -32430,7 +32576,7 @@ var RemainingDaysField = (props) => {
32430
32576
  if (!value) return null;
32431
32577
  const adjustedValue = (0, import_moment3.default)(value).add(7, "hours");
32432
32578
  const isFuture = adjustedValue.isAfter((0, import_moment3.default)());
32433
- return /* @__PURE__ */ jsxs64("div", { className: isForm ? "mb-4" : "", children: [
32579
+ return /* @__PURE__ */ jsxs66("div", { className: isForm ? "mb-4" : "", children: [
32434
32580
  /* @__PURE__ */ jsx100(M, { id: `remainingDays_${value}`, place: "top", content: string }),
32435
32581
  /* @__PURE__ */ jsx100(
32436
32582
  "div",
@@ -32450,7 +32596,7 @@ var RemainingDaysField = (props) => {
32450
32596
  };
32451
32597
 
32452
32598
  // src/widgets/basic/select-dropdown-field/select-dropdown.tsx
32453
- import { Fragment as Fragment29, jsx as jsx101, jsxs as jsxs65 } from "react/jsx-runtime";
32599
+ import { Fragment as Fragment29, jsx as jsx101, jsxs as jsxs67 } from "react/jsx-runtime";
32454
32600
  var SelectDropdownField = (props) => {
32455
32601
  const { t: t3 } = useI18n();
32456
32602
  const {
@@ -32501,7 +32647,7 @@ var SelectDropdownField = (props) => {
32501
32647
  value: defaultValue || null,
32502
32648
  required: !invisible && required
32503
32649
  };
32504
- return /* @__PURE__ */ jsxs65(Fragment29, { children: [
32650
+ return /* @__PURE__ */ jsxs67(Fragment29, { children: [
32505
32651
  /* @__PURE__ */ jsx101("div", { className: "group", children: /* @__PURE__ */ jsx101(
32506
32652
  StateManagedSelect$1,
32507
32653
  {
@@ -32613,7 +32759,7 @@ var TextAreaField = (props) => {
32613
32759
  };
32614
32760
 
32615
32761
  // src/widgets/basic/toggle-button-field/toggle-button.tsx
32616
- import { jsx as jsx103, jsxs as jsxs66 } from "react/jsx-runtime";
32762
+ import { jsx as jsx103, jsxs as jsxs68 } from "react/jsx-runtime";
32617
32763
  var ToggleButtonField = (props) => {
32618
32764
  const {
32619
32765
  name: name2,
@@ -32628,7 +32774,7 @@ var ToggleButtonField = (props) => {
32628
32774
  {
32629
32775
  name: name2 ?? "",
32630
32776
  control: methods?.control,
32631
- 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: [
32777
+ 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: [
32632
32778
  /* @__PURE__ */ jsx103(
32633
32779
  "input",
32634
32780
  {
@@ -32682,7 +32828,7 @@ var ToggleButtonField = (props) => {
32682
32828
 
32683
32829
  // src/widgets/basic/integer-field/integer.tsx
32684
32830
  import { useEffect as useEffect25, useRef as useRef18, useState as useState21 } from "react";
32685
- import { Fragment as Fragment30, jsx as jsx104, jsxs as jsxs67 } from "react/jsx-runtime";
32831
+ import { Fragment as Fragment30, jsx as jsx104, jsxs as jsxs69 } from "react/jsx-runtime";
32686
32832
  var IntegerField = (props) => {
32687
32833
  const {
32688
32834
  name: name2,
@@ -32781,7 +32927,7 @@ var IntegerField = (props) => {
32781
32927
  inputRef.current?.blur();
32782
32928
  clearErrors(name2);
32783
32929
  };
32784
- return /* @__PURE__ */ jsxs67(Fragment30, { children: [
32930
+ return /* @__PURE__ */ jsxs69(Fragment30, { children: [
32785
32931
  /* @__PURE__ */ jsx104(
32786
32932
  "input",
32787
32933
  {
@@ -32825,7 +32971,7 @@ var IntegerField = (props) => {
32825
32971
  };
32826
32972
 
32827
32973
  // src/widgets/basic/status-dropdown-field/status-dropdown.tsx
32828
- import { jsx as jsx105, jsxs as jsxs68 } from "react/jsx-runtime";
32974
+ import { jsx as jsx105, jsxs as jsxs70 } from "react/jsx-runtime";
32829
32975
  var StatusDropdownField = (props) => {
32830
32976
  const {
32831
32977
  buttonRef,
@@ -32837,7 +32983,7 @@ var StatusDropdownField = (props) => {
32837
32983
  handleClick,
32838
32984
  colors: colors2
32839
32985
  } = props;
32840
- return /* @__PURE__ */ jsxs68(
32986
+ return /* @__PURE__ */ jsxs70(
32841
32987
  "div",
32842
32988
  {
32843
32989
  ref: buttonRef,
@@ -32853,14 +32999,14 @@ var StatusDropdownField = (props) => {
32853
32999
  ),
32854
33000
  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) => {
32855
33001
  const isActive = item[0] == state;
32856
- return /* @__PURE__ */ jsxs68(
33002
+ return /* @__PURE__ */ jsxs70(
32857
33003
  "div",
32858
33004
  {
32859
33005
  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" : ""}`,
32860
33006
  onClick: () => handleClick(item[0]),
32861
33007
  children: [
32862
33008
  /* @__PURE__ */ jsx105("div", { className: "w-4 h-4", children: isActive && /* @__PURE__ */ jsx105(CheckIcon, {}) }),
32863
- /* @__PURE__ */ jsxs68("div", { className: "flex items-center gap-2", children: [
33009
+ /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-2", children: [
32864
33010
  /* @__PURE__ */ jsx105(
32865
33011
  "div",
32866
33012
  {
@@ -32882,7 +33028,7 @@ var StatusDropdownField = (props) => {
32882
33028
  // src/widgets/basic/many2many-field/many2many.tsx
32883
33029
  import { createPortal as createPortal5 } from "react-dom";
32884
33030
  import { useEffect as useEffect26 } from "react";
32885
- import { jsx as jsx106, jsxs as jsxs69 } from "react/jsx-runtime";
33031
+ import { jsx as jsx106, jsxs as jsxs71 } from "react/jsx-runtime";
32886
33032
  var Many2ManyField = (props) => {
32887
33033
  const { t: t3 } = useI18n();
32888
33034
  const {
@@ -32956,7 +33102,7 @@ var Many2ManyField = (props) => {
32956
33102
  };
32957
33103
  }, [selectedTags]);
32958
33104
  return createPortal5(
32959
- /* @__PURE__ */ jsxs69(
33105
+ /* @__PURE__ */ jsxs71(
32960
33106
  "div",
32961
33107
  {
32962
33108
  style: {
@@ -32965,7 +33111,7 @@ var Many2ManyField = (props) => {
32965
33111
  className: "fixed bottom-0 left-0 right-0 top-0",
32966
33112
  children: [
32967
33113
  /* @__PURE__ */ jsx106("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
32968
- /* @__PURE__ */ jsx106("div", { className: "absolute inset-0 overflow-auto px-6 flex justify-center items-center", children: /* @__PURE__ */ jsxs69(
33114
+ /* @__PURE__ */ jsx106("div", { className: "absolute inset-0 overflow-auto px-6 flex justify-center items-center", children: /* @__PURE__ */ jsxs71(
32969
33115
  "div",
32970
33116
  {
32971
33117
  style: {
@@ -32973,11 +33119,11 @@ var Many2ManyField = (props) => {
32973
33119
  },
32974
33120
  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",
32975
33121
  children: [
32976
- /* @__PURE__ */ jsxs69("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
33122
+ /* @__PURE__ */ jsxs71("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
32977
33123
  /* @__PURE__ */ jsx106("div", { className: "text-[20px] font-semibold", children: title }),
32978
33124
  /* @__PURE__ */ jsx106("button", { className: "cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx106(CloseIcon, {}) })
32979
33125
  ] }),
32980
- /* @__PURE__ */ jsxs69("div", { className: "grid grid-cols-3 gap-2 items-center py-2", children: [
33126
+ /* @__PURE__ */ jsxs71("div", { className: "grid grid-cols-3 gap-2 items-center py-2", children: [
32981
33127
  /* @__PURE__ */ jsx106("div", { className: "col-span-3 sm:col-span-2 flex-1", children: /* @__PURE__ */ jsx106(
32982
33128
  Search,
32983
33129
  {
@@ -33037,7 +33183,7 @@ var Many2ManyField = (props) => {
33037
33183
  "div",
33038
33184
  {
33039
33185
  className: `flex w-full items-center h-full overflow-auto `,
33040
- children: /* @__PURE__ */ jsx106("div", { className: "w-full h-full max-w-full", children: /* @__PURE__ */ jsxs69(
33186
+ children: /* @__PURE__ */ jsx106("div", { className: "w-full h-full max-w-full", children: /* @__PURE__ */ jsxs71(
33041
33187
  "table",
33042
33188
  {
33043
33189
  className: `relative w-full bg-white custom-dropdown `,
@@ -33113,7 +33259,7 @@ var Many2ManyField = (props) => {
33113
33259
  ) }) })
33114
33260
  }
33115
33261
  ) }) }) : /* @__PURE__ */ jsx106(LayerLoading, {}),
33116
- /* @__PURE__ */ jsxs69("div", { className: "flex items-center gap-2 mt-auto", children: [
33262
+ /* @__PURE__ */ jsxs71("div", { className: "flex items-center gap-2 mt-auto", children: [
33117
33263
  isDisplayCheckbox && /* @__PURE__ */ jsx106(
33118
33264
  "button",
33119
33265
  {
@@ -33162,15 +33308,15 @@ var Many2ManyField = (props) => {
33162
33308
 
33163
33309
  // src/widgets/basic/many2one-field/many2one.tsx
33164
33310
  import React18, { useEffect as useEffect27 } from "react";
33165
- import { Fragment as Fragment31, jsx as jsx107, jsxs as jsxs70 } from "react/jsx-runtime";
33311
+ import { Fragment as Fragment31, jsx as jsx107, jsxs as jsxs72 } from "react/jsx-runtime";
33166
33312
  var CustomMenuList2 = (props) => {
33167
33313
  const { t: t3 } = useI18n();
33168
33314
  const { options: options2, children, selectProps } = props;
33169
33315
  const { setIsShowModalMany2Many, searchable } = selectProps;
33170
33316
  const limitedChildren = React18.Children.toArray(children).slice(0, 10);
33171
- return /* @__PURE__ */ jsxs70(components.MenuList, { ...props, className: "z-[99]", children: [
33317
+ return /* @__PURE__ */ jsxs72(components.MenuList, { ...props, className: "z-[99]", children: [
33172
33318
  limitedChildren,
33173
- options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs70(
33319
+ options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs72(
33174
33320
  "button",
33175
33321
  {
33176
33322
  type: "button",
@@ -33213,7 +33359,7 @@ var Many2OneField = (props) => {
33213
33359
  const { t: t3 } = useI18n();
33214
33360
  if (!isForm && !isEditTable) {
33215
33361
  const id = propValue && typeof propValue === "object" && "id" in propValue ? propValue?.id : propValue;
33216
- return /* @__PURE__ */ jsxs70(Fragment31, { children: [
33362
+ return /* @__PURE__ */ jsxs72(Fragment31, { children: [
33217
33363
  allowShowDetail && renderDetail({
33218
33364
  idToolTip: String(name2) + Number(index4),
33219
33365
  model: options2?.model ?? relation,
@@ -33231,7 +33377,7 @@ var Many2OneField = (props) => {
33231
33377
  )
33232
33378
  ] });
33233
33379
  }
33234
- return /* @__PURE__ */ jsxs70(Fragment31, { children: [
33380
+ return /* @__PURE__ */ jsxs72(Fragment31, { children: [
33235
33381
  allowShowDetail && renderDetail({
33236
33382
  idToolTip: String(name2),
33237
33383
  model: options2?.model ?? relation,
@@ -33269,7 +33415,7 @@ var Many2OneField = (props) => {
33269
33415
  methods?.clearErrors(name2);
33270
33416
  }
33271
33417
  }, [selectedOption]);
33272
- return /* @__PURE__ */ jsxs70("div", { className: "h-full", children: [
33418
+ return /* @__PURE__ */ jsxs72("div", { className: "h-full", children: [
33273
33419
  /* @__PURE__ */ jsx107(
33274
33420
  StateManagedSelect$1,
33275
33421
  {
@@ -33374,7 +33520,7 @@ var Many2OneField = (props) => {
33374
33520
  };
33375
33521
 
33376
33522
  // src/widgets/basic/status-bar-field/duration/duration.tsx
33377
- import { jsx as jsx108, jsxs as jsxs71 } from "react/jsx-runtime";
33523
+ import { jsx as jsx108, jsxs as jsxs73 } from "react/jsx-runtime";
33378
33524
  var StatusbarDurationField = (props) => {
33379
33525
  const {
33380
33526
  disabled,
@@ -33388,10 +33534,10 @@ var StatusbarDurationField = (props) => {
33388
33534
  "div",
33389
33535
  {
33390
33536
  className: `w-full items-center rounded-[10px] !flex flex-col-reverse justify-center lg:!justify-end lg:!flex-row gap-y-[15px]`,
33391
- children: /* @__PURE__ */ jsxs71("div", { className: "flex items-center gap-[24px]", children: [
33537
+ children: /* @__PURE__ */ jsxs73("div", { className: "flex items-center gap-[24px]", children: [
33392
33538
  /* @__PURE__ */ jsx108("div", { className: "flex items-center", children: dataResponse && dataResponse?.records?.filter((item) => !item?.fold || item.id == defaultValue)?.map((option, index4) => {
33393
33539
  const value = option?.id === defaultValue;
33394
- return /* @__PURE__ */ jsxs71(
33540
+ return /* @__PURE__ */ jsxs73(
33395
33541
  "label",
33396
33542
  {
33397
33543
  onClick: () => !disabled && handleClick(option.id),
@@ -33426,7 +33572,7 @@ var StatusbarDurationField = (props) => {
33426
33572
  }) }),
33427
33573
  dataResponse?.records?.some(
33428
33574
  (item) => item?.fold && item.id !== defaultValue
33429
- ) && /* @__PURE__ */ jsxs71(
33575
+ ) && /* @__PURE__ */ jsxs73(
33430
33576
  "div",
33431
33577
  {
33432
33578
  onClick: () => setModalStatus(!modelStatus),
@@ -33464,7 +33610,7 @@ var StatusbarDurationField = (props) => {
33464
33610
 
33465
33611
  // src/widgets/basic/status-bar-field/option/option.tsx
33466
33612
  import { useMemo as useMemo11 } from "react";
33467
- import { Fragment as Fragment32, jsx as jsx109, jsxs as jsxs72 } from "react/jsx-runtime";
33613
+ import { Fragment as Fragment32, jsx as jsx109, jsxs as jsxs74 } from "react/jsx-runtime";
33468
33614
  var StatusBarOptionField = (props) => {
33469
33615
  const { selection, defaultValue } = props;
33470
33616
  const memoizedStatusOptions = useMemo11(() => selection, [selection]);
@@ -33480,8 +33626,8 @@ var StatusBarOptionField = (props) => {
33480
33626
  flexWrap: "wrap"
33481
33627
  },
33482
33628
  children: memoizedStatusOptions?.map((option, index4) => {
33483
- return /* @__PURE__ */ jsxs72(Fragment32, { children: [
33484
- /* @__PURE__ */ jsxs72(
33629
+ return /* @__PURE__ */ jsxs74(Fragment32, { children: [
33630
+ /* @__PURE__ */ jsxs74(
33485
33631
  "div",
33486
33632
  {
33487
33633
  style: {
@@ -33600,7 +33746,7 @@ var ICCheck = () => {
33600
33746
  };
33601
33747
 
33602
33748
  // src/widgets/basic/date-option-field/date-option.tsx
33603
- import { jsx as jsx110, jsxs as jsxs73 } from "react/jsx-runtime";
33749
+ import { jsx as jsx110, jsxs as jsxs75 } from "react/jsx-runtime";
33604
33750
  var DateOptionField = (props) => {
33605
33751
  const {
33606
33752
  name: name2,
@@ -33616,7 +33762,7 @@ var DateOptionField = (props) => {
33616
33762
  {
33617
33763
  name: name2 ?? "",
33618
33764
  control: methods?.control,
33619
- render: ({ field }) => /* @__PURE__ */ jsxs73(
33765
+ render: ({ field }) => /* @__PURE__ */ jsxs75(
33620
33766
  "label",
33621
33767
  {
33622
33768
  className: `cursor-pointer mr-2 w-[50px] flex items-center justify-center p-[4px] border rounded-md text-sm