@fctc/sme-widget-ui 1.9.6 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icons.js +29 -389
- package/dist/icons.mjs +72 -432
- package/dist/index.js +29 -389
- package/dist/index.mjs +263 -623
- package/dist/widgets.js +24 -384
- package/dist/widgets.mjs +247 -607
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5527,211 +5527,31 @@ var DownloadIcon = () => {
|
|
|
5527
5527
|
};
|
|
5528
5528
|
|
|
5529
5529
|
// src/icons/excel-icon.tsx
|
|
5530
|
-
import { jsx as jsx14
|
|
5530
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
5531
5531
|
var ExcelIcon = () => {
|
|
5532
|
-
return /* @__PURE__ */
|
|
5532
|
+
return /* @__PURE__ */ jsx14(
|
|
5533
5533
|
"svg",
|
|
5534
5534
|
{
|
|
5535
|
-
width: "40",
|
|
5536
|
-
height: "40",
|
|
5537
|
-
viewBox: "0 0 40 40",
|
|
5538
|
-
fill: "none",
|
|
5539
5535
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
"path",
|
|
5552
|
-
{
|
|
5553
|
-
d: "M30 39.25H10C7.10051 39.25 4.75 36.8995 4.75 34V6C4.75 3.10051 7.10051 0.75 10 0.75H20.5147C21.9071 0.75 23.2425 1.30312 24.227 2.28769L33.7123 11.773C34.6969 12.7575 35.25 14.0929 35.25 15.4853V34C35.25 36.8995 32.8995 39.25 30 39.25Z",
|
|
5554
|
-
stroke: "#E5E5E5",
|
|
5555
|
-
strokeWidth: "1.5"
|
|
5556
|
-
}
|
|
5557
|
-
)
|
|
5558
|
-
] }),
|
|
5559
|
-
/* @__PURE__ */ jsx14(
|
|
5560
|
-
"path",
|
|
5561
|
-
{
|
|
5562
|
-
d: "M23 1V9C23 11.2091 24.7909 13 27 13H35",
|
|
5563
|
-
stroke: "#E5E5E5",
|
|
5564
|
-
strokeWidth: "1.5"
|
|
5565
|
-
}
|
|
5566
|
-
),
|
|
5567
|
-
/* @__PURE__ */ jsxs4("g", { filter: "url(#filter1_i_3263_110998)", children: [
|
|
5568
|
-
/* @__PURE__ */ jsx14("mask", { id: "path-4-inside-1_3263_110998", fill: "white", children: /* @__PURE__ */ jsx14("path", { d: "M0 22C0 19.7909 1.79086 18 4 18H29C31.2091 18 33 19.7909 33 22V30C33 32.2091 31.2091 34 29 34H4C1.79086 34 0 32.2091 0 30V22Z" }) }),
|
|
5569
|
-
/* @__PURE__ */ jsx14(
|
|
5570
|
-
"path",
|
|
5571
|
-
{
|
|
5572
|
-
d: "M0 22C0 19.7909 1.79086 18 4 18H29C31.2091 18 33 19.7909 33 22V30C33 32.2091 31.2091 34 29 34H4C1.79086 34 0 32.2091 0 30V22Z",
|
|
5573
|
-
fill: "#11A52B"
|
|
5574
|
-
}
|
|
5575
|
-
),
|
|
5576
|
-
/* @__PURE__ */ jsx14(
|
|
5577
|
-
"path",
|
|
5578
|
-
{
|
|
5579
|
-
d: "M-1 22C-1 19.2386 1.23858 17 4 17H29C31.7614 17 34 19.2386 34 22H32C32 20.3431 30.6569 19 29 19H4C2.34315 19 1 20.3431 1 22H-1ZM33 34H0H33ZM4 34C1.23858 34 -1 31.7614 -1 29V22C-1 19.2386 1.23858 17 4 17V19C2.34315 19 1 20.3431 1 22V30C1 32.2091 2.34315 34 4 34ZM29 17C31.7614 17 34 19.2386 34 22V29C34 31.7614 31.7614 34 29 34C30.6569 34 32 32.2091 32 30V22C32 20.3431 30.6569 19 29 19V17Z",
|
|
5580
|
-
fill: "black",
|
|
5581
|
-
fillOpacity: "0.08",
|
|
5582
|
-
mask: "url(#path-4-inside-1_3263_110998)"
|
|
5583
|
-
}
|
|
5584
|
-
),
|
|
5585
|
-
/* @__PURE__ */ jsx14(
|
|
5586
|
-
"path",
|
|
5587
|
-
{
|
|
5588
|
-
d: "M4.81818 22.7273L6.41974 25.3906H6.47656L8.08523 22.7273H9.58736L7.34659 26.3636L9.62287 30H8.09588L6.47656 27.3544H6.41974L4.80043 30H3.28054L5.57812 26.3636L3.30895 22.7273H4.81818ZM10.8216 30V22.7273H12.1391V28.8956H15.3422V30H10.8216ZM20.6381 24.7266C20.605 24.4164 20.4653 24.175 20.2191 24.0021C19.9752 23.8293 19.658 23.7429 19.2674 23.7429C18.9927 23.7429 18.7572 23.7843 18.5607 23.8672C18.3642 23.95 18.2139 24.0625 18.1097 24.2045C18.0055 24.3466 17.9523 24.5088 17.9499 24.6911C17.9499 24.8426 17.9842 24.974 18.0529 25.0852C18.1239 25.1965 18.2198 25.2912 18.3405 25.3693C18.4613 25.4451 18.595 25.509 18.7418 25.5611C18.8886 25.6132 19.0365 25.657 19.1857 25.6925L19.8675 25.8629C20.1421 25.9268 20.4061 26.0133 20.6594 26.1222C20.9151 26.2311 21.1435 26.3684 21.3448 26.5341C21.5484 26.6998 21.7094 26.8999 21.8277 27.1342C21.9461 27.3686 22.0053 27.6432 22.0053 27.9581C22.0053 28.3842 21.8964 28.7595 21.6786 29.0838C21.4608 29.4058 21.1459 29.6579 20.734 29.8402C20.3244 30.0201 19.8284 30.1101 19.2461 30.1101C18.6802 30.1101 18.189 30.0225 17.7723 29.8473C17.358 29.6721 17.0337 29.4164 16.7993 29.0803C16.5673 28.7441 16.4418 28.3345 16.4229 27.8516H17.7191C17.738 28.1049 17.8161 28.3156 17.9534 28.4837C18.0908 28.6518 18.2695 28.7772 18.4897 28.8601C18.7122 28.9429 18.9608 28.9844 19.2354 28.9844C19.5219 28.9844 19.7728 28.9418 19.9882 28.8565C20.206 28.7689 20.3765 28.6482 20.4996 28.4943C20.6227 28.3381 20.6855 28.1558 20.6878 27.9474C20.6855 27.758 20.6298 27.6018 20.5209 27.4787C20.412 27.3532 20.2593 27.2491 20.0628 27.1662C19.8687 27.081 19.6414 27.0052 19.381 26.9389L18.5536 26.7259C17.9546 26.572 17.4811 26.3388 17.1331 26.0263C16.7875 25.7114 16.6147 25.2936 16.6147 24.7727C16.6147 24.3442 16.7307 23.969 16.9627 23.647C17.1971 23.325 17.5155 23.0753 17.9179 22.8977C18.3204 22.7178 18.7761 22.6278 19.2851 22.6278C19.8012 22.6278 20.2534 22.7178 20.6417 22.8977C21.0323 23.0753 21.3389 23.3227 21.5614 23.6399C21.7839 23.9548 21.8988 24.317 21.9059 24.7266H20.6381ZM24.4807 22.7273L26.0822 25.3906H26.1391L27.7477 22.7273H29.2499L27.0091 26.3636L29.2854 30H27.7584L26.1391 27.3544H26.0822L24.4629 30H22.943L25.2406 26.3636L22.9714 22.7273H24.4807Z",
|
|
5589
|
-
fill: "white"
|
|
5590
|
-
}
|
|
5591
|
-
)
|
|
5592
|
-
] })
|
|
5593
|
-
] }),
|
|
5594
|
-
/* @__PURE__ */ jsxs4("defs", { children: [
|
|
5595
|
-
/* @__PURE__ */ jsxs4(
|
|
5596
|
-
"filter",
|
|
5597
|
-
{
|
|
5598
|
-
id: "filter0_di_3263_110998",
|
|
5599
|
-
x: "2",
|
|
5600
|
-
y: "-4",
|
|
5601
|
-
width: "36",
|
|
5602
|
-
height: "47",
|
|
5603
|
-
filterUnits: "userSpaceOnUse",
|
|
5604
|
-
colorInterpolationFilters: "sRGB",
|
|
5605
|
-
children: [
|
|
5606
|
-
/* @__PURE__ */ jsx14("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
5607
|
-
/* @__PURE__ */ jsx14(
|
|
5608
|
-
"feColorMatrix",
|
|
5609
|
-
{
|
|
5610
|
-
in: "SourceAlpha",
|
|
5611
|
-
type: "matrix",
|
|
5612
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
5613
|
-
result: "hardAlpha"
|
|
5614
|
-
}
|
|
5615
|
-
),
|
|
5616
|
-
/* @__PURE__ */ jsx14("feOffset", { dy: "1" }),
|
|
5617
|
-
/* @__PURE__ */ jsx14("feGaussianBlur", { stdDeviation: "1" }),
|
|
5618
|
-
/* @__PURE__ */ jsx14("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
5619
|
-
/* @__PURE__ */ jsx14(
|
|
5620
|
-
"feColorMatrix",
|
|
5621
|
-
{
|
|
5622
|
-
type: "matrix",
|
|
5623
|
-
values: "0 0 0 0 0.894118 0 0 0 0 0.898039 0 0 0 0 0.905882 0 0 0 0.24 0"
|
|
5624
|
-
}
|
|
5625
|
-
),
|
|
5626
|
-
/* @__PURE__ */ jsx14(
|
|
5627
|
-
"feBlend",
|
|
5628
|
-
{
|
|
5629
|
-
mode: "normal",
|
|
5630
|
-
in2: "BackgroundImageFix",
|
|
5631
|
-
result: "effect1_dropShadow_3263_110998"
|
|
5632
|
-
}
|
|
5633
|
-
),
|
|
5634
|
-
/* @__PURE__ */ jsx14(
|
|
5635
|
-
"feBlend",
|
|
5636
|
-
{
|
|
5637
|
-
mode: "normal",
|
|
5638
|
-
in: "SourceGraphic",
|
|
5639
|
-
in2: "effect1_dropShadow_3263_110998",
|
|
5640
|
-
result: "shape"
|
|
5641
|
-
}
|
|
5642
|
-
),
|
|
5643
|
-
/* @__PURE__ */ jsx14(
|
|
5644
|
-
"feColorMatrix",
|
|
5645
|
-
{
|
|
5646
|
-
in: "SourceAlpha",
|
|
5647
|
-
type: "matrix",
|
|
5648
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
5649
|
-
result: "hardAlpha"
|
|
5650
|
-
}
|
|
5651
|
-
),
|
|
5652
|
-
/* @__PURE__ */ jsx14("feOffset", { dy: "-4" }),
|
|
5653
|
-
/* @__PURE__ */ jsx14("feGaussianBlur", { stdDeviation: "2" }),
|
|
5654
|
-
/* @__PURE__ */ jsx14("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
|
|
5655
|
-
/* @__PURE__ */ jsx14(
|
|
5656
|
-
"feColorMatrix",
|
|
5657
|
-
{
|
|
5658
|
-
type: "matrix",
|
|
5659
|
-
values: "0 0 0 0 0.813571 0 0 0 0 0.82 0 0 0 0 0.826429 0 0 0 0.32 0"
|
|
5660
|
-
}
|
|
5661
|
-
),
|
|
5662
|
-
/* @__PURE__ */ jsx14(
|
|
5663
|
-
"feBlend",
|
|
5664
|
-
{
|
|
5665
|
-
mode: "normal",
|
|
5666
|
-
in2: "shape",
|
|
5667
|
-
result: "effect2_innerShadow_3263_110998"
|
|
5668
|
-
}
|
|
5669
|
-
)
|
|
5670
|
-
]
|
|
5671
|
-
}
|
|
5672
|
-
),
|
|
5673
|
-
/* @__PURE__ */ jsxs4(
|
|
5674
|
-
"filter",
|
|
5675
|
-
{
|
|
5676
|
-
id: "filter1_i_3263_110998",
|
|
5677
|
-
x: "0",
|
|
5678
|
-
y: "18",
|
|
5679
|
-
width: "33",
|
|
5680
|
-
height: "20",
|
|
5681
|
-
filterUnits: "userSpaceOnUse",
|
|
5682
|
-
colorInterpolationFilters: "sRGB",
|
|
5683
|
-
children: [
|
|
5684
|
-
/* @__PURE__ */ jsx14("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
5685
|
-
/* @__PURE__ */ jsx14(
|
|
5686
|
-
"feBlend",
|
|
5687
|
-
{
|
|
5688
|
-
mode: "normal",
|
|
5689
|
-
in: "SourceGraphic",
|
|
5690
|
-
in2: "BackgroundImageFix",
|
|
5691
|
-
result: "shape"
|
|
5692
|
-
}
|
|
5693
|
-
),
|
|
5694
|
-
/* @__PURE__ */ jsx14(
|
|
5695
|
-
"feColorMatrix",
|
|
5696
|
-
{
|
|
5697
|
-
in: "SourceAlpha",
|
|
5698
|
-
type: "matrix",
|
|
5699
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
5700
|
-
result: "hardAlpha"
|
|
5701
|
-
}
|
|
5702
|
-
),
|
|
5703
|
-
/* @__PURE__ */ jsx14("feOffset", { dy: "4" }),
|
|
5704
|
-
/* @__PURE__ */ jsx14("feGaussianBlur", { stdDeviation: "2" }),
|
|
5705
|
-
/* @__PURE__ */ jsx14("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
|
|
5706
|
-
/* @__PURE__ */ jsx14(
|
|
5707
|
-
"feColorMatrix",
|
|
5708
|
-
{
|
|
5709
|
-
type: "matrix",
|
|
5710
|
-
values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0"
|
|
5711
|
-
}
|
|
5712
|
-
),
|
|
5713
|
-
/* @__PURE__ */ jsx14(
|
|
5714
|
-
"feBlend",
|
|
5715
|
-
{
|
|
5716
|
-
mode: "normal",
|
|
5717
|
-
in2: "shape",
|
|
5718
|
-
result: "effect1_innerShadow_3263_110998"
|
|
5719
|
-
}
|
|
5720
|
-
)
|
|
5721
|
-
]
|
|
5722
|
-
}
|
|
5723
|
-
),
|
|
5724
|
-
/* @__PURE__ */ jsx14("clipPath", { id: "clip0_3263_110998", children: /* @__PURE__ */ jsx14("rect", { width: "40", height: "40", fill: "white" }) })
|
|
5725
|
-
] })
|
|
5726
|
-
]
|
|
5536
|
+
width: "19",
|
|
5537
|
+
height: "10",
|
|
5538
|
+
viewBox: "0 0 19 10",
|
|
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
|
+
)
|
|
5727
5547
|
}
|
|
5728
5548
|
);
|
|
5729
5549
|
};
|
|
5730
5550
|
|
|
5731
5551
|
// src/icons/export-icon.tsx
|
|
5732
|
-
import { jsx as jsx15, jsxs as
|
|
5552
|
+
import { jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
5733
5553
|
var ExportIcon = () => {
|
|
5734
|
-
return /* @__PURE__ */
|
|
5554
|
+
return /* @__PURE__ */ jsxs4(
|
|
5735
5555
|
"svg",
|
|
5736
5556
|
{
|
|
5737
5557
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5767,8 +5587,8 @@ var ExportIcon = () => {
|
|
|
5767
5587
|
};
|
|
5768
5588
|
|
|
5769
5589
|
// src/icons/eye-icon.tsx
|
|
5770
|
-
import { jsx as jsx16, jsxs as
|
|
5771
|
-
var EyeIcon = () => /* @__PURE__ */
|
|
5590
|
+
import { jsx as jsx16, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
5591
|
+
var EyeIcon = () => /* @__PURE__ */ jsxs5(
|
|
5772
5592
|
"svg",
|
|
5773
5593
|
{
|
|
5774
5594
|
width: "20",
|
|
@@ -5819,9 +5639,9 @@ var FilterIcon = ({ className }) => {
|
|
|
5819
5639
|
};
|
|
5820
5640
|
|
|
5821
5641
|
// src/icons/groupby-icon.tsx
|
|
5822
|
-
import { jsx as jsx18, jsxs as
|
|
5642
|
+
import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5823
5643
|
var GroupByIcon = ({ className }) => {
|
|
5824
|
-
return /* @__PURE__ */
|
|
5644
|
+
return /* @__PURE__ */ jsxs6(
|
|
5825
5645
|
"svg",
|
|
5826
5646
|
{
|
|
5827
5647
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5844,9 +5664,9 @@ var GroupByIcon = ({ className }) => {
|
|
|
5844
5664
|
};
|
|
5845
5665
|
|
|
5846
5666
|
// src/icons/kanban-icon.tsx
|
|
5847
|
-
import { jsx as jsx19, jsxs as
|
|
5667
|
+
import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5848
5668
|
var KanbanIcon = () => {
|
|
5849
|
-
return /* @__PURE__ */
|
|
5669
|
+
return /* @__PURE__ */ jsxs7(
|
|
5850
5670
|
"svg",
|
|
5851
5671
|
{
|
|
5852
5672
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5875,9 +5695,9 @@ var KanbanIcon = () => {
|
|
|
5875
5695
|
};
|
|
5876
5696
|
|
|
5877
5697
|
// src/icons/list-icon.tsx
|
|
5878
|
-
import { jsx as jsx20, jsxs as
|
|
5698
|
+
import { jsx as jsx20, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5879
5699
|
var ListIcon = () => {
|
|
5880
|
-
return /* @__PURE__ */
|
|
5700
|
+
return /* @__PURE__ */ jsxs8(
|
|
5881
5701
|
"svg",
|
|
5882
5702
|
{
|
|
5883
5703
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5920,9 +5740,9 @@ var ListIcon = () => {
|
|
|
5920
5740
|
};
|
|
5921
5741
|
|
|
5922
5742
|
// src/icons/more-icon.tsx
|
|
5923
|
-
import { jsx as jsx21, jsxs as
|
|
5743
|
+
import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5924
5744
|
var MoreIcon = () => {
|
|
5925
|
-
return /* @__PURE__ */
|
|
5745
|
+
return /* @__PURE__ */ jsxs9(
|
|
5926
5746
|
"svg",
|
|
5927
5747
|
{
|
|
5928
5748
|
width: "24px",
|
|
@@ -5967,203 +5787,23 @@ var MoreIcon = () => {
|
|
|
5967
5787
|
};
|
|
5968
5788
|
|
|
5969
5789
|
// src/icons/pdf-icon.tsx
|
|
5970
|
-
import { jsx as jsx22
|
|
5790
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
5971
5791
|
var PdfIcon = () => {
|
|
5972
|
-
return /* @__PURE__ */
|
|
5792
|
+
return /* @__PURE__ */ jsx22(
|
|
5973
5793
|
"svg",
|
|
5974
5794
|
{
|
|
5975
|
-
width: "40",
|
|
5976
|
-
height: "40",
|
|
5977
|
-
viewBox: "0 0 40 40",
|
|
5978
|
-
fill: "none",
|
|
5979
5795
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
"path",
|
|
5992
|
-
{
|
|
5993
|
-
d: "M30 39.25H10C7.10051 39.25 4.75 36.8995 4.75 34V6C4.75 3.10051 7.10051 0.75 10 0.75H20.5147C21.9071 0.75 23.2425 1.30312 24.227 2.28769L33.7123 11.773C34.6969 12.7575 35.25 14.0929 35.25 15.4853V34C35.25 36.8995 32.8995 39.25 30 39.25Z",
|
|
5994
|
-
stroke: "#CDD0D5",
|
|
5995
|
-
strokeWidth: "1.5"
|
|
5996
|
-
}
|
|
5997
|
-
)
|
|
5998
|
-
] }),
|
|
5999
|
-
/* @__PURE__ */ jsx22(
|
|
6000
|
-
"path",
|
|
6001
|
-
{
|
|
6002
|
-
d: "M23 1V9C23 11.2091 24.7909 13 27 13H35",
|
|
6003
|
-
stroke: "#CDD0D5",
|
|
6004
|
-
strokeWidth: "1.5"
|
|
6005
|
-
}
|
|
6006
|
-
),
|
|
6007
|
-
/* @__PURE__ */ jsxs11("g", { filter: "url(#filter1_i_2648_1158)", children: [
|
|
6008
|
-
/* @__PURE__ */ jsx22("mask", { id: "path-4-inside-1_2648_1158", fill: "white", children: /* @__PURE__ */ jsx22("path", { d: "M0 22C0 19.7909 1.79086 18 4 18H24C26.2091 18 28 19.7909 28 22V30C28 32.2091 26.2091 34 24 34H4C1.79086 34 0 32.2091 0 30V22Z" }) }),
|
|
6009
|
-
/* @__PURE__ */ jsx22(
|
|
6010
|
-
"path",
|
|
6011
|
-
{
|
|
6012
|
-
d: "M0 22C0 19.7909 1.79086 18 4 18H24C26.2091 18 28 19.7909 28 22V30C28 32.2091 26.2091 34 24 34H4C1.79086 34 0 32.2091 0 30V22Z",
|
|
6013
|
-
fill: "#DF1C41"
|
|
6014
|
-
}
|
|
6015
|
-
),
|
|
6016
|
-
/* @__PURE__ */ jsx22(
|
|
6017
|
-
"path",
|
|
6018
|
-
{
|
|
6019
|
-
d: "M-1 22C-1 19.2386 1.23858 17 4 17H24C26.7614 17 29 19.2386 29 22H27C27 20.3431 25.6569 19 24 19H4C2.34315 19 1 20.3431 1 22H-1ZM28 34H0H28ZM4 34C1.23858 34 -1 31.7614 -1 29V22C-1 19.2386 1.23858 17 4 17V19C2.34315 19 1 20.3431 1 22V30C1 32.2091 2.34315 34 4 34ZM24 17C26.7614 17 29 19.2386 29 22V29C29 31.7614 26.7614 34 24 34C25.6569 34 27 32.2091 27 30V22C27 20.3431 25.6569 19 24 19V17Z",
|
|
6020
|
-
fill: "black",
|
|
6021
|
-
fillOpacity: "0.08",
|
|
6022
|
-
mask: "url(#path-4-inside-1_2648_1158)"
|
|
6023
|
-
}
|
|
6024
|
-
),
|
|
6025
|
-
/* @__PURE__ */ jsx22(
|
|
6026
|
-
"path",
|
|
6027
|
-
{
|
|
6028
|
-
d: "M3.78906 30V22H6.78906C7.40365 22 7.91927 22.1146 8.33594 22.3437C8.75521 22.5729 9.07161 22.888 9.28516 23.2891C9.5013 23.6875 9.60938 24.1406 9.60938 24.6484C9.60938 25.1615 9.5013 25.6172 9.28516 26.0156C9.06901 26.4141 8.75 26.7279 8.32812 26.957C7.90625 27.1836 7.38672 27.2969 6.76953 27.2969H4.78125V26.1055H6.57422C6.93359 26.1055 7.22786 26.043 7.45703 25.918C7.6862 25.793 7.85547 25.6211 7.96484 25.4023C8.07682 25.1836 8.13281 24.9323 8.13281 24.6484C8.13281 24.3646 8.07682 24.1146 7.96484 23.8984C7.85547 23.6823 7.6849 23.5143 7.45313 23.3945C7.22396 23.2721 6.92839 23.2109 6.56641 23.2109H5.23828V30H3.78906ZM13.7991 30H11.0882V22H13.8538C14.6481 22 15.3304 22.1602 15.9007 22.4805C16.4736 22.7982 16.9137 23.2552 17.221 23.8516C17.5283 24.4479 17.6819 25.1615 17.6819 25.9922C17.6819 26.8255 17.527 27.5417 17.2171 28.1406C16.9098 28.7396 16.4658 29.1992 15.885 29.5195C15.3069 29.8398 14.6116 30 13.7991 30ZM12.5374 28.7461H13.7288C14.2861 28.7461 14.7509 28.6445 15.1233 28.4414C15.4957 28.2357 15.7757 27.9297 15.9632 27.5234C16.1507 27.1146 16.2444 26.6042 16.2444 25.9922C16.2444 25.3802 16.1507 24.8724 15.9632 24.4687C15.7757 24.0625 15.4983 23.7591 15.1311 23.5586C14.7665 23.3555 14.3134 23.2539 13.7718 23.2539H12.5374V28.7461ZM19.2789 30V22H24.4039V23.2148H20.7281V25.3867H24.0523V26.6016H20.7281V30H19.2789Z",
|
|
6029
|
-
fill: "white"
|
|
6030
|
-
}
|
|
6031
|
-
)
|
|
6032
|
-
] })
|
|
6033
|
-
] }),
|
|
6034
|
-
/* @__PURE__ */ jsxs11("defs", { children: [
|
|
6035
|
-
/* @__PURE__ */ jsxs11(
|
|
6036
|
-
"filter",
|
|
6037
|
-
{
|
|
6038
|
-
id: "filter0_di_2648_1158",
|
|
6039
|
-
x: "2",
|
|
6040
|
-
y: "-4",
|
|
6041
|
-
width: "36",
|
|
6042
|
-
height: "47",
|
|
6043
|
-
filterUnits: "userSpaceOnUse",
|
|
6044
|
-
colorInterpolationFilters: "sRGB",
|
|
6045
|
-
children: [
|
|
6046
|
-
/* @__PURE__ */ jsx22("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
6047
|
-
/* @__PURE__ */ jsx22(
|
|
6048
|
-
"feColorMatrix",
|
|
6049
|
-
{
|
|
6050
|
-
in: "SourceAlpha",
|
|
6051
|
-
type: "matrix",
|
|
6052
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
6053
|
-
result: "hardAlpha"
|
|
6054
|
-
}
|
|
6055
|
-
),
|
|
6056
|
-
/* @__PURE__ */ jsx22("feOffset", { dy: "1" }),
|
|
6057
|
-
/* @__PURE__ */ jsx22("feGaussianBlur", { stdDeviation: "1" }),
|
|
6058
|
-
/* @__PURE__ */ jsx22("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
6059
|
-
/* @__PURE__ */ jsx22(
|
|
6060
|
-
"feColorMatrix",
|
|
6061
|
-
{
|
|
6062
|
-
type: "matrix",
|
|
6063
|
-
values: "0 0 0 0 0.894118 0 0 0 0 0.898039 0 0 0 0 0.905882 0 0 0 0.24 0"
|
|
6064
|
-
}
|
|
6065
|
-
),
|
|
6066
|
-
/* @__PURE__ */ jsx22(
|
|
6067
|
-
"feBlend",
|
|
6068
|
-
{
|
|
6069
|
-
mode: "normal",
|
|
6070
|
-
in2: "BackgroundImageFix",
|
|
6071
|
-
result: "effect1_dropShadow_2648_1158"
|
|
6072
|
-
}
|
|
6073
|
-
),
|
|
6074
|
-
/* @__PURE__ */ jsx22(
|
|
6075
|
-
"feBlend",
|
|
6076
|
-
{
|
|
6077
|
-
mode: "normal",
|
|
6078
|
-
in: "SourceGraphic",
|
|
6079
|
-
in2: "effect1_dropShadow_2648_1158",
|
|
6080
|
-
result: "shape"
|
|
6081
|
-
}
|
|
6082
|
-
),
|
|
6083
|
-
/* @__PURE__ */ jsx22(
|
|
6084
|
-
"feColorMatrix",
|
|
6085
|
-
{
|
|
6086
|
-
in: "SourceAlpha",
|
|
6087
|
-
type: "matrix",
|
|
6088
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
6089
|
-
result: "hardAlpha"
|
|
6090
|
-
}
|
|
6091
|
-
),
|
|
6092
|
-
/* @__PURE__ */ jsx22("feOffset", { dy: "-4" }),
|
|
6093
|
-
/* @__PURE__ */ jsx22("feGaussianBlur", { stdDeviation: "2" }),
|
|
6094
|
-
/* @__PURE__ */ jsx22("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
|
|
6095
|
-
/* @__PURE__ */ jsx22(
|
|
6096
|
-
"feColorMatrix",
|
|
6097
|
-
{
|
|
6098
|
-
type: "matrix",
|
|
6099
|
-
values: "0 0 0 0 0.813571 0 0 0 0 0.82 0 0 0 0 0.826429 0 0 0 0.32 0"
|
|
6100
|
-
}
|
|
6101
|
-
),
|
|
6102
|
-
/* @__PURE__ */ jsx22(
|
|
6103
|
-
"feBlend",
|
|
6104
|
-
{
|
|
6105
|
-
mode: "normal",
|
|
6106
|
-
in2: "shape",
|
|
6107
|
-
result: "effect2_innerShadow_2648_1158"
|
|
6108
|
-
}
|
|
6109
|
-
)
|
|
6110
|
-
]
|
|
6111
|
-
}
|
|
6112
|
-
),
|
|
6113
|
-
/* @__PURE__ */ jsxs11(
|
|
6114
|
-
"filter",
|
|
6115
|
-
{
|
|
6116
|
-
id: "filter1_i_2648_1158",
|
|
6117
|
-
x: "0",
|
|
6118
|
-
y: "18",
|
|
6119
|
-
width: "28",
|
|
6120
|
-
height: "20",
|
|
6121
|
-
filterUnits: "userSpaceOnUse",
|
|
6122
|
-
colorInterpolationFilters: "sRGB",
|
|
6123
|
-
children: [
|
|
6124
|
-
/* @__PURE__ */ jsx22("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
6125
|
-
/* @__PURE__ */ jsx22(
|
|
6126
|
-
"feBlend",
|
|
6127
|
-
{
|
|
6128
|
-
mode: "normal",
|
|
6129
|
-
in: "SourceGraphic",
|
|
6130
|
-
in2: "BackgroundImageFix",
|
|
6131
|
-
result: "shape"
|
|
6132
|
-
}
|
|
6133
|
-
),
|
|
6134
|
-
/* @__PURE__ */ jsx22(
|
|
6135
|
-
"feColorMatrix",
|
|
6136
|
-
{
|
|
6137
|
-
in: "SourceAlpha",
|
|
6138
|
-
type: "matrix",
|
|
6139
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
6140
|
-
result: "hardAlpha"
|
|
6141
|
-
}
|
|
6142
|
-
),
|
|
6143
|
-
/* @__PURE__ */ jsx22("feOffset", { dy: "4" }),
|
|
6144
|
-
/* @__PURE__ */ jsx22("feGaussianBlur", { stdDeviation: "2" }),
|
|
6145
|
-
/* @__PURE__ */ jsx22("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
|
|
6146
|
-
/* @__PURE__ */ jsx22(
|
|
6147
|
-
"feColorMatrix",
|
|
6148
|
-
{
|
|
6149
|
-
type: "matrix",
|
|
6150
|
-
values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0"
|
|
6151
|
-
}
|
|
6152
|
-
),
|
|
6153
|
-
/* @__PURE__ */ jsx22(
|
|
6154
|
-
"feBlend",
|
|
6155
|
-
{
|
|
6156
|
-
mode: "normal",
|
|
6157
|
-
in2: "shape",
|
|
6158
|
-
result: "effect1_innerShadow_2648_1158"
|
|
6159
|
-
}
|
|
6160
|
-
)
|
|
6161
|
-
]
|
|
6162
|
-
}
|
|
6163
|
-
),
|
|
6164
|
-
/* @__PURE__ */ jsx22("clipPath", { id: "clip0_2648_1158", children: /* @__PURE__ */ jsx22("rect", { width: "40", height: "40", fill: "white" }) })
|
|
6165
|
-
] })
|
|
6166
|
-
]
|
|
5796
|
+
width: "19",
|
|
5797
|
+
height: "10",
|
|
5798
|
+
viewBox: "0 0 19 10",
|
|
5799
|
+
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
|
+
)
|
|
6167
5807
|
}
|
|
6168
5808
|
);
|
|
6169
5809
|
};
|
|
@@ -6191,9 +5831,9 @@ var PlayIcon = () => {
|
|
|
6191
5831
|
};
|
|
6192
5832
|
|
|
6193
5833
|
// src/icons/reset-icon.tsx
|
|
6194
|
-
import { jsx as jsx24, jsxs as
|
|
5834
|
+
import { jsx as jsx24, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
6195
5835
|
var ResetIcon = () => {
|
|
6196
|
-
return /* @__PURE__ */
|
|
5836
|
+
return /* @__PURE__ */ jsxs10(
|
|
6197
5837
|
"svg",
|
|
6198
5838
|
{
|
|
6199
5839
|
width: "16",
|
|
@@ -6251,9 +5891,9 @@ var SearchIcon = () => {
|
|
|
6251
5891
|
};
|
|
6252
5892
|
|
|
6253
5893
|
// src/icons/setting-icon.tsx
|
|
6254
|
-
import { jsx as jsx26, jsxs as
|
|
5894
|
+
import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
6255
5895
|
var SettingIcon = ({ className = "" }) => {
|
|
6256
|
-
return /* @__PURE__ */
|
|
5896
|
+
return /* @__PURE__ */ jsxs11(
|
|
6257
5897
|
"svg",
|
|
6258
5898
|
{
|
|
6259
5899
|
width: "16",
|
|
@@ -6345,9 +5985,9 @@ var UnArchiveIcon = () => {
|
|
|
6345
5985
|
};
|
|
6346
5986
|
|
|
6347
5987
|
// src/icons/vector-icon.tsx
|
|
6348
|
-
import { jsx as jsx30, jsxs as
|
|
5988
|
+
import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
6349
5989
|
var VectorIcon = () => {
|
|
6350
|
-
return /* @__PURE__ */
|
|
5990
|
+
return /* @__PURE__ */ jsxs12(
|
|
6351
5991
|
"svg",
|
|
6352
5992
|
{
|
|
6353
5993
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6376,9 +6016,9 @@ var VectorIcon = () => {
|
|
|
6376
6016
|
};
|
|
6377
6017
|
|
|
6378
6018
|
// src/icons/zip-icon.tsx
|
|
6379
|
-
import { jsx as jsx31, jsxs as
|
|
6019
|
+
import { jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
6380
6020
|
var ZipIcon = () => {
|
|
6381
|
-
return /* @__PURE__ */
|
|
6021
|
+
return /* @__PURE__ */ jsxs13(
|
|
6382
6022
|
"svg",
|
|
6383
6023
|
{
|
|
6384
6024
|
width: "40",
|
|
@@ -6387,8 +6027,8 @@ var ZipIcon = () => {
|
|
|
6387
6027
|
fill: "none",
|
|
6388
6028
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6389
6029
|
children: [
|
|
6390
|
-
/* @__PURE__ */
|
|
6391
|
-
/* @__PURE__ */
|
|
6030
|
+
/* @__PURE__ */ jsxs13("g", { clipPath: "url(#clip0_3042_66427)", children: [
|
|
6031
|
+
/* @__PURE__ */ jsxs13("g", { filter: "url(#filter0_di_3042_66427)", children: [
|
|
6392
6032
|
/* @__PURE__ */ jsx31(
|
|
6393
6033
|
"path",
|
|
6394
6034
|
{
|
|
@@ -6413,7 +6053,7 @@ var ZipIcon = () => {
|
|
|
6413
6053
|
strokeWidth: "1.5"
|
|
6414
6054
|
}
|
|
6415
6055
|
),
|
|
6416
|
-
/* @__PURE__ */
|
|
6056
|
+
/* @__PURE__ */ jsxs13("g", { filter: "url(#filter1_i_3042_66427)", children: [
|
|
6417
6057
|
/* @__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" }) }),
|
|
6418
6058
|
/* @__PURE__ */ jsx31(
|
|
6419
6059
|
"path",
|
|
@@ -6440,8 +6080,8 @@ var ZipIcon = () => {
|
|
|
6440
6080
|
)
|
|
6441
6081
|
] })
|
|
6442
6082
|
] }),
|
|
6443
|
-
/* @__PURE__ */
|
|
6444
|
-
/* @__PURE__ */
|
|
6083
|
+
/* @__PURE__ */ jsxs13("defs", { children: [
|
|
6084
|
+
/* @__PURE__ */ jsxs13(
|
|
6445
6085
|
"filter",
|
|
6446
6086
|
{
|
|
6447
6087
|
id: "filter0_di_3042_66427",
|
|
@@ -6519,7 +6159,7 @@ var ZipIcon = () => {
|
|
|
6519
6159
|
]
|
|
6520
6160
|
}
|
|
6521
6161
|
),
|
|
6522
|
-
/* @__PURE__ */
|
|
6162
|
+
/* @__PURE__ */ jsxs13(
|
|
6523
6163
|
"filter",
|
|
6524
6164
|
{
|
|
6525
6165
|
id: "filter1_i_3042_66427",
|
|
@@ -6578,7 +6218,7 @@ var ZipIcon = () => {
|
|
|
6578
6218
|
};
|
|
6579
6219
|
|
|
6580
6220
|
// src/icons/loading-icon.tsx
|
|
6581
|
-
import { jsx as jsx32, jsxs as
|
|
6221
|
+
import { jsx as jsx32, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
6582
6222
|
var LoadingIcon = ({
|
|
6583
6223
|
width = 15,
|
|
6584
6224
|
height = 15,
|
|
@@ -6599,7 +6239,7 @@ var LoadingIcon = ({
|
|
|
6599
6239
|
background: "transparent"
|
|
6600
6240
|
},
|
|
6601
6241
|
...props,
|
|
6602
|
-
children: /* @__PURE__ */
|
|
6242
|
+
children: /* @__PURE__ */ jsxs14("g", { children: [
|
|
6603
6243
|
/* @__PURE__ */ jsx32(
|
|
6604
6244
|
"circle",
|
|
6605
6245
|
{
|
|
@@ -6630,8 +6270,8 @@ var LoadingIcon = ({
|
|
|
6630
6270
|
};
|
|
6631
6271
|
|
|
6632
6272
|
// src/icons/paid-icon.tsx
|
|
6633
|
-
import { jsx as jsx33, jsxs as
|
|
6634
|
-
var PaidIcon = () => /* @__PURE__ */
|
|
6273
|
+
import { jsx as jsx33, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
6274
|
+
var PaidIcon = () => /* @__PURE__ */ jsxs15(
|
|
6635
6275
|
"svg",
|
|
6636
6276
|
{
|
|
6637
6277
|
width: "208",
|
|
@@ -6640,7 +6280,7 @@ var PaidIcon = () => /* @__PURE__ */ jsxs17(
|
|
|
6640
6280
|
fill: "none",
|
|
6641
6281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6642
6282
|
children: [
|
|
6643
|
-
/* @__PURE__ */
|
|
6283
|
+
/* @__PURE__ */ jsxs15("g", { opacity: "0.5", filter: "url(#filter0_d_615_26793)", children: [
|
|
6644
6284
|
/* @__PURE__ */ jsx33(
|
|
6645
6285
|
"path",
|
|
6646
6286
|
{
|
|
@@ -6716,8 +6356,8 @@ var PaidIcon = () => /* @__PURE__ */ jsxs17(
|
|
|
6716
6356
|
}
|
|
6717
6357
|
)
|
|
6718
6358
|
] }),
|
|
6719
|
-
/* @__PURE__ */
|
|
6720
|
-
/* @__PURE__ */
|
|
6359
|
+
/* @__PURE__ */ jsxs15("defs", { children: [
|
|
6360
|
+
/* @__PURE__ */ jsxs15(
|
|
6721
6361
|
"filter",
|
|
6722
6362
|
{
|
|
6723
6363
|
id: "filter0_d_615_26793",
|
|
@@ -6814,13 +6454,13 @@ var PlaceHolderIcon = () => {
|
|
|
6814
6454
|
};
|
|
6815
6455
|
|
|
6816
6456
|
// src/icons/google-icon.tsx
|
|
6817
|
-
import { jsx as jsx35, jsxs as
|
|
6457
|
+
import { jsx as jsx35, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
6818
6458
|
var GoogleIcon = ({
|
|
6819
6459
|
width = 20,
|
|
6820
6460
|
height = 20,
|
|
6821
6461
|
...props
|
|
6822
6462
|
}) => {
|
|
6823
|
-
return /* @__PURE__ */
|
|
6463
|
+
return /* @__PURE__ */ jsxs16(
|
|
6824
6464
|
"svg",
|
|
6825
6465
|
{
|
|
6826
6466
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6865,9 +6505,9 @@ var GoogleIcon = ({
|
|
|
6865
6505
|
};
|
|
6866
6506
|
|
|
6867
6507
|
// src/icons/eye-closed-icon.tsx
|
|
6868
|
-
import { jsx as jsx36, jsxs as
|
|
6508
|
+
import { jsx as jsx36, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
6869
6509
|
var EyeClosedIcon = () => {
|
|
6870
|
-
return /* @__PURE__ */
|
|
6510
|
+
return /* @__PURE__ */ jsxs17(
|
|
6871
6511
|
"svg",
|
|
6872
6512
|
{
|
|
6873
6513
|
width: "20",
|
|
@@ -6932,9 +6572,9 @@ var DeleteIconDanger = () => {
|
|
|
6932
6572
|
};
|
|
6933
6573
|
|
|
6934
6574
|
// src/icons/image-icon.tsx
|
|
6935
|
-
import { jsx as jsx38, jsxs as
|
|
6575
|
+
import { jsx as jsx38, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
6936
6576
|
var ImageIcon = () => {
|
|
6937
|
-
return /* @__PURE__ */
|
|
6577
|
+
return /* @__PURE__ */ jsxs18(
|
|
6938
6578
|
"svg",
|
|
6939
6579
|
{
|
|
6940
6580
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6977,35 +6617,35 @@ var ImageIcon = () => {
|
|
|
6977
6617
|
};
|
|
6978
6618
|
|
|
6979
6619
|
// src/icons/video-icon.tsx
|
|
6980
|
-
import { jsx as jsx39, jsxs as
|
|
6620
|
+
import { jsx as jsx39, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
6981
6621
|
var VideoIcon = () => {
|
|
6982
|
-
return /* @__PURE__ */
|
|
6622
|
+
return /* @__PURE__ */ jsxs19(
|
|
6983
6623
|
"svg",
|
|
6984
6624
|
{
|
|
6985
6625
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6986
6626
|
width: "22",
|
|
6987
|
-
height: "
|
|
6988
|
-
viewBox: "0 0 22
|
|
6627
|
+
height: "20",
|
|
6628
|
+
viewBox: "0 0 22 20",
|
|
6989
6629
|
fill: "none",
|
|
6990
6630
|
children: [
|
|
6991
6631
|
/* @__PURE__ */ jsx39(
|
|
6992
6632
|
"path",
|
|
6993
6633
|
{
|
|
6994
|
-
d: "M22.0001
|
|
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",
|
|
6995
6635
|
fill: "#435E88"
|
|
6996
6636
|
}
|
|
6997
6637
|
),
|
|
6998
6638
|
/* @__PURE__ */ jsx39(
|
|
6999
6639
|
"path",
|
|
7000
6640
|
{
|
|
7001
|
-
d: "M21.9974
|
|
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",
|
|
7002
6642
|
fill: "#33527D"
|
|
7003
6643
|
}
|
|
7004
6644
|
),
|
|
7005
6645
|
/* @__PURE__ */ jsx39(
|
|
7006
6646
|
"path",
|
|
7007
6647
|
{
|
|
7008
|
-
d: "M3.96875 14.
|
|
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",
|
|
7009
6649
|
fill: "white"
|
|
7010
6650
|
}
|
|
7011
6651
|
)
|
|
@@ -10664,7 +10304,7 @@ import { jsx as jsx41 } from "react/jsx-runtime";
|
|
|
10664
10304
|
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" }) });
|
|
10665
10305
|
|
|
10666
10306
|
// src/widgets/advanced/pagination/pagination-view.tsx
|
|
10667
|
-
import { jsx as jsx42, jsxs as
|
|
10307
|
+
import { jsx as jsx42, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
10668
10308
|
var PaginationView = (props) => {
|
|
10669
10309
|
const {
|
|
10670
10310
|
displayPageNumberDots,
|
|
@@ -10697,8 +10337,8 @@ var PaginationView = (props) => {
|
|
|
10697
10337
|
let lastPage = paginationRange[paginationRange.length - 1];
|
|
10698
10338
|
const startPage = currentPage * pageSize + 1;
|
|
10699
10339
|
const endPage = Math.min((currentPage + 1) * pageSize, totalCount);
|
|
10700
|
-
return /* @__PURE__ */
|
|
10701
|
-
!displayPageNumberDots && /* @__PURE__ */
|
|
10340
|
+
return /* @__PURE__ */ jsxs20("ul", { className: `pagination-container rounded-lg ${className}`, children: [
|
|
10341
|
+
!displayPageNumberDots && /* @__PURE__ */ jsxs20("li", { className: "pagination-item px-0", children: [
|
|
10702
10342
|
startPage,
|
|
10703
10343
|
" - ",
|
|
10704
10344
|
endPage,
|
|
@@ -10749,7 +10389,7 @@ var PaginationView = (props) => {
|
|
|
10749
10389
|
import { useState as useState3 } from "react";
|
|
10750
10390
|
|
|
10751
10391
|
// src/widgets/advanced/table/table-group.tsx
|
|
10752
|
-
import { Fragment as Fragment2, jsx as jsx43, jsxs as
|
|
10392
|
+
import { Fragment as Fragment2, jsx as jsx43, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
10753
10393
|
var TableGroup = (props) => {
|
|
10754
10394
|
const { t: t3 } = useI18n();
|
|
10755
10395
|
const {
|
|
@@ -10799,8 +10439,8 @@ var TableGroup = (props) => {
|
|
|
10799
10439
|
setSelectedRowKeys
|
|
10800
10440
|
});
|
|
10801
10441
|
const leftPadding = level > 1 ? level * 8 + "px" : "0px";
|
|
10802
|
-
return /* @__PURE__ */
|
|
10803
|
-
/* @__PURE__ */
|
|
10442
|
+
return /* @__PURE__ */ jsxs21(Fragment2, { children: [
|
|
10443
|
+
/* @__PURE__ */ jsxs21(
|
|
10804
10444
|
"tr",
|
|
10805
10445
|
{
|
|
10806
10446
|
draggable: true,
|
|
@@ -10813,13 +10453,13 @@ var TableGroup = (props) => {
|
|
|
10813
10453
|
colSpan: colEmptyGroup.fromStart ?? 1,
|
|
10814
10454
|
style: { display: "table-cell" },
|
|
10815
10455
|
className: "relative w-max whitespace-nowrap border-b border-gray-200 p-3 text-sm font-normal text-gray-900 h-[53px]",
|
|
10816
|
-
children: /* @__PURE__ */
|
|
10456
|
+
children: /* @__PURE__ */ jsxs21(
|
|
10817
10457
|
"div",
|
|
10818
10458
|
{
|
|
10819
10459
|
style: { paddingLeft: leftPadding },
|
|
10820
10460
|
className: `flex items-center justify-between gap-2 font-medium ml-2 z-21`,
|
|
10821
10461
|
children: [
|
|
10822
|
-
/* @__PURE__ */
|
|
10462
|
+
/* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-2", children: [
|
|
10823
10463
|
/* @__PURE__ */ jsx43(
|
|
10824
10464
|
TriangleIcon,
|
|
10825
10465
|
{
|
|
@@ -10906,7 +10546,7 @@ var TableGroup = (props) => {
|
|
|
10906
10546
|
|
|
10907
10547
|
// src/widgets/advanced/table/table-row.tsx
|
|
10908
10548
|
import { useEffect as useEffect5, useMemo as useMemo3, useRef as useRef4 } from "react";
|
|
10909
|
-
import { Fragment as Fragment3, jsx as jsx44, jsxs as
|
|
10549
|
+
import { Fragment as Fragment3, jsx as jsx44, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
10910
10550
|
var Row = (props) => {
|
|
10911
10551
|
const {
|
|
10912
10552
|
row,
|
|
@@ -10977,7 +10617,7 @@ var Row = (props) => {
|
|
|
10977
10617
|
{
|
|
10978
10618
|
"data-row-id": row?.id,
|
|
10979
10619
|
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
10980
|
-
children: /* @__PURE__ */
|
|
10620
|
+
children: /* @__PURE__ */ jsxs22(Fragment3, { children: [
|
|
10981
10621
|
isDisplayCheckbox && /* @__PURE__ */ jsx44(
|
|
10982
10622
|
"td",
|
|
10983
10623
|
{
|
|
@@ -11130,7 +10770,7 @@ var TableBody = (props) => {
|
|
|
11130
10770
|
// src/widgets/advanced/table/table-filter.tsx
|
|
11131
10771
|
import { useEffect as useEffect6, useRef as useRef5, useState as useState4 } from "react";
|
|
11132
10772
|
import { createPortal } from "react-dom";
|
|
11133
|
-
import { jsx as jsx46, jsxs as
|
|
10773
|
+
import { jsx as jsx46, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
11134
10774
|
var TableFilter = ({ columns, onToggleColumnOptional }) => {
|
|
11135
10775
|
const [openTableFilter, setOpenTableFilter] = useState4();
|
|
11136
10776
|
const [filterPosition, setFilterPosition] = useState4(null);
|
|
@@ -11162,7 +10802,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
|
|
|
11162
10802
|
window.removeEventListener("resize", updatePosition);
|
|
11163
10803
|
};
|
|
11164
10804
|
}, [filterRef, openTableFilter]);
|
|
11165
|
-
return /* @__PURE__ */
|
|
10805
|
+
return /* @__PURE__ */ jsxs23(
|
|
11166
10806
|
"div",
|
|
11167
10807
|
{
|
|
11168
10808
|
ref: filterRef,
|
|
@@ -11179,7 +10819,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
|
|
|
11179
10819
|
onClick: () => {
|
|
11180
10820
|
setOpenTableFilter(!openTableFilter);
|
|
11181
10821
|
},
|
|
11182
|
-
children: /* @__PURE__ */
|
|
10822
|
+
children: /* @__PURE__ */ jsxs23(
|
|
11183
10823
|
"svg",
|
|
11184
10824
|
{
|
|
11185
10825
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -11247,7 +10887,7 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
|
|
|
11247
10887
|
},
|
|
11248
10888
|
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",
|
|
11249
10889
|
children: columns?.filter((val) => val?.optional !== void 0)?.map((item) => {
|
|
11250
|
-
return /* @__PURE__ */
|
|
10890
|
+
return /* @__PURE__ */ jsxs23("div", { className: "flex items-center gap-2", children: [
|
|
11251
10891
|
/* @__PURE__ */ jsx46(
|
|
11252
10892
|
"input",
|
|
11253
10893
|
{
|
|
@@ -11278,14 +10918,14 @@ var TableFilter = ({ columns, onToggleColumnOptional }) => {
|
|
|
11278
10918
|
};
|
|
11279
10919
|
|
|
11280
10920
|
// src/widgets/advanced/table/table-footer.tsx
|
|
11281
|
-
import { jsx as jsx47, jsxs as
|
|
10921
|
+
import { jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
11282
10922
|
var TableFooter = ({ onAddRow, rows }) => {
|
|
11283
10923
|
const emptyData = rows?.length <= 0;
|
|
11284
10924
|
return /* @__PURE__ */ jsx47("tfoot", { children: /* @__PURE__ */ jsx47("tr", { className: `relative ${emptyData ? " h-20" : "h-14"}`, children: /* @__PURE__ */ jsx47(
|
|
11285
10925
|
"td",
|
|
11286
10926
|
{
|
|
11287
10927
|
className: `absolute left-0 p-0 right-0 flex items-center ${emptyData ? "justify-center" : "justify-start"}`,
|
|
11288
|
-
children: /* @__PURE__ */
|
|
10928
|
+
children: /* @__PURE__ */ jsxs24(
|
|
11289
10929
|
"button",
|
|
11290
10930
|
{
|
|
11291
10931
|
type: "button",
|
|
@@ -11295,7 +10935,7 @@ var TableFooter = ({ onAddRow, rows }) => {
|
|
|
11295
10935
|
},
|
|
11296
10936
|
className: `button-primary m-2 flex ${!emptyData ? "!bg-white border border-primary " : ""}`,
|
|
11297
10937
|
children: [
|
|
11298
|
-
/* @__PURE__ */
|
|
10938
|
+
/* @__PURE__ */ jsxs24(
|
|
11299
10939
|
"svg",
|
|
11300
10940
|
{
|
|
11301
10941
|
style: {
|
|
@@ -13135,7 +12775,7 @@ var M = e2.forwardRef(({ id: t3, anchorId: l2, anchorSelect: n4, content: i3, ht
|
|
|
13135
12775
|
});
|
|
13136
12776
|
|
|
13137
12777
|
// src/widgets/advanced/table/table-head.tsx
|
|
13138
|
-
import { Fragment as Fragment4, jsx as jsx48, jsxs as
|
|
12778
|
+
import { Fragment as Fragment4, jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
13139
12779
|
var TableHead = (props) => {
|
|
13140
12780
|
const {
|
|
13141
12781
|
handleCheckBoxAll,
|
|
@@ -13145,7 +12785,7 @@ var TableHead = (props) => {
|
|
|
13145
12785
|
onRemoveRow,
|
|
13146
12786
|
onToggleColumnOptional
|
|
13147
12787
|
} = props;
|
|
13148
|
-
return /* @__PURE__ */ jsx48("thead", { className: "relative z-10", children: /* @__PURE__ */
|
|
12788
|
+
return /* @__PURE__ */ jsx48("thead", { className: "relative z-10", children: /* @__PURE__ */ jsxs25(
|
|
13149
12789
|
"tr",
|
|
13150
12790
|
{
|
|
13151
12791
|
style: {
|
|
@@ -13177,9 +12817,9 @@ var TableHead = (props) => {
|
|
|
13177
12817
|
"th",
|
|
13178
12818
|
{
|
|
13179
12819
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
13180
|
-
children: /* @__PURE__ */
|
|
12820
|
+
children: /* @__PURE__ */ jsxs25("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
|
|
13181
12821
|
col.title,
|
|
13182
|
-
col?.field?.help && /* @__PURE__ */
|
|
12822
|
+
col?.field?.help && /* @__PURE__ */ jsxs25(Fragment4, { children: [
|
|
13183
12823
|
/* @__PURE__ */ jsx48(
|
|
13184
12824
|
M,
|
|
13185
12825
|
{
|
|
@@ -13241,9 +12881,9 @@ var TableHead = (props) => {
|
|
|
13241
12881
|
};
|
|
13242
12882
|
|
|
13243
12883
|
// src/icons/empty-table-icon.tsx
|
|
13244
|
-
import { jsx as jsx49, jsxs as
|
|
12884
|
+
import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
13245
12885
|
var IcEmptyTable = () => {
|
|
13246
|
-
return /* @__PURE__ */
|
|
12886
|
+
return /* @__PURE__ */ jsxs26(
|
|
13247
12887
|
"svg",
|
|
13248
12888
|
{
|
|
13249
12889
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13252,7 +12892,7 @@ var IcEmptyTable = () => {
|
|
|
13252
12892
|
viewBox: "0 0 216 140",
|
|
13253
12893
|
fill: "none",
|
|
13254
12894
|
children: [
|
|
13255
|
-
/* @__PURE__ */
|
|
12895
|
+
/* @__PURE__ */ jsxs26("g", { clipPath: "url(#clip0_2454_28950)", children: [
|
|
13256
12896
|
/* @__PURE__ */ jsx49("path", { d: "M215.5 0H0.5V140H215.5V0Z", fill: "white" }),
|
|
13257
12897
|
/* @__PURE__ */ jsx49(
|
|
13258
12898
|
"path",
|
|
@@ -13572,12 +13212,12 @@ var IcEmptyTable = () => {
|
|
|
13572
13212
|
};
|
|
13573
13213
|
|
|
13574
13214
|
// src/widgets/advanced/table/empty-table.tsx
|
|
13575
|
-
import { jsx as jsx50, jsxs as
|
|
13215
|
+
import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
13576
13216
|
var EmptyTable = () => {
|
|
13577
13217
|
const { t: t3 } = useI18n();
|
|
13578
|
-
return /* @__PURE__ */
|
|
13218
|
+
return /* @__PURE__ */ jsxs27("div", { className: `flex flex-col items-center justify-center gap-6 `, children: [
|
|
13579
13219
|
/* @__PURE__ */ jsx50(IcEmptyTable, {}),
|
|
13580
|
-
/* @__PURE__ */
|
|
13220
|
+
/* @__PURE__ */ jsxs27("div", { children: [
|
|
13581
13221
|
/* @__PURE__ */ jsx50("p", {}),
|
|
13582
13222
|
/* @__PURE__ */ jsx50("p", { className: "text-xl font-extrabold", children: t3("empty_data") })
|
|
13583
13223
|
] })
|
|
@@ -15420,7 +15060,7 @@ Button.displayName = "Button";
|
|
|
15420
15060
|
|
|
15421
15061
|
// src/widgets/advanced/login/shared/text-input.tsx
|
|
15422
15062
|
import { useState as useState5 } from "react";
|
|
15423
|
-
import { jsx as jsx52, jsxs as
|
|
15063
|
+
import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
15424
15064
|
function TextInput(props) {
|
|
15425
15065
|
const {
|
|
15426
15066
|
className,
|
|
@@ -15434,12 +15074,12 @@ function TextInput(props) {
|
|
|
15434
15074
|
required
|
|
15435
15075
|
} = props;
|
|
15436
15076
|
const [showPassword, setShowPassword] = useState5(false);
|
|
15437
|
-
return /* @__PURE__ */
|
|
15438
|
-
label && /* @__PURE__ */
|
|
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: [
|
|
15439
15079
|
label,
|
|
15440
15080
|
required ? /* @__PURE__ */ jsx52("span", { className: "text-[#ff4d4f]", children: "*" }) : ""
|
|
15441
15081
|
] }),
|
|
15442
|
-
/* @__PURE__ */
|
|
15082
|
+
/* @__PURE__ */ jsxs28(
|
|
15443
15083
|
"div",
|
|
15444
15084
|
{
|
|
15445
15085
|
className: `flex h-14 w-full items-center border border-[#E0E0E0] px-4 py-3 ${inputWrapperClassName}`,
|
|
@@ -15476,7 +15116,7 @@ function TextInput(props) {
|
|
|
15476
15116
|
|
|
15477
15117
|
// src/widgets/advanced/login/provider/credential/form-options/index.tsx
|
|
15478
15118
|
import { useEffect as useEffect7 } from "react";
|
|
15479
|
-
import { jsx as jsx53, jsxs as
|
|
15119
|
+
import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
15480
15120
|
var STAY_LOGIN_IN = "stayLoginIn";
|
|
15481
15121
|
function FormOptions({
|
|
15482
15122
|
forgotPasswordUrl,
|
|
@@ -15502,8 +15142,8 @@ function FormOptions({
|
|
|
15502
15142
|
useEffect7(() => {
|
|
15503
15143
|
localStorage.setItem(STAY_LOGIN_IN, "false");
|
|
15504
15144
|
}, []);
|
|
15505
|
-
return /* @__PURE__ */
|
|
15506
|
-
/* @__PURE__ */
|
|
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: [
|
|
15507
15147
|
/* @__PURE__ */ jsx53(
|
|
15508
15148
|
"input",
|
|
15509
15149
|
{
|
|
@@ -15520,7 +15160,7 @@ function FormOptions({
|
|
|
15520
15160
|
}
|
|
15521
15161
|
|
|
15522
15162
|
// src/widgets/advanced/login/provider/credential/index.tsx
|
|
15523
|
-
import { Fragment as Fragment5, jsx as jsx54, jsxs as
|
|
15163
|
+
import { Fragment as Fragment5, jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
15524
15164
|
var CredentialLogin = (props) => {
|
|
15525
15165
|
const {
|
|
15526
15166
|
shouldRenderDivider,
|
|
@@ -15540,15 +15180,15 @@ var CredentialLogin = (props) => {
|
|
|
15540
15180
|
mode: "onChange",
|
|
15541
15181
|
resolver: s3(loginSchema)
|
|
15542
15182
|
});
|
|
15543
|
-
return /* @__PURE__ */
|
|
15544
|
-
/* @__PURE__ */
|
|
15183
|
+
return /* @__PURE__ */ jsxs30(Fragment5, { children: [
|
|
15184
|
+
/* @__PURE__ */ jsxs30(
|
|
15545
15185
|
"form",
|
|
15546
15186
|
{
|
|
15547
15187
|
onSubmit: handleSubmit(onSubmit ?? (() => {
|
|
15548
15188
|
})),
|
|
15549
15189
|
className: `flex w-full h-fit flex-col gap-10`,
|
|
15550
15190
|
children: [
|
|
15551
|
-
/* @__PURE__ */
|
|
15191
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex flex-col gap-6", children: [
|
|
15552
15192
|
/* @__PURE__ */ jsx54(
|
|
15553
15193
|
TextInput,
|
|
15554
15194
|
{
|
|
@@ -15597,7 +15237,7 @@ var CredentialLogin = (props) => {
|
|
|
15597
15237
|
]
|
|
15598
15238
|
}
|
|
15599
15239
|
),
|
|
15600
|
-
shouldRenderDivider && /* @__PURE__ */
|
|
15240
|
+
shouldRenderDivider && /* @__PURE__ */ jsxs30("div", { className: "flex justify-center relative", children: [
|
|
15601
15241
|
/* @__PURE__ */ jsx54("div", { className: "absolute inset-x-0 top-[calc(50%-0.5px)] h-[0.8px] bg-gray-300" }),
|
|
15602
15242
|
/* @__PURE__ */ jsx54("span", { className: "relative font-medium text-sm inline-block bg-white px-2.5 text-[#6e6e6e]", children: "ho\u1EB7c" })
|
|
15603
15243
|
] })
|
|
@@ -15605,10 +15245,10 @@ var CredentialLogin = (props) => {
|
|
|
15605
15245
|
};
|
|
15606
15246
|
|
|
15607
15247
|
// src/widgets/advanced/login/provider/google/google-btn/index.tsx
|
|
15608
|
-
import { jsx as jsx55, jsxs as
|
|
15248
|
+
import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
15609
15249
|
function GoogleButton(props) {
|
|
15610
15250
|
const { onLoginGoogle, db } = props;
|
|
15611
|
-
return /* @__PURE__ */
|
|
15251
|
+
return /* @__PURE__ */ jsxs31(
|
|
15612
15252
|
"button",
|
|
15613
15253
|
{
|
|
15614
15254
|
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",
|
|
@@ -15630,22 +15270,22 @@ function SocialRedirect(props) {
|
|
|
15630
15270
|
}
|
|
15631
15271
|
|
|
15632
15272
|
// src/widgets/advanced/login/provider/google/index.tsx
|
|
15633
|
-
import { Fragment as Fragment7, jsx as jsx57, jsxs as
|
|
15273
|
+
import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
15634
15274
|
var GoogleLogin = ({ db, onLoginSocial, onLoginGoogle }) => {
|
|
15635
|
-
return /* @__PURE__ */
|
|
15275
|
+
return /* @__PURE__ */ jsxs32(Fragment7, { children: [
|
|
15636
15276
|
/* @__PURE__ */ jsx57(GoogleButton, { db, onLoginGoogle }),
|
|
15637
15277
|
/* @__PURE__ */ jsx57(SocialRedirect, { db, onLoginSocial })
|
|
15638
15278
|
] });
|
|
15639
15279
|
};
|
|
15640
15280
|
|
|
15641
15281
|
// src/widgets/advanced/login/index.tsx
|
|
15642
|
-
import { jsx as jsx58, jsxs as
|
|
15282
|
+
import { jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
15643
15283
|
var LoginProviderMapping = {
|
|
15644
15284
|
google: GoogleLogin
|
|
15645
15285
|
};
|
|
15646
15286
|
var Login = (props) => {
|
|
15647
15287
|
const { providers = [], forgotPasswordUrl = "/", db, onLoginSocial, onLoginGoogle } = props;
|
|
15648
|
-
return /* @__PURE__ */
|
|
15288
|
+
return /* @__PURE__ */ jsxs33("div", { className: "w-full space-y-8", children: [
|
|
15649
15289
|
/* @__PURE__ */ jsx58(
|
|
15650
15290
|
CredentialLogin,
|
|
15651
15291
|
{
|
|
@@ -15670,7 +15310,7 @@ var Login = (props) => {
|
|
|
15670
15310
|
};
|
|
15671
15311
|
|
|
15672
15312
|
// src/widgets/advanced/search/popup-filter/index.tsx
|
|
15673
|
-
import { jsx as jsx59, jsxs as
|
|
15313
|
+
import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
15674
15314
|
var PopupFilter = ({
|
|
15675
15315
|
handleAddTagSearch,
|
|
15676
15316
|
removeSearchItems,
|
|
@@ -15691,13 +15331,13 @@ var PopupFilter = ({
|
|
|
15691
15331
|
zIndex: 33
|
|
15692
15332
|
},
|
|
15693
15333
|
className: "popup-filter w-full overflow-x-auto rounded-lg border border-[var(--stroke-default)] bg-white shadow-xl",
|
|
15694
|
-
children: /* @__PURE__ */
|
|
15334
|
+
children: /* @__PURE__ */ jsxs34(
|
|
15695
15335
|
"div",
|
|
15696
15336
|
{
|
|
15697
15337
|
className: `flex py-3 ${(filterBy?.length === 0 || groupBy?.length === 0) && "!grid-cols-1"}`,
|
|
15698
15338
|
children: [
|
|
15699
|
-
filterBy?.length > 0 && /* @__PURE__ */
|
|
15700
|
-
/* @__PURE__ */
|
|
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: [
|
|
15701
15341
|
/* @__PURE__ */ jsx59(FilterIcon, { className: "filter-by-icon text-primary" }),
|
|
15702
15342
|
/* @__PURE__ */ jsx59("span", { className: "font-bold text-sm text-[#212529]", children: t3("filter_by") })
|
|
15703
15343
|
] }),
|
|
@@ -15709,7 +15349,7 @@ var PopupFilter = ({
|
|
|
15709
15349
|
acc.push(/* @__PURE__ */ jsx59("hr", { className: "my-2" }, "separator-" + index4));
|
|
15710
15350
|
}
|
|
15711
15351
|
acc.push(
|
|
15712
|
-
/* @__PURE__ */
|
|
15352
|
+
/* @__PURE__ */ jsxs34(
|
|
15713
15353
|
"button",
|
|
15714
15354
|
{
|
|
15715
15355
|
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)]"}`,
|
|
@@ -15745,15 +15385,15 @@ var PopupFilter = ({
|
|
|
15745
15385
|
}, [])
|
|
15746
15386
|
] }),
|
|
15747
15387
|
filterBy?.length > 0 && groupBy?.length > 0 && /* @__PURE__ */ jsx59("div", { className: "h-['initial'] w-[1px] bg-[#dee2e6]" }),
|
|
15748
|
-
groupBy?.length > 0 && /* @__PURE__ */
|
|
15749
|
-
/* @__PURE__ */
|
|
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: [
|
|
15750
15390
|
/* @__PURE__ */ jsx59(GroupByIcon, { className: "group-by-icon text-primary" }),
|
|
15751
15391
|
/* @__PURE__ */ jsx59("span", { className: "font-bold text-sm text-[#212529]", children: t3("group_by") })
|
|
15752
15392
|
] }),
|
|
15753
15393
|
groupBy?.map((item, index4) => {
|
|
15754
15394
|
const isExist = item?.active;
|
|
15755
15395
|
if (!item.string) return;
|
|
15756
|
-
return /* @__PURE__ */
|
|
15396
|
+
return /* @__PURE__ */ jsxs34(
|
|
15757
15397
|
"button",
|
|
15758
15398
|
{
|
|
15759
15399
|
onClick: () => {
|
|
@@ -15797,7 +15437,7 @@ import { useEffect as useEffect8, useState as useState6 } from "react";
|
|
|
15797
15437
|
|
|
15798
15438
|
// src/widgets/advanced/search/tag-search/index.tsx
|
|
15799
15439
|
import { Fragment as Fragment8 } from "react";
|
|
15800
|
-
import { Fragment as Fragment9, jsx as jsx60, jsxs as
|
|
15440
|
+
import { Fragment as Fragment9, jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
15801
15441
|
var TagSearch = ({
|
|
15802
15442
|
removeSearchItems,
|
|
15803
15443
|
selectedTags,
|
|
@@ -15808,16 +15448,16 @@ var TagSearch = ({
|
|
|
15808
15448
|
return selectedTags?.length > 0 && selectedTags?.map((tag, index4) => {
|
|
15809
15449
|
if (tag?.values?.length > 0) {
|
|
15810
15450
|
if (tag?.type !== "group_by") {
|
|
15811
|
-
return /* @__PURE__ */
|
|
15451
|
+
return /* @__PURE__ */ jsxs35(
|
|
15812
15452
|
"div",
|
|
15813
15453
|
{
|
|
15814
15454
|
className: "flex min-h-full overflow-hidden rounded bg-[#E9ECEF] hover:shadow-xl",
|
|
15815
15455
|
children: [
|
|
15816
15456
|
/* @__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, {}) }),
|
|
15817
15457
|
/* @__PURE__ */ jsx60("div", { className: "pl-2 align-middle text-[#495057] text-[14px]", children: tag.values.map((value, idx) => {
|
|
15818
|
-
return /* @__PURE__ */
|
|
15458
|
+
return /* @__PURE__ */ jsxs35(Fragment8, { children: [
|
|
15819
15459
|
/* @__PURE__ */ jsx60("span", { children: value }),
|
|
15820
|
-
idx < tag.values.length - 1 && /* @__PURE__ */
|
|
15460
|
+
idx < tag.values.length - 1 && /* @__PURE__ */ jsxs35("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
|
|
15821
15461
|
" ",
|
|
15822
15462
|
instance.t("or"),
|
|
15823
15463
|
" "
|
|
@@ -15854,15 +15494,15 @@ var TagSearch = ({
|
|
|
15854
15494
|
{
|
|
15855
15495
|
className: "flex min-h-full overflow-hidden",
|
|
15856
15496
|
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(
|
|
15857
|
-
(value, indexValue) => value?.strings?.length > 0 && /* @__PURE__ */
|
|
15497
|
+
(value, indexValue) => value?.strings?.length > 0 && /* @__PURE__ */ jsxs35(
|
|
15858
15498
|
"div",
|
|
15859
15499
|
{
|
|
15860
15500
|
className: "flex gap-2 overflow-hidden rounded bg-[#E9ECEF] hover:shadow-xl",
|
|
15861
15501
|
children: [
|
|
15862
15502
|
/* @__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, {}) }),
|
|
15863
|
-
value?.strings?.map((string, idx) => /* @__PURE__ */
|
|
15503
|
+
value?.strings?.map((string, idx) => /* @__PURE__ */ jsxs35(Fragment9, { children: [
|
|
15864
15504
|
/* @__PURE__ */ jsx60("span", { children: string }),
|
|
15865
|
-
idx < value?.strings.length - 1 && /* @__PURE__ */
|
|
15505
|
+
idx < value?.strings.length - 1 && /* @__PURE__ */ jsxs35("span", { className: "text-sm italic text-[#495057] text-opacity-50", children: [
|
|
15866
15506
|
" ",
|
|
15867
15507
|
"> ",
|
|
15868
15508
|
" "
|
|
@@ -15900,7 +15540,7 @@ var TagSearch = ({
|
|
|
15900
15540
|
};
|
|
15901
15541
|
|
|
15902
15542
|
// src/widgets/advanced/search/search-list/index.tsx
|
|
15903
|
-
import { jsx as jsx61, jsxs as
|
|
15543
|
+
import { jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
15904
15544
|
var SearchList = ({
|
|
15905
15545
|
handleAddTagSearch,
|
|
15906
15546
|
handleMouseEnter,
|
|
@@ -15922,7 +15562,7 @@ var SearchList = ({
|
|
|
15922
15562
|
if (!validateAndParseDate(searchString, searchItem?.type === "datetime"))
|
|
15923
15563
|
return;
|
|
15924
15564
|
}
|
|
15925
|
-
return /* @__PURE__ */
|
|
15565
|
+
return /* @__PURE__ */ jsxs36(
|
|
15926
15566
|
"button",
|
|
15927
15567
|
{
|
|
15928
15568
|
onClick: () => {
|
|
@@ -15969,7 +15609,7 @@ var SearchList = ({
|
|
|
15969
15609
|
};
|
|
15970
15610
|
|
|
15971
15611
|
// src/widgets/advanced/search/search-item/index.tsx
|
|
15972
|
-
import { Fragment as Fragment10, jsx as jsx62, jsxs as
|
|
15612
|
+
import { Fragment as Fragment10, jsx as jsx62, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
15973
15613
|
var Search = ({
|
|
15974
15614
|
removeSearchItems,
|
|
15975
15615
|
selectedTags,
|
|
@@ -16086,14 +15726,14 @@ var Search = ({
|
|
|
16086
15726
|
setDidInit(true);
|
|
16087
15727
|
setIsReadyFormatDomain(true);
|
|
16088
15728
|
}, [aid, filterBy, fieldsList]);
|
|
16089
|
-
return /* @__PURE__ */
|
|
15729
|
+
return /* @__PURE__ */ jsxs37(
|
|
16090
15730
|
"div",
|
|
16091
15731
|
{
|
|
16092
15732
|
ref: popupFilterRef,
|
|
16093
15733
|
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)]`,
|
|
16094
15734
|
children: [
|
|
16095
15735
|
/* @__PURE__ */ jsx62("div", { className: "size-5", children: /* @__PURE__ */ jsx62(SearchIcon, {}) }),
|
|
16096
|
-
/* @__PURE__ */
|
|
15736
|
+
/* @__PURE__ */ jsxs37("div", { className: "flex flex-1 flex-wrap items-center gap-[8px]", children: [
|
|
16097
15737
|
/* @__PURE__ */ jsx62(
|
|
16098
15738
|
TagSearch,
|
|
16099
15739
|
{
|
|
@@ -16126,8 +15766,8 @@ var Search = ({
|
|
|
16126
15766
|
}
|
|
16127
15767
|
)
|
|
16128
15768
|
] }),
|
|
16129
|
-
(showFiltersGroups || filterBy?.length > 0 || groupBy?.length > 0) && /* @__PURE__ */
|
|
16130
|
-
/* @__PURE__ */
|
|
15769
|
+
(showFiltersGroups || filterBy?.length > 0 || groupBy?.length > 0) && /* @__PURE__ */ jsxs37(Fragment10, { children: [
|
|
15770
|
+
/* @__PURE__ */ jsxs37(
|
|
16131
15771
|
"div",
|
|
16132
15772
|
{
|
|
16133
15773
|
className: `flex h-full gap-2 cursor-pointer items-center justify-center max-w-fit`,
|
|
@@ -16181,7 +15821,7 @@ var ActiveBadgeField = (props) => {
|
|
|
16181
15821
|
// src/widgets/common/modal-layer.tsx
|
|
16182
15822
|
import { Fragment as Fragment12 } from "react";
|
|
16183
15823
|
import { Dialog, DialogPanel, Transition } from "@headlessui/react";
|
|
16184
|
-
import { jsx as jsx64, jsxs as
|
|
15824
|
+
import { jsx as jsx64, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
16185
15825
|
var ModalLayer = ({
|
|
16186
15826
|
isOpen,
|
|
16187
15827
|
onClose,
|
|
@@ -16199,10 +15839,10 @@ var ModalLayer = ({
|
|
|
16199
15839
|
leaveFrom: "transform scale-100 opacity-100",
|
|
16200
15840
|
leaveTo: "transform scale-95 opacity-0",
|
|
16201
15841
|
as: Fragment12,
|
|
16202
|
-
children: /* @__PURE__ */ jsx64(Dialog, { onClose, "aria-labelledby": "modal-title", children: /* @__PURE__ */ jsx64(DialogPanel, { children: /* @__PURE__ */
|
|
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: [
|
|
16203
15843
|
/* @__PURE__ */ jsx64("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
|
|
16204
|
-
/* @__PURE__ */ jsx64("div", { className: "flex items-center justify-center mx-4 absolute inset-0 overflow-auto", children: /* @__PURE__ */
|
|
16205
|
-
/* @__PURE__ */
|
|
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(
|
|
16206
15846
|
"div",
|
|
16207
15847
|
{
|
|
16208
15848
|
className: `flex justify-between items-center border-[rgba(0,0,0,0.1)] pb-2`,
|
|
@@ -16228,7 +15868,7 @@ var ModalLayer = ({
|
|
|
16228
15868
|
};
|
|
16229
15869
|
|
|
16230
15870
|
// src/widgets/common/modal-confirm.tsx
|
|
16231
|
-
import { jsx as jsx65, jsxs as
|
|
15871
|
+
import { jsx as jsx65, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
16232
15872
|
var ModalConfirm = ({
|
|
16233
15873
|
name: name2,
|
|
16234
15874
|
isShowModal,
|
|
@@ -16242,7 +15882,7 @@ var ModalConfirm = ({
|
|
|
16242
15882
|
const renderButtonAction = (name3) => {
|
|
16243
15883
|
switch (name3) {
|
|
16244
15884
|
case "duplicate":
|
|
16245
|
-
return /* @__PURE__ */
|
|
15885
|
+
return /* @__PURE__ */ jsxs39(
|
|
16246
15886
|
"button",
|
|
16247
15887
|
{
|
|
16248
15888
|
type: "button",
|
|
@@ -16256,7 +15896,7 @@ var ModalConfirm = ({
|
|
|
16256
15896
|
}
|
|
16257
15897
|
);
|
|
16258
15898
|
case "archive":
|
|
16259
|
-
return /* @__PURE__ */
|
|
15899
|
+
return /* @__PURE__ */ jsxs39(
|
|
16260
15900
|
"button",
|
|
16261
15901
|
{
|
|
16262
15902
|
type: "button",
|
|
@@ -16270,7 +15910,7 @@ var ModalConfirm = ({
|
|
|
16270
15910
|
}
|
|
16271
15911
|
);
|
|
16272
15912
|
case "unarchive":
|
|
16273
|
-
return /* @__PURE__ */
|
|
15913
|
+
return /* @__PURE__ */ jsxs39(
|
|
16274
15914
|
"button",
|
|
16275
15915
|
{
|
|
16276
15916
|
type: "button",
|
|
@@ -16284,7 +15924,7 @@ var ModalConfirm = ({
|
|
|
16284
15924
|
}
|
|
16285
15925
|
);
|
|
16286
15926
|
case "delete":
|
|
16287
|
-
return /* @__PURE__ */
|
|
15927
|
+
return /* @__PURE__ */ jsxs39(
|
|
16288
15928
|
"button",
|
|
16289
15929
|
{
|
|
16290
15930
|
type: "button",
|
|
@@ -16301,12 +15941,12 @@ var ModalConfirm = ({
|
|
|
16301
15941
|
break;
|
|
16302
15942
|
}
|
|
16303
15943
|
};
|
|
16304
|
-
return /* @__PURE__ */ jsx65(ModalLayer, { isOpen: isShowModal, onClose, children: /* @__PURE__ */
|
|
16305
|
-
/* @__PURE__ */
|
|
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: [
|
|
16306
15946
|
/* @__PURE__ */ jsx65("div", { className: "text-[18px] font-bold", children: title }),
|
|
16307
15947
|
/* @__PURE__ */ jsx65("p", { className: "text-[16px]", children: content })
|
|
16308
15948
|
] }),
|
|
16309
|
-
/* @__PURE__ */
|
|
15949
|
+
/* @__PURE__ */ jsxs39("div", { className: "flex justify-center items-center gap-2 w-full", children: [
|
|
16310
15950
|
/* @__PURE__ */ jsx65(
|
|
16311
15951
|
"button",
|
|
16312
15952
|
{
|
|
@@ -16324,7 +15964,7 @@ var ModalConfirm = ({
|
|
|
16324
15964
|
// src/widgets/common/modal-detail.tsx
|
|
16325
15965
|
import { useState as useState7 } from "react";
|
|
16326
15966
|
import { createPortal as createPortal2 } from "react-dom";
|
|
16327
|
-
import { Fragment as Fragment13, jsx as jsx66, jsxs as
|
|
15967
|
+
import { Fragment as Fragment13, jsx as jsx66, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
16328
15968
|
var ModalDetail = ({
|
|
16329
15969
|
idToolTip,
|
|
16330
15970
|
title,
|
|
@@ -16347,11 +15987,11 @@ var ModalDetail = ({
|
|
|
16347
15987
|
window.location.href = `/form/menu?model=${model}&id=${idForm}`;
|
|
16348
15988
|
};
|
|
16349
15989
|
return createPortal2(
|
|
16350
|
-
/* @__PURE__ */ jsx66(Fragment13, { children: showModalDetail && /* @__PURE__ */
|
|
15990
|
+
/* @__PURE__ */ jsx66(Fragment13, { children: showModalDetail && /* @__PURE__ */ jsxs40("div", { className: "fixed bottom-0 left-0 right-0 top-0 z-[100]", children: [
|
|
16351
15991
|
/* @__PURE__ */ jsx66("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
|
|
16352
|
-
/* @__PURE__ */ jsx66("div", { className: "absolute inset-0 overflow-auto flex flex-col justify-center items-center px-5", children: /* @__PURE__ */
|
|
16353
|
-
/* @__PURE__ */
|
|
16354
|
-
/* @__PURE__ */
|
|
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(
|
|
16355
15995
|
"div",
|
|
16356
15996
|
{
|
|
16357
15997
|
id: "modal-detail",
|
|
@@ -16386,7 +16026,7 @@ var ModalDetail = ({
|
|
|
16386
16026
|
|
|
16387
16027
|
// src/widgets/common/loading-normal.tsx
|
|
16388
16028
|
import { useEffect as useEffect9, useState as useState8 } from "react";
|
|
16389
|
-
import { jsx as jsx67, jsxs as
|
|
16029
|
+
import { jsx as jsx67, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
16390
16030
|
var LayerLoading = () => {
|
|
16391
16031
|
const { t: t3 } = useI18n();
|
|
16392
16032
|
const [activeIndex, setActiveIndex] = useState8(0);
|
|
@@ -16396,7 +16036,7 @@ var LayerLoading = () => {
|
|
|
16396
16036
|
}, 200);
|
|
16397
16037
|
return () => clearInterval(interval);
|
|
16398
16038
|
}, []);
|
|
16399
|
-
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__ */
|
|
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: [
|
|
16400
16040
|
/* @__PURE__ */ jsx67("div", { className: "loading-container", children: [...Array(6)].map((_2, index4) => /* @__PURE__ */ jsx67(
|
|
16401
16041
|
"div",
|
|
16402
16042
|
{
|
|
@@ -16614,7 +16254,7 @@ var po = $2(K("zoom"));
|
|
|
16614
16254
|
var uo = $2(K("flip"));
|
|
16615
16255
|
|
|
16616
16256
|
// src/widgets/common/select-files.tsx
|
|
16617
|
-
import { Fragment as Fragment14, jsx as jsx69, jsxs as
|
|
16257
|
+
import { Fragment as Fragment14, jsx as jsx69, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
16618
16258
|
var ButtonSelectFiles = ({
|
|
16619
16259
|
fileInputRef,
|
|
16620
16260
|
selectedFiles,
|
|
@@ -16718,8 +16358,8 @@ var ButtonSelectFiles = ({
|
|
|
16718
16358
|
await handleUpload(formData, serivce, xNode);
|
|
16719
16359
|
}
|
|
16720
16360
|
};
|
|
16721
|
-
return /* @__PURE__ */
|
|
16722
|
-
isPending ? /* @__PURE__ */ jsx69(Fragment14, { children: /* @__PURE__ */ jsx69("span", { className: "text-sm text-gray-500", children: t3("\u0110ang t\u1EA3i l\xEAn...") }) }) : /* @__PURE__ */
|
|
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(
|
|
16723
16363
|
"button",
|
|
16724
16364
|
{
|
|
16725
16365
|
type: "button",
|
|
@@ -16748,7 +16388,7 @@ var ButtonSelectFiles = ({
|
|
|
16748
16388
|
|
|
16749
16389
|
// src/widgets/common/video-player.tsx
|
|
16750
16390
|
import { useRef as useRef6, useState as useState10 } from "react";
|
|
16751
|
-
import { jsx as jsx70, jsxs as
|
|
16391
|
+
import { jsx as jsx70, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
16752
16392
|
var VideoPlayer = ({ src }) => {
|
|
16753
16393
|
const [isPlaying, setIsPlaying] = useState10(false);
|
|
16754
16394
|
const videoRef = useRef6(null);
|
|
@@ -16775,7 +16415,7 @@ var VideoPlayer = ({ src }) => {
|
|
|
16775
16415
|
}
|
|
16776
16416
|
}
|
|
16777
16417
|
};
|
|
16778
|
-
return /* @__PURE__ */
|
|
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: [
|
|
16779
16419
|
/* @__PURE__ */ jsx70(
|
|
16780
16420
|
"video",
|
|
16781
16421
|
{
|
|
@@ -16794,7 +16434,7 @@ var VideoPlayer = ({ src }) => {
|
|
|
16794
16434
|
};
|
|
16795
16435
|
|
|
16796
16436
|
// src/widgets/basic/avatar-field/avatar.tsx
|
|
16797
|
-
import { Fragment as Fragment15, jsx as jsx71, jsxs as
|
|
16437
|
+
import { Fragment as Fragment15, jsx as jsx71, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
16798
16438
|
var AvatarField = (props) => {
|
|
16799
16439
|
const {
|
|
16800
16440
|
isForm = false,
|
|
@@ -16818,7 +16458,7 @@ var AvatarField = (props) => {
|
|
|
16818
16458
|
color: textColor,
|
|
16819
16459
|
fontSize: `${size4 / 2.5}px`
|
|
16820
16460
|
};
|
|
16821
|
-
return /* @__PURE__ */
|
|
16461
|
+
return /* @__PURE__ */ jsxs44(Fragment15, { children: [
|
|
16822
16462
|
isForm && allowShowDetail && /* @__PURE__ */ jsx71(
|
|
16823
16463
|
ModalDetail,
|
|
16824
16464
|
{
|
|
@@ -16860,7 +16500,7 @@ var AvatarField = (props) => {
|
|
|
16860
16500
|
};
|
|
16861
16501
|
|
|
16862
16502
|
// src/widgets/basic/binary-field/binary.tsx
|
|
16863
|
-
import { jsx as jsx72, jsxs as
|
|
16503
|
+
import { jsx as jsx72, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
16864
16504
|
var BinaryField = (props) => {
|
|
16865
16505
|
const {
|
|
16866
16506
|
name: name2,
|
|
@@ -16898,7 +16538,7 @@ var BinaryField = (props) => {
|
|
|
16898
16538
|
{
|
|
16899
16539
|
ref: binaryRef,
|
|
16900
16540
|
className: "flex w-fit items-center gap-4 rounded-lg shadow-md mb-11",
|
|
16901
|
-
children: renderImage ? /* @__PURE__ */
|
|
16541
|
+
children: renderImage ? /* @__PURE__ */ jsxs45("div", { className: "relative group", children: [
|
|
16902
16542
|
renderImage && checkIsImageLink2(renderImage) ? /* @__PURE__ */ jsx72(
|
|
16903
16543
|
"img",
|
|
16904
16544
|
{
|
|
@@ -16931,7 +16571,7 @@ var BinaryField = (props) => {
|
|
|
16931
16571
|
children: /* @__PURE__ */ jsx72(DeleteIcon, {})
|
|
16932
16572
|
}
|
|
16933
16573
|
)
|
|
16934
|
-
] }) : /* @__PURE__ */
|
|
16574
|
+
] }) : /* @__PURE__ */ jsxs45(
|
|
16935
16575
|
"label",
|
|
16936
16576
|
{
|
|
16937
16577
|
htmlFor: inputId,
|
|
@@ -17074,7 +16714,7 @@ var ButtonBadgeField = (props) => {
|
|
|
17074
16714
|
};
|
|
17075
16715
|
|
|
17076
16716
|
// src/widgets/basic/button-field/button.tsx
|
|
17077
|
-
import { Fragment as Fragment16, jsx as jsx74, jsxs as
|
|
16717
|
+
import { Fragment as Fragment16, jsx as jsx74, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
17078
16718
|
var ButtonField = (props) => {
|
|
17079
16719
|
const {
|
|
17080
16720
|
func,
|
|
@@ -17094,7 +16734,7 @@ var ButtonField = (props) => {
|
|
|
17094
16734
|
onClick: func,
|
|
17095
16735
|
children: t3(content)
|
|
17096
16736
|
}
|
|
17097
|
-
) : /* @__PURE__ */
|
|
16737
|
+
) : /* @__PURE__ */ jsxs46(
|
|
17098
16738
|
"button",
|
|
17099
16739
|
{
|
|
17100
16740
|
type,
|
|
@@ -17111,7 +16751,7 @@ var ButtonField = (props) => {
|
|
|
17111
16751
|
|
|
17112
16752
|
// src/widgets/basic/char-field/char.tsx
|
|
17113
16753
|
import { useEffect as useEffect11, useMemo as useMemo4 } from "react";
|
|
17114
|
-
import { Fragment as Fragment17, jsx as jsx75, jsxs as
|
|
16754
|
+
import { Fragment as Fragment17, jsx as jsx75, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
17115
16755
|
var WIDGET_AUTO_COMPUTE_DEPEND = "auto_compute_depend_field";
|
|
17116
16756
|
var CharField = (props) => {
|
|
17117
16757
|
const {
|
|
@@ -17195,7 +16835,7 @@ var CharField = (props) => {
|
|
|
17195
16835
|
}
|
|
17196
16836
|
return "";
|
|
17197
16837
|
}, [widget, formValues]);
|
|
17198
|
-
return /* @__PURE__ */
|
|
16838
|
+
return /* @__PURE__ */ jsxs47(Fragment17, { children: [
|
|
17199
16839
|
/* @__PURE__ */ jsx75(
|
|
17200
16840
|
"input",
|
|
17201
16841
|
{
|
|
@@ -17339,7 +16979,7 @@ var CheckboxField = (props) => {
|
|
|
17339
16979
|
|
|
17340
16980
|
// src/widgets/basic/color-field/color-wrapper.tsx
|
|
17341
16981
|
import { useEffect as useEffect12, useRef as useRef7, useState as useState11 } from "react";
|
|
17342
|
-
import { Fragment as Fragment18, jsx as jsx77, jsxs as
|
|
16982
|
+
import { Fragment as Fragment18, jsx as jsx77, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
17343
16983
|
var ColorWrapper = (props) => {
|
|
17344
16984
|
const {
|
|
17345
16985
|
colors: colors2,
|
|
@@ -17366,7 +17006,7 @@ var ColorWrapper = (props) => {
|
|
|
17366
17006
|
document.removeEventListener("mousedown", handleClickOutside);
|
|
17367
17007
|
};
|
|
17368
17008
|
}, []);
|
|
17369
|
-
return /* @__PURE__ */ jsx77("div", { ref: pickColorsRef, children: showFullColors ? /* @__PURE__ */ jsx77("div", { className: "flex gap-2", children: COLORS.map((color) => /* @__PURE__ */
|
|
17009
|
+
return /* @__PURE__ */ jsx77("div", { ref: pickColorsRef, children: showFullColors ? /* @__PURE__ */ jsx77("div", { className: "flex gap-2", children: COLORS.map((color) => /* @__PURE__ */ jsxs48("div", { children: [
|
|
17370
17010
|
/* @__PURE__ */ jsx77(
|
|
17371
17011
|
"button",
|
|
17372
17012
|
{
|
|
@@ -17390,7 +17030,7 @@ var ColorWrapper = (props) => {
|
|
|
17390
17030
|
content: i18n_default.t(color?.name)
|
|
17391
17031
|
}
|
|
17392
17032
|
)
|
|
17393
|
-
] }, color?.id)) }) : /* @__PURE__ */
|
|
17033
|
+
] }, color?.id)) }) : /* @__PURE__ */ jsxs48(Fragment18, { children: [
|
|
17394
17034
|
/* @__PURE__ */ jsx77(
|
|
17395
17035
|
"button",
|
|
17396
17036
|
{
|
|
@@ -17447,7 +17087,7 @@ var ColorField = (props) => {
|
|
|
17447
17087
|
|
|
17448
17088
|
// src/widgets/basic/copy-link-buttton/copy-link.tsx
|
|
17449
17089
|
import { useEffect as useEffect13 } from "react";
|
|
17450
|
-
import { jsx as jsx79, jsxs as
|
|
17090
|
+
import { jsx as jsx79, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
17451
17091
|
var CopyLinkButtonField = (props) => {
|
|
17452
17092
|
const {
|
|
17453
17093
|
isForm,
|
|
@@ -17486,8 +17126,8 @@ var CopyLinkButtonField = (props) => {
|
|
|
17486
17126
|
clearErrors(name2);
|
|
17487
17127
|
}
|
|
17488
17128
|
}, [value]);
|
|
17489
|
-
return /* @__PURE__ */
|
|
17490
|
-
/* @__PURE__ */
|
|
17129
|
+
return /* @__PURE__ */ jsxs49("div", { className: "relative", children: [
|
|
17130
|
+
/* @__PURE__ */ jsxs49(
|
|
17491
17131
|
"div",
|
|
17492
17132
|
{
|
|
17493
17133
|
"aria-disabled": readonly,
|
|
@@ -21490,7 +21130,7 @@ function useEffectEvent(callback) {
|
|
|
21490
21130
|
}
|
|
21491
21131
|
|
|
21492
21132
|
// node_modules/react-datepicker/node_modules/@floating-ui/react/dist/floating-ui.react.mjs
|
|
21493
|
-
import { jsx as jsx80, jsxs as
|
|
21133
|
+
import { jsx as jsx80, jsxs as jsxs50, Fragment as Fragment19 } from "react/jsx-runtime";
|
|
21494
21134
|
import * as ReactDOM2 from "react-dom";
|
|
21495
21135
|
|
|
21496
21136
|
// node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
|
|
@@ -21888,7 +21528,7 @@ var FloatingArrow = /* @__PURE__ */ React8.forwardRef(function FloatingArrow2(pr
|
|
|
21888
21528
|
bottom: isCustomShape ? "" : "rotate(180deg)",
|
|
21889
21529
|
right: isCustomShape ? "rotate(-90deg)" : "rotate(90deg)"
|
|
21890
21530
|
}[side];
|
|
21891
|
-
return /* @__PURE__ */
|
|
21531
|
+
return /* @__PURE__ */ jsxs50("svg", {
|
|
21892
21532
|
...rest,
|
|
21893
21533
|
"aria-hidden": true,
|
|
21894
21534
|
ref,
|
|
@@ -31304,7 +30944,7 @@ var StateManagedSelect$1 = StateManagedSelect;
|
|
|
31304
30944
|
|
|
31305
30945
|
// src/widgets/basic/date-field/date.tsx
|
|
31306
30946
|
var import_moment2 = __toESM(require_moment());
|
|
31307
|
-
import { Fragment as Fragment23, jsx as jsx83, jsxs as
|
|
30947
|
+
import { Fragment as Fragment23, jsx as jsx83, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
31308
30948
|
var DateField = (props) => {
|
|
31309
30949
|
const {
|
|
31310
30950
|
name: name2,
|
|
@@ -31332,7 +30972,7 @@ var DateField = (props) => {
|
|
|
31332
30972
|
} = props;
|
|
31333
30973
|
const { t: t3 } = useI18n();
|
|
31334
30974
|
const InputDateCustom = forwardRef6(
|
|
31335
|
-
({ onClick, className, onChange: onChange2, isForm: isForm2, defaultValue }, ref) => /* @__PURE__ */
|
|
30975
|
+
({ onClick, className, onChange: onChange2, isForm: isForm2, defaultValue }, ref) => /* @__PURE__ */ jsxs51("label", { className: `flex ${className}`, children: [
|
|
31336
30976
|
/* @__PURE__ */ jsx83(
|
|
31337
30977
|
"input",
|
|
31338
30978
|
{
|
|
@@ -31375,7 +31015,7 @@ var DateField = (props) => {
|
|
|
31375
31015
|
}
|
|
31376
31016
|
}, [value, clearErrors, name2]);
|
|
31377
31017
|
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;
|
|
31378
|
-
return /* @__PURE__ */
|
|
31018
|
+
return /* @__PURE__ */ jsxs51(Fragment23, { children: [
|
|
31379
31019
|
/* @__PURE__ */ jsx83(
|
|
31380
31020
|
DatePicker,
|
|
31381
31021
|
{
|
|
@@ -31442,7 +31082,7 @@ var DateField = (props) => {
|
|
|
31442
31082
|
increaseMonth,
|
|
31443
31083
|
prevMonthButtonDisabled,
|
|
31444
31084
|
nextMonthButtonDisabled
|
|
31445
|
-
}) => /* @__PURE__ */
|
|
31085
|
+
}) => /* @__PURE__ */ jsxs51(
|
|
31446
31086
|
"div",
|
|
31447
31087
|
{
|
|
31448
31088
|
style: {
|
|
@@ -31535,11 +31175,11 @@ var DateField = (props) => {
|
|
|
31535
31175
|
};
|
|
31536
31176
|
|
|
31537
31177
|
// src/widgets/basic/download-binary-field/download-binary.tsx
|
|
31538
|
-
import { jsx as jsx84, jsxs as
|
|
31178
|
+
import { jsx as jsx84, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
31539
31179
|
var DownLoadBinaryField = (props) => {
|
|
31540
31180
|
const { handleFileDownload } = props;
|
|
31541
31181
|
const { t: t3 } = useI18n();
|
|
31542
|
-
return /* @__PURE__ */
|
|
31182
|
+
return /* @__PURE__ */ jsxs52(
|
|
31543
31183
|
"button",
|
|
31544
31184
|
{
|
|
31545
31185
|
type: "button",
|
|
@@ -31554,7 +31194,7 @@ var DownLoadBinaryField = (props) => {
|
|
|
31554
31194
|
};
|
|
31555
31195
|
|
|
31556
31196
|
// src/widgets/basic/download-file-field/download-file.tsx
|
|
31557
|
-
import { jsx as jsx85, jsxs as
|
|
31197
|
+
import { jsx as jsx85, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
31558
31198
|
var DownloadFileField = (props) => {
|
|
31559
31199
|
const {
|
|
31560
31200
|
readonly,
|
|
@@ -31566,8 +31206,8 @@ var DownloadFileField = (props) => {
|
|
|
31566
31206
|
handleFileChange,
|
|
31567
31207
|
handleFileDownload
|
|
31568
31208
|
} = props;
|
|
31569
|
-
return /* @__PURE__ */
|
|
31570
|
-
/* @__PURE__ */
|
|
31209
|
+
return /* @__PURE__ */ jsxs53("div", { className: "", children: [
|
|
31210
|
+
/* @__PURE__ */ jsxs53(
|
|
31571
31211
|
"label",
|
|
31572
31212
|
{
|
|
31573
31213
|
htmlFor: inputId,
|
|
@@ -31602,7 +31242,7 @@ var DownloadFileField = (props) => {
|
|
|
31602
31242
|
|
|
31603
31243
|
// src/widgets/basic/dropdown-field/dropdown.tsx
|
|
31604
31244
|
import { useState as useState16 } from "react";
|
|
31605
|
-
import { jsx as jsx86, jsxs as
|
|
31245
|
+
import { jsx as jsx86, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
31606
31246
|
var DropdownField = (props) => {
|
|
31607
31247
|
const {
|
|
31608
31248
|
options: options2,
|
|
@@ -31616,14 +31256,14 @@ var DropdownField = (props) => {
|
|
|
31616
31256
|
} = props;
|
|
31617
31257
|
const [open, setOpen] = useState16(false);
|
|
31618
31258
|
const dropdownRef = useClickOutside2({ handler: () => setOpen(false) });
|
|
31619
|
-
return /* @__PURE__ */
|
|
31259
|
+
return /* @__PURE__ */ jsxs54(
|
|
31620
31260
|
"div",
|
|
31621
31261
|
{
|
|
31622
31262
|
ref: dropdownRef,
|
|
31623
31263
|
className: `relative ${className}`,
|
|
31624
31264
|
onClick: () => setOpen(!open),
|
|
31625
31265
|
children: [
|
|
31626
|
-
/* @__PURE__ */
|
|
31266
|
+
/* @__PURE__ */ jsxs54(
|
|
31627
31267
|
"div",
|
|
31628
31268
|
{
|
|
31629
31269
|
className: `flex items-center gap-2 px-3 py-1 bg-white border rounded-lg cursor-pointer ${buttonClassName}`,
|
|
@@ -31659,7 +31299,7 @@ var DropdownField = (props) => {
|
|
|
31659
31299
|
};
|
|
31660
31300
|
|
|
31661
31301
|
// src/widgets/basic/fee-field/fee.tsx
|
|
31662
|
-
import { Fragment as Fragment24, jsx as jsx87, jsxs as
|
|
31302
|
+
import { Fragment as Fragment24, jsx as jsx87, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
31663
31303
|
var FeeField = (props) => {
|
|
31664
31304
|
const { value, formValues } = props;
|
|
31665
31305
|
const { t: t3 } = useI18n();
|
|
@@ -31670,23 +31310,23 @@ var FeeField = (props) => {
|
|
|
31670
31310
|
)
|
|
31671
31311
|
) + " VND";
|
|
31672
31312
|
const remaining_amount = formatNumberOnly(parseFloat(formValues?.amount_residual ?? 0)) + " VND";
|
|
31673
|
-
return /* @__PURE__ */
|
|
31313
|
+
return /* @__PURE__ */ jsxs55(Fragment24, { children: [
|
|
31674
31314
|
value?.subtotals?.map((sub) => {
|
|
31675
31315
|
if (sub?.tax_amount > 0 && sub?.tax_groups?.length > 0) {
|
|
31676
|
-
return /* @__PURE__ */
|
|
31677
|
-
/* @__PURE__ */
|
|
31678
|
-
/* @__PURE__ */
|
|
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: [
|
|
31679
31319
|
sub?.name,
|
|
31680
31320
|
":"
|
|
31681
31321
|
] }),
|
|
31682
31322
|
/* @__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" })
|
|
31683
31323
|
] }),
|
|
31684
|
-
sub?.tax_groups.map((group) => /* @__PURE__ */
|
|
31324
|
+
sub?.tax_groups.map((group) => /* @__PURE__ */ jsxs55(
|
|
31685
31325
|
"div",
|
|
31686
31326
|
{
|
|
31687
31327
|
className: "grid grid-cols-2 gap-x-4 gap-y-2 min-w-[300px] max-w-fit ml-auto mt-2",
|
|
31688
31328
|
children: [
|
|
31689
|
-
/* @__PURE__ */
|
|
31329
|
+
/* @__PURE__ */ jsxs55("div", { className: "text-[14px] leading-[21px] text-right", children: [
|
|
31690
31330
|
group?.group_name,
|
|
31691
31331
|
":"
|
|
31692
31332
|
] }),
|
|
@@ -31698,22 +31338,22 @@ var FeeField = (props) => {
|
|
|
31698
31338
|
] });
|
|
31699
31339
|
}
|
|
31700
31340
|
}),
|
|
31701
|
-
/* @__PURE__ */
|
|
31702
|
-
/* @__PURE__ */
|
|
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: [
|
|
31703
31343
|
t3("total"),
|
|
31704
31344
|
":"
|
|
31705
31345
|
] }),
|
|
31706
31346
|
/* @__PURE__ */ jsx87("div", { className: "text-xl leading-[21px] font-bold text-[rgb(73,80,87)] text-right ", children: totalAmount })
|
|
31707
31347
|
] }),
|
|
31708
|
-
/* @__PURE__ */
|
|
31709
|
-
/* @__PURE__ */
|
|
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: [
|
|
31710
31350
|
t3("paid_amount"),
|
|
31711
31351
|
":"
|
|
31712
31352
|
] }),
|
|
31713
31353
|
/* @__PURE__ */ jsx87("div", { className: "text-lg leading-[21px] font-semibold text-[rgb(73,80,87)] text-right ", children: paid_amount })
|
|
31714
31354
|
] }),
|
|
31715
|
-
/* @__PURE__ */
|
|
31716
|
-
/* @__PURE__ */
|
|
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: [
|
|
31717
31357
|
t3("remanining_amount"),
|
|
31718
31358
|
":"
|
|
31719
31359
|
] }),
|
|
@@ -31724,7 +31364,7 @@ var FeeField = (props) => {
|
|
|
31724
31364
|
|
|
31725
31365
|
// src/widgets/basic/file-upload-field/file-upload.tsx
|
|
31726
31366
|
import { useEffect as useEffect18, useRef as useRef15, useState as useState17 } from "react";
|
|
31727
|
-
import { jsx as jsx88, jsxs as
|
|
31367
|
+
import { jsx as jsx88, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
31728
31368
|
var RenderFile = ({
|
|
31729
31369
|
file,
|
|
31730
31370
|
onDelete,
|
|
@@ -31740,9 +31380,9 @@ var RenderFile = ({
|
|
|
31740
31380
|
"application/vnd.ms-excel": /* @__PURE__ */ jsx88(ExcelIcon, {}),
|
|
31741
31381
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": /* @__PURE__ */ jsx88(ExcelIcon, {})
|
|
31742
31382
|
};
|
|
31743
|
-
return /* @__PURE__ */
|
|
31383
|
+
return /* @__PURE__ */ jsxs56("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
|
|
31744
31384
|
/* @__PURE__ */ jsx88("div", { className: "w-6 h-6 file-icon", children: info?.type && fileTypeIcon?.[info?.type] }),
|
|
31745
|
-
/* @__PURE__ */
|
|
31385
|
+
/* @__PURE__ */ jsxs56("div", { children: [
|
|
31746
31386
|
/* @__PURE__ */ jsx88(
|
|
31747
31387
|
"div",
|
|
31748
31388
|
{
|
|
@@ -31755,7 +31395,7 @@ var RenderFile = ({
|
|
|
31755
31395
|
),
|
|
31756
31396
|
/* @__PURE__ */ jsx88("div", { className: "text-xs text-[#666] font-semibold", children: isNaN(info?.size) ? "" : formatFileSize(info?.size) })
|
|
31757
31397
|
] }),
|
|
31758
|
-
/* @__PURE__ */
|
|
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: [
|
|
31759
31399
|
/* @__PURE__ */ jsx88(
|
|
31760
31400
|
"span",
|
|
31761
31401
|
{
|
|
@@ -31825,7 +31465,7 @@ var FileUploadField = (props) => {
|
|
|
31825
31465
|
);
|
|
31826
31466
|
}
|
|
31827
31467
|
}, [selectedFiles]);
|
|
31828
|
-
return /* @__PURE__ */
|
|
31468
|
+
return /* @__PURE__ */ jsxs56("div", { children: [
|
|
31829
31469
|
selectedFiles?.length > 0 && selectedFiles?.map((fileItem, index4) => /* @__PURE__ */ jsx88(
|
|
31830
31470
|
RenderFile,
|
|
31831
31471
|
{
|
|
@@ -31866,7 +31506,7 @@ var FileUploadField = (props) => {
|
|
|
31866
31506
|
|
|
31867
31507
|
// src/widgets/basic/float-field/float.tsx
|
|
31868
31508
|
import { useEffect as useEffect19, useRef as useRef16, useState as useState18 } from "react";
|
|
31869
|
-
import { Fragment as Fragment25, jsx as jsx89, jsxs as
|
|
31509
|
+
import { Fragment as Fragment25, jsx as jsx89, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
31870
31510
|
var FloatField = (props) => {
|
|
31871
31511
|
const {
|
|
31872
31512
|
name: name2,
|
|
@@ -31991,7 +31631,7 @@ var FloatField = (props) => {
|
|
|
31991
31631
|
}
|
|
31992
31632
|
isDirtyRef.current = false;
|
|
31993
31633
|
};
|
|
31994
|
-
return /* @__PURE__ */
|
|
31634
|
+
return /* @__PURE__ */ jsxs57(Fragment25, { children: [
|
|
31995
31635
|
/* @__PURE__ */ jsx89(
|
|
31996
31636
|
"input",
|
|
31997
31637
|
{
|
|
@@ -32021,7 +31661,7 @@ var FloatField = (props) => {
|
|
|
32021
31661
|
|
|
32022
31662
|
// src/widgets/basic/float-time-field/float-time.tsx
|
|
32023
31663
|
import { useState as useState19 } from "react";
|
|
32024
|
-
import { Fragment as Fragment26, jsx as jsx90, jsxs as
|
|
31664
|
+
import { Fragment as Fragment26, jsx as jsx90, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
32025
31665
|
var FloatTimeField = (props) => {
|
|
32026
31666
|
const {
|
|
32027
31667
|
name: name2,
|
|
@@ -32101,7 +31741,7 @@ var FloatTimeField = (props) => {
|
|
|
32101
31741
|
}
|
|
32102
31742
|
onBlur();
|
|
32103
31743
|
};
|
|
32104
|
-
return /* @__PURE__ */
|
|
31744
|
+
return /* @__PURE__ */ jsxs58(Fragment26, { children: [
|
|
32105
31745
|
/* @__PURE__ */ jsx90(
|
|
32106
31746
|
"input",
|
|
32107
31747
|
{
|
|
@@ -32211,7 +31851,7 @@ var ImageField = (props) => {
|
|
|
32211
31851
|
import React16, { useEffect as useEffect21, useMemo as useMemo10 } from "react";
|
|
32212
31852
|
|
|
32213
31853
|
// src/widgets/basic/information-field/information.tsx
|
|
32214
|
-
import { Fragment as Fragment27, jsx as jsx93, jsxs as
|
|
31854
|
+
import { Fragment as Fragment27, jsx as jsx93, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
32215
31855
|
var InfomationField = (props) => {
|
|
32216
31856
|
const { value, isForm = false, showName = true, stringToColor } = props;
|
|
32217
31857
|
if (!value || Array.isArray(value) && value.length === 0) {
|
|
@@ -32227,7 +31867,7 @@ var InfomationField = (props) => {
|
|
|
32227
31867
|
stringToColor
|
|
32228
31868
|
},
|
|
32229
31869
|
item.id
|
|
32230
|
-
)) : /* @__PURE__ */
|
|
31870
|
+
)) : /* @__PURE__ */ jsxs59("div", { className: "flex gap-2 items-center w-max", children: [
|
|
32231
31871
|
/* @__PURE__ */ jsx93(
|
|
32232
31872
|
AvatarField,
|
|
32233
31873
|
{
|
|
@@ -32243,7 +31883,7 @@ var InfomationField = (props) => {
|
|
|
32243
31883
|
};
|
|
32244
31884
|
|
|
32245
31885
|
// src/widgets/basic/many2many-tags-field/many2many-tags.tsx
|
|
32246
|
-
import { jsx as jsx94, jsxs as
|
|
31886
|
+
import { jsx as jsx94, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
32247
31887
|
var CustomMultiValue = ({ stringToColor, ...props }) => {
|
|
32248
31888
|
const { selectProps, data, menuList } = props;
|
|
32249
31889
|
const { relation } = selectProps;
|
|
@@ -32252,7 +31892,7 @@ var CustomMultiValue = ({ stringToColor, ...props }) => {
|
|
|
32252
31892
|
(childItem) => childItem?.is_display && childItem?.action?.res_model === relation
|
|
32253
31893
|
)
|
|
32254
31894
|
)?.[0]?.action?.id;
|
|
32255
|
-
return /* @__PURE__ */
|
|
31895
|
+
return /* @__PURE__ */ jsxs60("div", { className: "flex items-center gap-2 relative mr-2 group", children: [
|
|
32256
31896
|
/* @__PURE__ */ jsx94(
|
|
32257
31897
|
AvatarField,
|
|
32258
31898
|
{
|
|
@@ -32284,9 +31924,9 @@ var CustomMenuList = (props) => {
|
|
|
32284
31924
|
const { setIsShowModalMany2Many, searchable } = selectProps;
|
|
32285
31925
|
const { t: t3 } = useI18n();
|
|
32286
31926
|
const limitedChildren = React16.Children.toArray(children).slice(0, 10);
|
|
32287
|
-
return /* @__PURE__ */
|
|
31927
|
+
return /* @__PURE__ */ jsxs60(components.MenuList, { ...props, className: "z-[99]", children: [
|
|
32288
31928
|
limitedChildren,
|
|
32289
|
-
options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */
|
|
31929
|
+
options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs60(
|
|
32290
31930
|
"button",
|
|
32291
31931
|
{
|
|
32292
31932
|
type: "button",
|
|
@@ -32376,7 +32016,7 @@ var Many2ManyTagField = (props) => {
|
|
|
32376
32016
|
onChange2?.(name2 ?? "", newValue);
|
|
32377
32017
|
clearErrors(name2);
|
|
32378
32018
|
};
|
|
32379
|
-
return /* @__PURE__ */
|
|
32019
|
+
return /* @__PURE__ */ jsxs60("div", { className: "group h-full overflow-y-auto", children: [
|
|
32380
32020
|
/* @__PURE__ */ jsx94(
|
|
32381
32021
|
StateManagedSelect$1,
|
|
32382
32022
|
{
|
|
@@ -32490,7 +32130,7 @@ var Many2ManyTagField = (props) => {
|
|
|
32490
32130
|
|
|
32491
32131
|
// src/widgets/basic/monetary-field/monetary.tsx
|
|
32492
32132
|
import { useEffect as useEffect22 } from "react";
|
|
32493
|
-
import { Fragment as Fragment28, jsx as jsx95, jsxs as
|
|
32133
|
+
import { Fragment as Fragment28, jsx as jsx95, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
32494
32134
|
var MonetaryField = (props) => {
|
|
32495
32135
|
const { t: t3 } = useI18n();
|
|
32496
32136
|
const {
|
|
@@ -32510,8 +32150,8 @@ var MonetaryField = (props) => {
|
|
|
32510
32150
|
isEditTable
|
|
32511
32151
|
} = props;
|
|
32512
32152
|
if (isForm && name2 === "amount_residual") {
|
|
32513
|
-
return /* @__PURE__ */
|
|
32514
|
-
/* @__PURE__ */
|
|
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: [
|
|
32515
32155
|
string,
|
|
32516
32156
|
":"
|
|
32517
32157
|
] }),
|
|
@@ -32548,7 +32188,7 @@ var MonetaryField = (props) => {
|
|
|
32548
32188
|
clearErrors(name2);
|
|
32549
32189
|
}
|
|
32550
32190
|
}, [value2]);
|
|
32551
|
-
return /* @__PURE__ */
|
|
32191
|
+
return /* @__PURE__ */ jsxs61(Fragment28, { children: [
|
|
32552
32192
|
/* @__PURE__ */ jsx95(
|
|
32553
32193
|
"input",
|
|
32554
32194
|
{
|
|
@@ -32602,7 +32242,7 @@ var PaidBadgedField = () => {
|
|
|
32602
32242
|
|
|
32603
32243
|
// src/widgets/basic/priority-field/rating-star.tsx
|
|
32604
32244
|
import React17, { useEffect as useEffect23, useState as useState20 } from "react";
|
|
32605
|
-
import { jsx as jsx97, jsxs as
|
|
32245
|
+
import { jsx as jsx97, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
32606
32246
|
var RatingStarField = (props) => {
|
|
32607
32247
|
const {
|
|
32608
32248
|
label,
|
|
@@ -32647,7 +32287,7 @@ var RatingStarField = (props) => {
|
|
|
32647
32287
|
const starValue = index4 + 1;
|
|
32648
32288
|
const fillColor = hover > 0 ? hover >= starValue ? "#f3cc00" : "white" : rating >= starValue ? "#f3cc00" : "white";
|
|
32649
32289
|
const strokeColor = hover > 0 ? hover >= starValue ? "#f3cc00" : "rgba(73,80,87,0.76)" : rating >= starValue ? "#f3cc00" : "rgba(73,80,87,0.76)";
|
|
32650
|
-
return /* @__PURE__ */
|
|
32290
|
+
return /* @__PURE__ */ jsxs62(React17.Fragment, { children: [
|
|
32651
32291
|
/* @__PURE__ */ jsx97(
|
|
32652
32292
|
"div",
|
|
32653
32293
|
{
|
|
@@ -32727,7 +32367,7 @@ var PriorityField = (props) => {
|
|
|
32727
32367
|
|
|
32728
32368
|
// src/widgets/basic/radio-group-field/radio-group.tsx
|
|
32729
32369
|
import { useEffect as useEffect24 } from "react";
|
|
32730
|
-
import { jsx as jsx99, jsxs as
|
|
32370
|
+
import { jsx as jsx99, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
32731
32371
|
var RadioGroupField = (props) => {
|
|
32732
32372
|
const {
|
|
32733
32373
|
name: name2,
|
|
@@ -32751,7 +32391,7 @@ var RadioGroupField = (props) => {
|
|
|
32751
32391
|
{
|
|
32752
32392
|
name: name2 ?? "",
|
|
32753
32393
|
control: methods.control,
|
|
32754
|
-
render: ({ field }) => /* @__PURE__ */ jsx99("div", { className: "flex items-center gap-[10px] pb-4", children: selection?.map((select) => /* @__PURE__ */
|
|
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: [
|
|
32755
32395
|
/* @__PURE__ */ jsx99(
|
|
32756
32396
|
"input",
|
|
32757
32397
|
{
|
|
@@ -32779,7 +32419,7 @@ var RadioGroupField = (props) => {
|
|
|
32779
32419
|
|
|
32780
32420
|
// src/widgets/basic/remaining-days-field/remaining-days.tsx
|
|
32781
32421
|
var import_moment3 = __toESM(require_moment());
|
|
32782
|
-
import { jsx as jsx100, jsxs as
|
|
32422
|
+
import { jsx as jsx100, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
32783
32423
|
var RemainingDaysField = (props) => {
|
|
32784
32424
|
const {
|
|
32785
32425
|
value,
|
|
@@ -32790,7 +32430,7 @@ var RemainingDaysField = (props) => {
|
|
|
32790
32430
|
if (!value) return null;
|
|
32791
32431
|
const adjustedValue = (0, import_moment3.default)(value).add(7, "hours");
|
|
32792
32432
|
const isFuture = adjustedValue.isAfter((0, import_moment3.default)());
|
|
32793
|
-
return /* @__PURE__ */
|
|
32433
|
+
return /* @__PURE__ */ jsxs64("div", { className: isForm ? "mb-4" : "", children: [
|
|
32794
32434
|
/* @__PURE__ */ jsx100(M, { id: `remainingDays_${value}`, place: "top", content: string }),
|
|
32795
32435
|
/* @__PURE__ */ jsx100(
|
|
32796
32436
|
"div",
|
|
@@ -32810,7 +32450,7 @@ var RemainingDaysField = (props) => {
|
|
|
32810
32450
|
};
|
|
32811
32451
|
|
|
32812
32452
|
// src/widgets/basic/select-dropdown-field/select-dropdown.tsx
|
|
32813
|
-
import { Fragment as Fragment29, jsx as jsx101, jsxs as
|
|
32453
|
+
import { Fragment as Fragment29, jsx as jsx101, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
32814
32454
|
var SelectDropdownField = (props) => {
|
|
32815
32455
|
const { t: t3 } = useI18n();
|
|
32816
32456
|
const {
|
|
@@ -32861,7 +32501,7 @@ var SelectDropdownField = (props) => {
|
|
|
32861
32501
|
value: defaultValue || null,
|
|
32862
32502
|
required: !invisible && required
|
|
32863
32503
|
};
|
|
32864
|
-
return /* @__PURE__ */
|
|
32504
|
+
return /* @__PURE__ */ jsxs65(Fragment29, { children: [
|
|
32865
32505
|
/* @__PURE__ */ jsx101("div", { className: "group", children: /* @__PURE__ */ jsx101(
|
|
32866
32506
|
StateManagedSelect$1,
|
|
32867
32507
|
{
|
|
@@ -32973,7 +32613,7 @@ var TextAreaField = (props) => {
|
|
|
32973
32613
|
};
|
|
32974
32614
|
|
|
32975
32615
|
// src/widgets/basic/toggle-button-field/toggle-button.tsx
|
|
32976
|
-
import { jsx as jsx103, jsxs as
|
|
32616
|
+
import { jsx as jsx103, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
32977
32617
|
var ToggleButtonField = (props) => {
|
|
32978
32618
|
const {
|
|
32979
32619
|
name: name2,
|
|
@@ -32988,7 +32628,7 @@ var ToggleButtonField = (props) => {
|
|
|
32988
32628
|
{
|
|
32989
32629
|
name: name2 ?? "",
|
|
32990
32630
|
control: methods?.control,
|
|
32991
|
-
render: ({ field }) => /* @__PURE__ */ jsx103("div", { className: "inline-flex items-center", children: /* @__PURE__ */
|
|
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: [
|
|
32992
32632
|
/* @__PURE__ */ jsx103(
|
|
32993
32633
|
"input",
|
|
32994
32634
|
{
|
|
@@ -33042,7 +32682,7 @@ var ToggleButtonField = (props) => {
|
|
|
33042
32682
|
|
|
33043
32683
|
// src/widgets/basic/integer-field/integer.tsx
|
|
33044
32684
|
import { useEffect as useEffect25, useRef as useRef18, useState as useState21 } from "react";
|
|
33045
|
-
import { Fragment as Fragment30, jsx as jsx104, jsxs as
|
|
32685
|
+
import { Fragment as Fragment30, jsx as jsx104, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
33046
32686
|
var IntegerField = (props) => {
|
|
33047
32687
|
const {
|
|
33048
32688
|
name: name2,
|
|
@@ -33141,7 +32781,7 @@ var IntegerField = (props) => {
|
|
|
33141
32781
|
inputRef.current?.blur();
|
|
33142
32782
|
clearErrors(name2);
|
|
33143
32783
|
};
|
|
33144
|
-
return /* @__PURE__ */
|
|
32784
|
+
return /* @__PURE__ */ jsxs67(Fragment30, { children: [
|
|
33145
32785
|
/* @__PURE__ */ jsx104(
|
|
33146
32786
|
"input",
|
|
33147
32787
|
{
|
|
@@ -33185,7 +32825,7 @@ var IntegerField = (props) => {
|
|
|
33185
32825
|
};
|
|
33186
32826
|
|
|
33187
32827
|
// src/widgets/basic/status-dropdown-field/status-dropdown.tsx
|
|
33188
|
-
import { jsx as jsx105, jsxs as
|
|
32828
|
+
import { jsx as jsx105, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
33189
32829
|
var StatusDropdownField = (props) => {
|
|
33190
32830
|
const {
|
|
33191
32831
|
buttonRef,
|
|
@@ -33197,7 +32837,7 @@ var StatusDropdownField = (props) => {
|
|
|
33197
32837
|
handleClick,
|
|
33198
32838
|
colors: colors2
|
|
33199
32839
|
} = props;
|
|
33200
|
-
return /* @__PURE__ */
|
|
32840
|
+
return /* @__PURE__ */ jsxs68(
|
|
33201
32841
|
"div",
|
|
33202
32842
|
{
|
|
33203
32843
|
ref: buttonRef,
|
|
@@ -33213,14 +32853,14 @@ var StatusDropdownField = (props) => {
|
|
|
33213
32853
|
),
|
|
33214
32854
|
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) => {
|
|
33215
32855
|
const isActive = item[0] == state;
|
|
33216
|
-
return /* @__PURE__ */
|
|
32856
|
+
return /* @__PURE__ */ jsxs68(
|
|
33217
32857
|
"div",
|
|
33218
32858
|
{
|
|
33219
32859
|
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" : ""}`,
|
|
33220
32860
|
onClick: () => handleClick(item[0]),
|
|
33221
32861
|
children: [
|
|
33222
32862
|
/* @__PURE__ */ jsx105("div", { className: "w-4 h-4", children: isActive && /* @__PURE__ */ jsx105(CheckIcon, {}) }),
|
|
33223
|
-
/* @__PURE__ */
|
|
32863
|
+
/* @__PURE__ */ jsxs68("div", { className: "flex items-center gap-2", children: [
|
|
33224
32864
|
/* @__PURE__ */ jsx105(
|
|
33225
32865
|
"div",
|
|
33226
32866
|
{
|
|
@@ -33242,7 +32882,7 @@ var StatusDropdownField = (props) => {
|
|
|
33242
32882
|
// src/widgets/basic/many2many-field/many2many.tsx
|
|
33243
32883
|
import { createPortal as createPortal5 } from "react-dom";
|
|
33244
32884
|
import { useEffect as useEffect26 } from "react";
|
|
33245
|
-
import { jsx as jsx106, jsxs as
|
|
32885
|
+
import { jsx as jsx106, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
33246
32886
|
var Many2ManyField = (props) => {
|
|
33247
32887
|
const { t: t3 } = useI18n();
|
|
33248
32888
|
const {
|
|
@@ -33316,7 +32956,7 @@ var Many2ManyField = (props) => {
|
|
|
33316
32956
|
};
|
|
33317
32957
|
}, [selectedTags]);
|
|
33318
32958
|
return createPortal5(
|
|
33319
|
-
/* @__PURE__ */
|
|
32959
|
+
/* @__PURE__ */ jsxs69(
|
|
33320
32960
|
"div",
|
|
33321
32961
|
{
|
|
33322
32962
|
style: {
|
|
@@ -33325,7 +32965,7 @@ var Many2ManyField = (props) => {
|
|
|
33325
32965
|
className: "fixed bottom-0 left-0 right-0 top-0",
|
|
33326
32966
|
children: [
|
|
33327
32967
|
/* @__PURE__ */ jsx106("div", { className: "absolute inset-0 bg-[rgba(27,27,27,0.48)]" }),
|
|
33328
|
-
/* @__PURE__ */ jsx106("div", { className: "absolute inset-0 overflow-auto px-6 flex justify-center items-center", children: /* @__PURE__ */
|
|
32968
|
+
/* @__PURE__ */ jsx106("div", { className: "absolute inset-0 overflow-auto px-6 flex justify-center items-center", children: /* @__PURE__ */ jsxs69(
|
|
33329
32969
|
"div",
|
|
33330
32970
|
{
|
|
33331
32971
|
style: {
|
|
@@ -33333,11 +32973,11 @@ var Many2ManyField = (props) => {
|
|
|
33333
32973
|
},
|
|
33334
32974
|
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",
|
|
33335
32975
|
children: [
|
|
33336
|
-
/* @__PURE__ */
|
|
32976
|
+
/* @__PURE__ */ jsxs69("div", { className: "flex justify-between items-center border-b border-[rgba(0,0,0,0.1)] pb-2", children: [
|
|
33337
32977
|
/* @__PURE__ */ jsx106("div", { className: "text-[20px] font-semibold", children: title }),
|
|
33338
32978
|
/* @__PURE__ */ jsx106("button", { className: "cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx106(CloseIcon, {}) })
|
|
33339
32979
|
] }),
|
|
33340
|
-
/* @__PURE__ */
|
|
32980
|
+
/* @__PURE__ */ jsxs69("div", { className: "grid grid-cols-3 gap-2 items-center py-2", children: [
|
|
33341
32981
|
/* @__PURE__ */ jsx106("div", { className: "col-span-3 sm:col-span-2 flex-1", children: /* @__PURE__ */ jsx106(
|
|
33342
32982
|
Search,
|
|
33343
32983
|
{
|
|
@@ -33397,7 +33037,7 @@ var Many2ManyField = (props) => {
|
|
|
33397
33037
|
"div",
|
|
33398
33038
|
{
|
|
33399
33039
|
className: `flex w-full items-center h-full overflow-auto `,
|
|
33400
|
-
children: /* @__PURE__ */ jsx106("div", { className: "w-full h-full max-w-full", children: /* @__PURE__ */
|
|
33040
|
+
children: /* @__PURE__ */ jsx106("div", { className: "w-full h-full max-w-full", children: /* @__PURE__ */ jsxs69(
|
|
33401
33041
|
"table",
|
|
33402
33042
|
{
|
|
33403
33043
|
className: `relative w-full bg-white custom-dropdown `,
|
|
@@ -33473,7 +33113,7 @@ var Many2ManyField = (props) => {
|
|
|
33473
33113
|
) }) })
|
|
33474
33114
|
}
|
|
33475
33115
|
) }) }) : /* @__PURE__ */ jsx106(LayerLoading, {}),
|
|
33476
|
-
/* @__PURE__ */
|
|
33116
|
+
/* @__PURE__ */ jsxs69("div", { className: "flex items-center gap-2 mt-auto", children: [
|
|
33477
33117
|
isDisplayCheckbox && /* @__PURE__ */ jsx106(
|
|
33478
33118
|
"button",
|
|
33479
33119
|
{
|
|
@@ -33522,15 +33162,15 @@ var Many2ManyField = (props) => {
|
|
|
33522
33162
|
|
|
33523
33163
|
// src/widgets/basic/many2one-field/many2one.tsx
|
|
33524
33164
|
import React18, { useEffect as useEffect27 } from "react";
|
|
33525
|
-
import { Fragment as Fragment31, jsx as jsx107, jsxs as
|
|
33165
|
+
import { Fragment as Fragment31, jsx as jsx107, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
33526
33166
|
var CustomMenuList2 = (props) => {
|
|
33527
33167
|
const { t: t3 } = useI18n();
|
|
33528
33168
|
const { options: options2, children, selectProps } = props;
|
|
33529
33169
|
const { setIsShowModalMany2Many, searchable } = selectProps;
|
|
33530
33170
|
const limitedChildren = React18.Children.toArray(children).slice(0, 10);
|
|
33531
|
-
return /* @__PURE__ */
|
|
33171
|
+
return /* @__PURE__ */ jsxs70(components.MenuList, { ...props, className: "z-[99]", children: [
|
|
33532
33172
|
limitedChildren,
|
|
33533
|
-
options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */
|
|
33173
|
+
options2?.length > 0 && (options2?.length > 10 || searchable) && /* @__PURE__ */ jsxs70(
|
|
33534
33174
|
"button",
|
|
33535
33175
|
{
|
|
33536
33176
|
type: "button",
|
|
@@ -33573,7 +33213,7 @@ var Many2OneField = (props) => {
|
|
|
33573
33213
|
const { t: t3 } = useI18n();
|
|
33574
33214
|
if (!isForm && !isEditTable) {
|
|
33575
33215
|
const id = propValue && typeof propValue === "object" && "id" in propValue ? propValue?.id : propValue;
|
|
33576
|
-
return /* @__PURE__ */
|
|
33216
|
+
return /* @__PURE__ */ jsxs70(Fragment31, { children: [
|
|
33577
33217
|
allowShowDetail && renderDetail({
|
|
33578
33218
|
idToolTip: String(name2) + Number(index4),
|
|
33579
33219
|
model: options2?.model ?? relation,
|
|
@@ -33591,7 +33231,7 @@ var Many2OneField = (props) => {
|
|
|
33591
33231
|
)
|
|
33592
33232
|
] });
|
|
33593
33233
|
}
|
|
33594
|
-
return /* @__PURE__ */
|
|
33234
|
+
return /* @__PURE__ */ jsxs70(Fragment31, { children: [
|
|
33595
33235
|
allowShowDetail && renderDetail({
|
|
33596
33236
|
idToolTip: String(name2),
|
|
33597
33237
|
model: options2?.model ?? relation,
|
|
@@ -33629,7 +33269,7 @@ var Many2OneField = (props) => {
|
|
|
33629
33269
|
methods?.clearErrors(name2);
|
|
33630
33270
|
}
|
|
33631
33271
|
}, [selectedOption]);
|
|
33632
|
-
return /* @__PURE__ */
|
|
33272
|
+
return /* @__PURE__ */ jsxs70("div", { className: "h-full", children: [
|
|
33633
33273
|
/* @__PURE__ */ jsx107(
|
|
33634
33274
|
StateManagedSelect$1,
|
|
33635
33275
|
{
|
|
@@ -33734,7 +33374,7 @@ var Many2OneField = (props) => {
|
|
|
33734
33374
|
};
|
|
33735
33375
|
|
|
33736
33376
|
// src/widgets/basic/status-bar-field/duration/duration.tsx
|
|
33737
|
-
import { jsx as jsx108, jsxs as
|
|
33377
|
+
import { jsx as jsx108, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
33738
33378
|
var StatusbarDurationField = (props) => {
|
|
33739
33379
|
const {
|
|
33740
33380
|
disabled,
|
|
@@ -33748,10 +33388,10 @@ var StatusbarDurationField = (props) => {
|
|
|
33748
33388
|
"div",
|
|
33749
33389
|
{
|
|
33750
33390
|
className: `w-full items-center rounded-[10px] !flex flex-col-reverse justify-center lg:!justify-end lg:!flex-row gap-y-[15px]`,
|
|
33751
|
-
children: /* @__PURE__ */
|
|
33391
|
+
children: /* @__PURE__ */ jsxs71("div", { className: "flex items-center gap-[24px]", children: [
|
|
33752
33392
|
/* @__PURE__ */ jsx108("div", { className: "flex items-center", children: dataResponse && dataResponse?.records?.filter((item) => !item?.fold || item.id == defaultValue)?.map((option, index4) => {
|
|
33753
33393
|
const value = option?.id === defaultValue;
|
|
33754
|
-
return /* @__PURE__ */
|
|
33394
|
+
return /* @__PURE__ */ jsxs71(
|
|
33755
33395
|
"label",
|
|
33756
33396
|
{
|
|
33757
33397
|
onClick: () => !disabled && handleClick(option.id),
|
|
@@ -33786,7 +33426,7 @@ var StatusbarDurationField = (props) => {
|
|
|
33786
33426
|
}) }),
|
|
33787
33427
|
dataResponse?.records?.some(
|
|
33788
33428
|
(item) => item?.fold && item.id !== defaultValue
|
|
33789
|
-
) && /* @__PURE__ */
|
|
33429
|
+
) && /* @__PURE__ */ jsxs71(
|
|
33790
33430
|
"div",
|
|
33791
33431
|
{
|
|
33792
33432
|
onClick: () => setModalStatus(!modelStatus),
|
|
@@ -33824,7 +33464,7 @@ var StatusbarDurationField = (props) => {
|
|
|
33824
33464
|
|
|
33825
33465
|
// src/widgets/basic/status-bar-field/option/option.tsx
|
|
33826
33466
|
import { useMemo as useMemo11 } from "react";
|
|
33827
|
-
import { Fragment as Fragment32, jsx as jsx109, jsxs as
|
|
33467
|
+
import { Fragment as Fragment32, jsx as jsx109, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
33828
33468
|
var StatusBarOptionField = (props) => {
|
|
33829
33469
|
const { selection, defaultValue } = props;
|
|
33830
33470
|
const memoizedStatusOptions = useMemo11(() => selection, [selection]);
|
|
@@ -33840,8 +33480,8 @@ var StatusBarOptionField = (props) => {
|
|
|
33840
33480
|
flexWrap: "wrap"
|
|
33841
33481
|
},
|
|
33842
33482
|
children: memoizedStatusOptions?.map((option, index4) => {
|
|
33843
|
-
return /* @__PURE__ */
|
|
33844
|
-
/* @__PURE__ */
|
|
33483
|
+
return /* @__PURE__ */ jsxs72(Fragment32, { children: [
|
|
33484
|
+
/* @__PURE__ */ jsxs72(
|
|
33845
33485
|
"div",
|
|
33846
33486
|
{
|
|
33847
33487
|
style: {
|
|
@@ -33960,7 +33600,7 @@ var ICCheck = () => {
|
|
|
33960
33600
|
};
|
|
33961
33601
|
|
|
33962
33602
|
// src/widgets/basic/date-option-field/date-option.tsx
|
|
33963
|
-
import { jsx as jsx110, jsxs as
|
|
33603
|
+
import { jsx as jsx110, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
33964
33604
|
var DateOptionField = (props) => {
|
|
33965
33605
|
const {
|
|
33966
33606
|
name: name2,
|
|
@@ -33976,7 +33616,7 @@ var DateOptionField = (props) => {
|
|
|
33976
33616
|
{
|
|
33977
33617
|
name: name2 ?? "",
|
|
33978
33618
|
control: methods?.control,
|
|
33979
|
-
render: ({ field }) => /* @__PURE__ */
|
|
33619
|
+
render: ({ field }) => /* @__PURE__ */ jsxs73(
|
|
33980
33620
|
"label",
|
|
33981
33621
|
{
|
|
33982
33622
|
className: `cursor-pointer mr-2 w-[50px] flex items-center justify-center p-[4px] border rounded-md text-sm
|