@fctc/sme-widget-ui 1.9.1 → 1.9.3
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.d.mts +3 -1
- package/dist/icons.d.ts +3 -1
- package/dist/icons.js +54 -0
- package/dist/icons.mjs +53 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +794 -681
- package/dist/index.mjs +790 -678
- package/dist/widgets.d.mts +7 -1
- package/dist/widgets.d.ts +7 -1
- package/dist/widgets.js +778 -667
- package/dist/widgets.mjs +775 -664
- package/package.json +1 -1
package/dist/icons.d.mts
CHANGED
|
@@ -87,4 +87,6 @@ declare const EyeClosedIcon: () => JSX.Element;
|
|
|
87
87
|
|
|
88
88
|
declare const DeleteIconDanger: () => JSX.Element;
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
declare const ImageIcon: () => JSX.Element;
|
|
91
|
+
|
|
92
|
+
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalendarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DeleteIconDanger, DownloadIcon, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, ImageIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon };
|
package/dist/icons.d.ts
CHANGED
|
@@ -87,4 +87,6 @@ declare const EyeClosedIcon: () => JSX.Element;
|
|
|
87
87
|
|
|
88
88
|
declare const DeleteIconDanger: () => JSX.Element;
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
declare const ImageIcon: () => JSX.Element;
|
|
91
|
+
|
|
92
|
+
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalendarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DeleteIconDanger, DownloadIcon, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, ImageIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon };
|
package/dist/icons.js
CHANGED
|
@@ -41,6 +41,7 @@ __export(icons_exports, {
|
|
|
41
41
|
FilterIcon: () => FilterIcon,
|
|
42
42
|
GoogleIcon: () => GoogleIcon,
|
|
43
43
|
GroupByIcon: () => GroupByIcon,
|
|
44
|
+
ImageIcon: () => ImageIcon,
|
|
44
45
|
KanbanIcon: () => KanbanIcon,
|
|
45
46
|
ListIcon: () => ListIcon,
|
|
46
47
|
LoadingIcon: () => LoadingIcon,
|
|
@@ -1809,6 +1810,58 @@ var DeleteIconDanger = () => {
|
|
|
1809
1810
|
}
|
|
1810
1811
|
);
|
|
1811
1812
|
};
|
|
1813
|
+
|
|
1814
|
+
// src/icons/image-icon.tsx
|
|
1815
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1816
|
+
var ImageIcon = () => {
|
|
1817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
1818
|
+
"svg",
|
|
1819
|
+
{
|
|
1820
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1821
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1822
|
+
width: "38",
|
|
1823
|
+
height: "38",
|
|
1824
|
+
viewBox: "0 0 38 38",
|
|
1825
|
+
children: [
|
|
1826
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("defs", { children: [
|
|
1827
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("rect", { id: "image-a", width: "32", height: "35", x: "3", y: "1", rx: "3" }),
|
|
1828
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1829
|
+
"path",
|
|
1830
|
+
{
|
|
1831
|
+
id: "image-b",
|
|
1832
|
+
d: "M4,19.1032723 C10.2068966,11.6847994 21.5862069,29.7010908 34,22.2826178 C34,27.7196562 34,31.605523 34,33.9402182 C34,34.6467394 33.6428571,35 32.9285714,35 L5.07142857,35 C4.35714286,35 4,34.6467394 4,33.9402182 C4,30.6431191 4,25.6974705 4,19.1032723 Z"
|
|
1833
|
+
}
|
|
1834
|
+
)
|
|
1835
|
+
] }),
|
|
1836
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("g", { fill: "none", fillRule: "evenodd", children: [
|
|
1837
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("polygon", { fill: "#1C8B96", points: "34 2 34 34 4 34" }),
|
|
1838
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("use", { fill: "#FFF", fillOpacity: ".93", xlinkHref: "#image-a" }),
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1840
|
+
"rect",
|
|
1841
|
+
{
|
|
1842
|
+
width: "30",
|
|
1843
|
+
height: "33",
|
|
1844
|
+
x: "4",
|
|
1845
|
+
y: "2",
|
|
1846
|
+
stroke: "#1C8B96",
|
|
1847
|
+
strokeWidth: "2",
|
|
1848
|
+
rx: "3"
|
|
1849
|
+
}
|
|
1850
|
+
),
|
|
1851
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("use", { fill: "#1C8B96", fillOpacity: ".516", xlinkHref: "#image-b" }),
|
|
1852
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1853
|
+
"path",
|
|
1854
|
+
{
|
|
1855
|
+
stroke: "#1C8B96",
|
|
1856
|
+
d: "M4.5,19.288684 C4.5,28.1705666 4.5,28.2098953 4.5,33.9402182 C4.5,34.3693663 4.63206932,34.5 5.07142857,34.5 L32.9285714,34.5 C33.3679307,34.5 33.5,34.3693663 33.5,33.9402182 C33.5,29.8349108 33.5,29.6695315 33.5,23.1393414 C28.409924,25.8483285 23.7681405,24.8893521 16.4444643,21.1379608 C11.4216372,18.5651287 11.0931764,18.4094718 9.43982941,17.9988583 C7.34020973,17.4774116 5.78906845,17.8335647 4.5,19.2887422 Z"
|
|
1857
|
+
}
|
|
1858
|
+
),
|
|
1859
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("circle", { cx: "25.5", cy: "11.5", r: "4.5", fill: "#1C8B96" })
|
|
1860
|
+
] })
|
|
1861
|
+
]
|
|
1862
|
+
}
|
|
1863
|
+
);
|
|
1864
|
+
};
|
|
1812
1865
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1813
1866
|
0 && (module.exports = {
|
|
1814
1867
|
AddIcon,
|
|
@@ -1832,6 +1885,7 @@ var DeleteIconDanger = () => {
|
|
|
1832
1885
|
FilterIcon,
|
|
1833
1886
|
GoogleIcon,
|
|
1834
1887
|
GroupByIcon,
|
|
1888
|
+
ImageIcon,
|
|
1835
1889
|
KanbanIcon,
|
|
1836
1890
|
ListIcon,
|
|
1837
1891
|
LoadingIcon,
|
package/dist/icons.mjs
CHANGED
|
@@ -1747,6 +1747,58 @@ var DeleteIconDanger = () => {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
);
|
|
1749
1749
|
};
|
|
1750
|
+
|
|
1751
|
+
// src/icons/image-icon.tsx
|
|
1752
|
+
import { jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1753
|
+
var ImageIcon = () => {
|
|
1754
|
+
return /* @__PURE__ */ jsxs20(
|
|
1755
|
+
"svg",
|
|
1756
|
+
{
|
|
1757
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1758
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1759
|
+
width: "38",
|
|
1760
|
+
height: "38",
|
|
1761
|
+
viewBox: "0 0 38 38",
|
|
1762
|
+
children: [
|
|
1763
|
+
/* @__PURE__ */ jsxs20("defs", { children: [
|
|
1764
|
+
/* @__PURE__ */ jsx38("rect", { id: "image-a", width: "32", height: "35", x: "3", y: "1", rx: "3" }),
|
|
1765
|
+
/* @__PURE__ */ jsx38(
|
|
1766
|
+
"path",
|
|
1767
|
+
{
|
|
1768
|
+
id: "image-b",
|
|
1769
|
+
d: "M4,19.1032723 C10.2068966,11.6847994 21.5862069,29.7010908 34,22.2826178 C34,27.7196562 34,31.605523 34,33.9402182 C34,34.6467394 33.6428571,35 32.9285714,35 L5.07142857,35 C4.35714286,35 4,34.6467394 4,33.9402182 C4,30.6431191 4,25.6974705 4,19.1032723 Z"
|
|
1770
|
+
}
|
|
1771
|
+
)
|
|
1772
|
+
] }),
|
|
1773
|
+
/* @__PURE__ */ jsxs20("g", { fill: "none", fillRule: "evenodd", children: [
|
|
1774
|
+
/* @__PURE__ */ jsx38("polygon", { fill: "#1C8B96", points: "34 2 34 34 4 34" }),
|
|
1775
|
+
/* @__PURE__ */ jsx38("use", { fill: "#FFF", fillOpacity: ".93", xlinkHref: "#image-a" }),
|
|
1776
|
+
/* @__PURE__ */ jsx38(
|
|
1777
|
+
"rect",
|
|
1778
|
+
{
|
|
1779
|
+
width: "30",
|
|
1780
|
+
height: "33",
|
|
1781
|
+
x: "4",
|
|
1782
|
+
y: "2",
|
|
1783
|
+
stroke: "#1C8B96",
|
|
1784
|
+
strokeWidth: "2",
|
|
1785
|
+
rx: "3"
|
|
1786
|
+
}
|
|
1787
|
+
),
|
|
1788
|
+
/* @__PURE__ */ jsx38("use", { fill: "#1C8B96", fillOpacity: ".516", xlinkHref: "#image-b" }),
|
|
1789
|
+
/* @__PURE__ */ jsx38(
|
|
1790
|
+
"path",
|
|
1791
|
+
{
|
|
1792
|
+
stroke: "#1C8B96",
|
|
1793
|
+
d: "M4.5,19.288684 C4.5,28.1705666 4.5,28.2098953 4.5,33.9402182 C4.5,34.3693663 4.63206932,34.5 5.07142857,34.5 L32.9285714,34.5 C33.3679307,34.5 33.5,34.3693663 33.5,33.9402182 C33.5,29.8349108 33.5,29.6695315 33.5,23.1393414 C28.409924,25.8483285 23.7681405,24.8893521 16.4444643,21.1379608 C11.4216372,18.5651287 11.0931764,18.4094718 9.43982941,17.9988583 C7.34020973,17.4774116 5.78906845,17.8335647 4.5,19.2887422 Z"
|
|
1794
|
+
}
|
|
1795
|
+
),
|
|
1796
|
+
/* @__PURE__ */ jsx38("circle", { cx: "25.5", cy: "11.5", r: "4.5", fill: "#1C8B96" })
|
|
1797
|
+
] })
|
|
1798
|
+
]
|
|
1799
|
+
}
|
|
1800
|
+
);
|
|
1801
|
+
};
|
|
1750
1802
|
export {
|
|
1751
1803
|
AddIcon,
|
|
1752
1804
|
ArchiveIcon,
|
|
@@ -1769,6 +1821,7 @@ export {
|
|
|
1769
1821
|
FilterIcon,
|
|
1770
1822
|
GoogleIcon,
|
|
1771
1823
|
GroupByIcon,
|
|
1824
|
+
ImageIcon,
|
|
1772
1825
|
KanbanIcon,
|
|
1773
1826
|
ListIcon,
|
|
1774
1827
|
LoadingIcon,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { useClickOutside, useFileInfo } from './hooks.mjs';
|
|
2
|
-
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalendarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DeleteIconDanger, DownloadIcon, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon } from './icons.mjs';
|
|
2
|
+
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalendarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DeleteIconDanger, DownloadIcon, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, ImageIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon } from './icons.mjs';
|
|
3
3
|
export { IInputFieldProps, LoginData, LoginProps, Provider, ValuePropsType, loginSchema } from './types.mjs';
|
|
4
4
|
export { ActiveBadgeField, AvatarField, BinaryField, ButtonBadgeField, ButtonField, ButtonSelectFiles, CharField, CheckboxField, ColorField, ColorWrapper, CopyLinkButtonField, DateField, DateOptionField, DownLoadBinaryField, DownloadFileField, DropdownField, EmptyTable, FeeField, FileUploadField, FloatField, FloatTimeField, HtmlField, IActiveBadgeProps, IAvatarProps, IBinaryFieldProps, IButtonBadgeProps, IButtonProps, ICharFieldProps, IColorFieldProps, IColorWrapperProps, ICopyLinkButtonProps, IDateFieldProps, IDownLoadBinary, IDownloadFileProps, IDurationProps, IFileUploadProps, IMany2ManyTagsProps, IMonetaryProps, IOptionProps, IPaginationProps, IPriorityFieldProps, IRadioGroupProps, IRatingStarProps, ISelectDropdownProps, IStatusDropdownFieldProps, ImageField, InfomationField, IntegerField, LayerLoading, LoadingSmall, Login, Many2ManyField, Many2ManyProps, Many2ManyTagField, Many2OneField, Many2OneProps, ModalConfirm, ModalDetail, ModalLayer, MonetaryField, PaginationView, PaidBadgedField, PriorityField, RadioGroupField, RatingStarField, RemainingDaysField, RenderFiles, Row, Search, SelectDropdownField, StatusBarOptionField, StatusDropdownField, StatusbarDurationField, TDropdownSelectorProps, TableBody, TableFilter, TableFooter, TableGroup, TableHead, TextAreaField, ToggleButtonField, VideoPlayer, usePagination } from './widgets.mjs';
|
|
5
5
|
export { COLORS, DOTS, SearchType, checkIsImageLink, convertFloatToTime, convertTimeToFloat, formatFileSize, formatFloatNumber, formatNumberOnly, getPasswordMessage, isBase64Image, isObjectEmpty, parseFormattedNumber, range, useFormatDate, validateAndParseDate, validateInput } from './utils.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { useClickOutside, useFileInfo } from './hooks.js';
|
|
2
|
-
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalendarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DeleteIconDanger, DownloadIcon, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon } from './icons.js';
|
|
2
|
+
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalendarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DeleteIconDanger, DownloadIcon, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, ImageIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon } from './icons.js';
|
|
3
3
|
export { IInputFieldProps, LoginData, LoginProps, Provider, ValuePropsType, loginSchema } from './types.js';
|
|
4
4
|
export { ActiveBadgeField, AvatarField, BinaryField, ButtonBadgeField, ButtonField, ButtonSelectFiles, CharField, CheckboxField, ColorField, ColorWrapper, CopyLinkButtonField, DateField, DateOptionField, DownLoadBinaryField, DownloadFileField, DropdownField, EmptyTable, FeeField, FileUploadField, FloatField, FloatTimeField, HtmlField, IActiveBadgeProps, IAvatarProps, IBinaryFieldProps, IButtonBadgeProps, IButtonProps, ICharFieldProps, IColorFieldProps, IColorWrapperProps, ICopyLinkButtonProps, IDateFieldProps, IDownLoadBinary, IDownloadFileProps, IDurationProps, IFileUploadProps, IMany2ManyTagsProps, IMonetaryProps, IOptionProps, IPaginationProps, IPriorityFieldProps, IRadioGroupProps, IRatingStarProps, ISelectDropdownProps, IStatusDropdownFieldProps, ImageField, InfomationField, IntegerField, LayerLoading, LoadingSmall, Login, Many2ManyField, Many2ManyProps, Many2ManyTagField, Many2OneField, Many2OneProps, ModalConfirm, ModalDetail, ModalLayer, MonetaryField, PaginationView, PaidBadgedField, PriorityField, RadioGroupField, RatingStarField, RemainingDaysField, RenderFiles, Row, Search, SelectDropdownField, StatusBarOptionField, StatusDropdownField, StatusbarDurationField, TDropdownSelectorProps, TableBody, TableFilter, TableFooter, TableGroup, TableHead, TextAreaField, ToggleButtonField, VideoPlayer, usePagination } from './widgets.js';
|
|
5
5
|
export { COLORS, DOTS, SearchType, checkIsImageLink, convertFloatToTime, convertTimeToFloat, formatFileSize, formatFloatNumber, formatNumberOnly, getPasswordMessage, isBase64Image, isObjectEmpty, parseFormattedNumber, range, useFormatDate, validateAndParseDate, validateInput } from './utils.js';
|