@fctc/sme-widget-ui 2.3.6 → 2.3.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 +10 -14
- package/dist/icons.mjs +10 -14
- package/dist/index.js +13 -17
- package/dist/index.mjs +13 -17
- package/dist/widgets.js +13 -17
- package/dist/widgets.mjs +13 -17
- package/package.json +1 -1
package/dist/icons.js
CHANGED
|
@@ -520,30 +520,26 @@ var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
|
520
520
|
var EyeIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
521
521
|
"svg",
|
|
522
522
|
{
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
viewBox: "0 0 16 16",
|
|
523
|
+
width: "20",
|
|
524
|
+
height: "21",
|
|
525
|
+
viewBox: "0 0 20 21",
|
|
527
526
|
fill: "none",
|
|
527
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
528
528
|
children: [
|
|
529
529
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
530
530
|
"path",
|
|
531
531
|
{
|
|
532
|
-
d: "
|
|
533
|
-
stroke: "#
|
|
534
|
-
strokeWidth: "1.5"
|
|
535
|
-
strokeLinecap: "round",
|
|
536
|
-
strokeLinejoin: "round"
|
|
532
|
+
d: "M2.72904 13.5776C2.02076 12.6574 1.66663 12.1974 1.66663 10.8312C1.66663 9.46507 2.02076 9.00499 2.72904 8.08483C4.14326 6.24752 6.51505 4.16455 9.99996 4.16455C13.4849 4.16455 15.8567 6.24752 17.2709 8.08483C17.9792 9.00499 18.3333 9.46507 18.3333 10.8312C18.3333 12.1974 17.9792 12.6574 17.2709 13.5776C15.8567 15.4149 13.4849 17.4979 9.99996 17.4979C6.51505 17.4979 4.14326 15.4149 2.72904 13.5776Z",
|
|
533
|
+
stroke: "#ABACAE",
|
|
534
|
+
strokeWidth: "1.5"
|
|
537
535
|
}
|
|
538
536
|
),
|
|
539
537
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
540
538
|
"path",
|
|
541
539
|
{
|
|
542
|
-
d: "
|
|
543
|
-
stroke: "#
|
|
544
|
-
strokeWidth: "1.5"
|
|
545
|
-
strokeLinecap: "round",
|
|
546
|
-
strokeLinejoin: "round"
|
|
540
|
+
d: "M12.5 10.8311C12.5 12.2118 11.3807 13.3311 10 13.3311C8.61929 13.3311 7.5 12.2118 7.5 10.8311C7.5 9.45034 8.61929 8.33105 10 8.33105C11.3807 8.33105 12.5 9.45034 12.5 10.8311Z",
|
|
541
|
+
stroke: "#ABACAE",
|
|
542
|
+
strokeWidth: "1.5"
|
|
547
543
|
}
|
|
548
544
|
)
|
|
549
545
|
]
|
package/dist/icons.mjs
CHANGED
|
@@ -453,30 +453,26 @@ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
|
453
453
|
var EyeIcon = () => /* @__PURE__ */ jsxs6(
|
|
454
454
|
"svg",
|
|
455
455
|
{
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
viewBox: "0 0 16 16",
|
|
456
|
+
width: "20",
|
|
457
|
+
height: "21",
|
|
458
|
+
viewBox: "0 0 20 21",
|
|
460
459
|
fill: "none",
|
|
460
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
461
461
|
children: [
|
|
462
462
|
/* @__PURE__ */ jsx16(
|
|
463
463
|
"path",
|
|
464
464
|
{
|
|
465
|
-
d: "
|
|
466
|
-
stroke: "#
|
|
467
|
-
strokeWidth: "1.5"
|
|
468
|
-
strokeLinecap: "round",
|
|
469
|
-
strokeLinejoin: "round"
|
|
465
|
+
d: "M2.72904 13.5776C2.02076 12.6574 1.66663 12.1974 1.66663 10.8312C1.66663 9.46507 2.02076 9.00499 2.72904 8.08483C4.14326 6.24752 6.51505 4.16455 9.99996 4.16455C13.4849 4.16455 15.8567 6.24752 17.2709 8.08483C17.9792 9.00499 18.3333 9.46507 18.3333 10.8312C18.3333 12.1974 17.9792 12.6574 17.2709 13.5776C15.8567 15.4149 13.4849 17.4979 9.99996 17.4979C6.51505 17.4979 4.14326 15.4149 2.72904 13.5776Z",
|
|
466
|
+
stroke: "#ABACAE",
|
|
467
|
+
strokeWidth: "1.5"
|
|
470
468
|
}
|
|
471
469
|
),
|
|
472
470
|
/* @__PURE__ */ jsx16(
|
|
473
471
|
"path",
|
|
474
472
|
{
|
|
475
|
-
d: "
|
|
476
|
-
stroke: "#
|
|
477
|
-
strokeWidth: "1.5"
|
|
478
|
-
strokeLinecap: "round",
|
|
479
|
-
strokeLinejoin: "round"
|
|
473
|
+
d: "M12.5 10.8311C12.5 12.2118 11.3807 13.3311 10 13.3311C8.61929 13.3311 7.5 12.2118 7.5 10.8311C7.5 9.45034 8.61929 8.33105 10 8.33105C11.3807 8.33105 12.5 9.45034 12.5 10.8311Z",
|
|
474
|
+
stroke: "#ABACAE",
|
|
475
|
+
strokeWidth: "1.5"
|
|
480
476
|
}
|
|
481
477
|
)
|
|
482
478
|
]
|
package/dist/index.js
CHANGED
|
@@ -5763,30 +5763,26 @@ var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
|
5763
5763
|
var EyeIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
5764
5764
|
"svg",
|
|
5765
5765
|
{
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
viewBox: "0 0 16 16",
|
|
5766
|
+
width: "20",
|
|
5767
|
+
height: "21",
|
|
5768
|
+
viewBox: "0 0 20 21",
|
|
5770
5769
|
fill: "none",
|
|
5770
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5771
5771
|
children: [
|
|
5772
5772
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
5773
5773
|
"path",
|
|
5774
5774
|
{
|
|
5775
|
-
d: "
|
|
5776
|
-
stroke: "#
|
|
5777
|
-
strokeWidth: "1.5"
|
|
5778
|
-
strokeLinecap: "round",
|
|
5779
|
-
strokeLinejoin: "round"
|
|
5775
|
+
d: "M2.72904 13.5776C2.02076 12.6574 1.66663 12.1974 1.66663 10.8312C1.66663 9.46507 2.02076 9.00499 2.72904 8.08483C4.14326 6.24752 6.51505 4.16455 9.99996 4.16455C13.4849 4.16455 15.8567 6.24752 17.2709 8.08483C17.9792 9.00499 18.3333 9.46507 18.3333 10.8312C18.3333 12.1974 17.9792 12.6574 17.2709 13.5776C15.8567 15.4149 13.4849 17.4979 9.99996 17.4979C6.51505 17.4979 4.14326 15.4149 2.72904 13.5776Z",
|
|
5776
|
+
stroke: "#ABACAE",
|
|
5777
|
+
strokeWidth: "1.5"
|
|
5780
5778
|
}
|
|
5781
5779
|
),
|
|
5782
5780
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
5783
5781
|
"path",
|
|
5784
5782
|
{
|
|
5785
|
-
d: "
|
|
5786
|
-
stroke: "#
|
|
5787
|
-
strokeWidth: "1.5"
|
|
5788
|
-
strokeLinecap: "round",
|
|
5789
|
-
strokeLinejoin: "round"
|
|
5783
|
+
d: "M12.5 10.8311C12.5 12.2118 11.3807 13.3311 10 13.3311C8.61929 13.3311 7.5 12.2118 7.5 10.8311C7.5 9.45034 8.61929 8.33105 10 8.33105C11.3807 8.33105 12.5 9.45034 12.5 10.8311Z",
|
|
5784
|
+
stroke: "#ABACAE",
|
|
5785
|
+
strokeWidth: "1.5"
|
|
5790
5786
|
}
|
|
5791
5787
|
)
|
|
5792
5788
|
]
|
|
@@ -17553,9 +17549,9 @@ var SecureField = (props) => {
|
|
|
17553
17549
|
onCopy: (e3) => {
|
|
17554
17550
|
if (shouldMask) e3.preventDefault();
|
|
17555
17551
|
},
|
|
17556
|
-
className: `${!isCappedToken ? "w-full" : "w-[200px]"}
|
|
17557
|
-
|
|
17558
|
-
|
|
17552
|
+
className: `${!isCappedToken ? "w-full" : "w-[200px]"} h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden ${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
17553
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary !w-fit max-w-[200px]"}`}
|
|
17554
|
+
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}`
|
|
17559
17555
|
}
|
|
17560
17556
|
),
|
|
17561
17557
|
canToggle && !isCappedToken && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
package/dist/index.mjs
CHANGED
|
@@ -5636,30 +5636,26 @@ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
|
5636
5636
|
var EyeIcon = () => /* @__PURE__ */ jsxs6(
|
|
5637
5637
|
"svg",
|
|
5638
5638
|
{
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
viewBox: "0 0 16 16",
|
|
5639
|
+
width: "20",
|
|
5640
|
+
height: "21",
|
|
5641
|
+
viewBox: "0 0 20 21",
|
|
5643
5642
|
fill: "none",
|
|
5643
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5644
5644
|
children: [
|
|
5645
5645
|
/* @__PURE__ */ jsx16(
|
|
5646
5646
|
"path",
|
|
5647
5647
|
{
|
|
5648
|
-
d: "
|
|
5649
|
-
stroke: "#
|
|
5650
|
-
strokeWidth: "1.5"
|
|
5651
|
-
strokeLinecap: "round",
|
|
5652
|
-
strokeLinejoin: "round"
|
|
5648
|
+
d: "M2.72904 13.5776C2.02076 12.6574 1.66663 12.1974 1.66663 10.8312C1.66663 9.46507 2.02076 9.00499 2.72904 8.08483C4.14326 6.24752 6.51505 4.16455 9.99996 4.16455C13.4849 4.16455 15.8567 6.24752 17.2709 8.08483C17.9792 9.00499 18.3333 9.46507 18.3333 10.8312C18.3333 12.1974 17.9792 12.6574 17.2709 13.5776C15.8567 15.4149 13.4849 17.4979 9.99996 17.4979C6.51505 17.4979 4.14326 15.4149 2.72904 13.5776Z",
|
|
5649
|
+
stroke: "#ABACAE",
|
|
5650
|
+
strokeWidth: "1.5"
|
|
5653
5651
|
}
|
|
5654
5652
|
),
|
|
5655
5653
|
/* @__PURE__ */ jsx16(
|
|
5656
5654
|
"path",
|
|
5657
5655
|
{
|
|
5658
|
-
d: "
|
|
5659
|
-
stroke: "#
|
|
5660
|
-
strokeWidth: "1.5"
|
|
5661
|
-
strokeLinecap: "round",
|
|
5662
|
-
strokeLinejoin: "round"
|
|
5656
|
+
d: "M12.5 10.8311C12.5 12.2118 11.3807 13.3311 10 13.3311C8.61929 13.3311 7.5 12.2118 7.5 10.8311C7.5 9.45034 8.61929 8.33105 10 8.33105C11.3807 8.33105 12.5 9.45034 12.5 10.8311Z",
|
|
5657
|
+
stroke: "#ABACAE",
|
|
5658
|
+
strokeWidth: "1.5"
|
|
5663
5659
|
}
|
|
5664
5660
|
)
|
|
5665
5661
|
]
|
|
@@ -17426,9 +17422,9 @@ var SecureField = (props) => {
|
|
|
17426
17422
|
onCopy: (e3) => {
|
|
17427
17423
|
if (shouldMask) e3.preventDefault();
|
|
17428
17424
|
},
|
|
17429
|
-
className: `${!isCappedToken ? "w-full" : "w-[200px]"}
|
|
17430
|
-
|
|
17431
|
-
|
|
17425
|
+
className: `${!isCappedToken ? "w-full" : "w-[200px]"} h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden ${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
17426
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary !w-fit max-w-[200px]"}`}
|
|
17427
|
+
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}`
|
|
17432
17428
|
}
|
|
17433
17429
|
),
|
|
17434
17430
|
canToggle && !isCappedToken && /* @__PURE__ */ jsx80(
|
package/dist/widgets.js
CHANGED
|
@@ -8823,30 +8823,26 @@ var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
|
8823
8823
|
var EyeIcon = () => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
8824
8824
|
"svg",
|
|
8825
8825
|
{
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
viewBox: "0 0 16 16",
|
|
8826
|
+
width: "20",
|
|
8827
|
+
height: "21",
|
|
8828
|
+
viewBox: "0 0 20 21",
|
|
8830
8829
|
fill: "none",
|
|
8830
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8831
8831
|
children: [
|
|
8832
8832
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
8833
8833
|
"path",
|
|
8834
8834
|
{
|
|
8835
|
-
d: "
|
|
8836
|
-
stroke: "#
|
|
8837
|
-
strokeWidth: "1.5"
|
|
8838
|
-
strokeLinecap: "round",
|
|
8839
|
-
strokeLinejoin: "round"
|
|
8835
|
+
d: "M2.72904 13.5776C2.02076 12.6574 1.66663 12.1974 1.66663 10.8312C1.66663 9.46507 2.02076 9.00499 2.72904 8.08483C4.14326 6.24752 6.51505 4.16455 9.99996 4.16455C13.4849 4.16455 15.8567 6.24752 17.2709 8.08483C17.9792 9.00499 18.3333 9.46507 18.3333 10.8312C18.3333 12.1974 17.9792 12.6574 17.2709 13.5776C15.8567 15.4149 13.4849 17.4979 9.99996 17.4979C6.51505 17.4979 4.14326 15.4149 2.72904 13.5776Z",
|
|
8836
|
+
stroke: "#ABACAE",
|
|
8837
|
+
strokeWidth: "1.5"
|
|
8840
8838
|
}
|
|
8841
8839
|
),
|
|
8842
8840
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
8843
8841
|
"path",
|
|
8844
8842
|
{
|
|
8845
|
-
d: "
|
|
8846
|
-
stroke: "#
|
|
8847
|
-
strokeWidth: "1.5"
|
|
8848
|
-
strokeLinecap: "round",
|
|
8849
|
-
strokeLinejoin: "round"
|
|
8843
|
+
d: "M12.5 10.8311C12.5 12.2118 11.3807 13.3311 10 13.3311C8.61929 13.3311 7.5 12.2118 7.5 10.8311C7.5 9.45034 8.61929 8.33105 10 8.33105C11.3807 8.33105 12.5 9.45034 12.5 10.8311Z",
|
|
8844
|
+
stroke: "#ABACAE",
|
|
8845
|
+
strokeWidth: "1.5"
|
|
8850
8846
|
}
|
|
8851
8847
|
)
|
|
8852
8848
|
]
|
|
@@ -16802,9 +16798,9 @@ var SecureField = (props) => {
|
|
|
16802
16798
|
onCopy: (e3) => {
|
|
16803
16799
|
if (shouldMask) e3.preventDefault();
|
|
16804
16800
|
},
|
|
16805
|
-
className: `${!isCappedToken ? "w-full" : "w-[200px]"}
|
|
16806
|
-
|
|
16807
|
-
|
|
16801
|
+
className: `${!isCappedToken ? "w-full" : "w-[200px]"} h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden ${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
16802
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary !w-fit max-w-[200px]"}`}
|
|
16803
|
+
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}`
|
|
16808
16804
|
}
|
|
16809
16805
|
),
|
|
16810
16806
|
canToggle && !isCappedToken && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
package/dist/widgets.mjs
CHANGED
|
@@ -8760,30 +8760,26 @@ import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
|
8760
8760
|
var EyeIcon = () => /* @__PURE__ */ jsxs7(
|
|
8761
8761
|
"svg",
|
|
8762
8762
|
{
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
viewBox: "0 0 16 16",
|
|
8763
|
+
width: "20",
|
|
8764
|
+
height: "21",
|
|
8765
|
+
viewBox: "0 0 20 21",
|
|
8767
8766
|
fill: "none",
|
|
8767
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8768
8768
|
children: [
|
|
8769
8769
|
/* @__PURE__ */ jsx19(
|
|
8770
8770
|
"path",
|
|
8771
8771
|
{
|
|
8772
|
-
d: "
|
|
8773
|
-
stroke: "#
|
|
8774
|
-
strokeWidth: "1.5"
|
|
8775
|
-
strokeLinecap: "round",
|
|
8776
|
-
strokeLinejoin: "round"
|
|
8772
|
+
d: "M2.72904 13.5776C2.02076 12.6574 1.66663 12.1974 1.66663 10.8312C1.66663 9.46507 2.02076 9.00499 2.72904 8.08483C4.14326 6.24752 6.51505 4.16455 9.99996 4.16455C13.4849 4.16455 15.8567 6.24752 17.2709 8.08483C17.9792 9.00499 18.3333 9.46507 18.3333 10.8312C18.3333 12.1974 17.9792 12.6574 17.2709 13.5776C15.8567 15.4149 13.4849 17.4979 9.99996 17.4979C6.51505 17.4979 4.14326 15.4149 2.72904 13.5776Z",
|
|
8773
|
+
stroke: "#ABACAE",
|
|
8774
|
+
strokeWidth: "1.5"
|
|
8777
8775
|
}
|
|
8778
8776
|
),
|
|
8779
8777
|
/* @__PURE__ */ jsx19(
|
|
8780
8778
|
"path",
|
|
8781
8779
|
{
|
|
8782
|
-
d: "
|
|
8783
|
-
stroke: "#
|
|
8784
|
-
strokeWidth: "1.5"
|
|
8785
|
-
strokeLinecap: "round",
|
|
8786
|
-
strokeLinejoin: "round"
|
|
8780
|
+
d: "M12.5 10.8311C12.5 12.2118 11.3807 13.3311 10 13.3311C8.61929 13.3311 7.5 12.2118 7.5 10.8311C7.5 9.45034 8.61929 8.33105 10 8.33105C11.3807 8.33105 12.5 9.45034 12.5 10.8311Z",
|
|
8781
|
+
stroke: "#ABACAE",
|
|
8782
|
+
strokeWidth: "1.5"
|
|
8787
8783
|
}
|
|
8788
8784
|
)
|
|
8789
8785
|
]
|
|
@@ -16739,9 +16735,9 @@ var SecureField = (props) => {
|
|
|
16739
16735
|
onCopy: (e3) => {
|
|
16740
16736
|
if (shouldMask) e3.preventDefault();
|
|
16741
16737
|
},
|
|
16742
|
-
className: `${!isCappedToken ? "w-full" : "w-[200px]"}
|
|
16743
|
-
|
|
16744
|
-
|
|
16738
|
+
className: `${!isCappedToken ? "w-full" : "w-[200px]"} h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden ${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
16739
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary !w-fit max-w-[200px]"}`}
|
|
16740
|
+
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}`
|
|
16745
16741
|
}
|
|
16746
16742
|
),
|
|
16747
16743
|
canToggle && !isCappedToken && /* @__PURE__ */ jsx80(
|