@fctc/sme-widget-ui 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.babelrc +7 -0
- package/dist/.editorconfig +10 -0
- package/dist/.eslintignore +6 -0
- package/dist/.eslintrc.cjs +66 -0
- package/dist/.gitattributes +4 -0
- package/dist/.prettierrc +4 -0
- package/dist/icons.js +8 -17
- package/dist/icons.mjs +39 -48
- package/dist/index.js +24 -30
- package/dist/index.mjs +236 -242
- package/dist/widgets.d.mts +2 -1
- package/dist/widgets.d.ts +2 -1
- package/dist/widgets.js +24 -30
- package/dist/widgets.mjs +231 -237
- package/package.json +1 -1
package/dist/.babelrc
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: { browser: true, es2020: true },
|
|
4
|
+
extends: [
|
|
5
|
+
'eslint:recommended',
|
|
6
|
+
'plugin:@typescript-eslint/recommended',
|
|
7
|
+
'plugin:prettier/recommended',
|
|
8
|
+
],
|
|
9
|
+
ignorePatterns: ['dist', '.eslintrc.cjs', 'commitlint.config.cjs'],
|
|
10
|
+
parser: '@typescript-eslint/parser',
|
|
11
|
+
overrides: [
|
|
12
|
+
{
|
|
13
|
+
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx', '**/*.cjs'],
|
|
14
|
+
plugins: [
|
|
15
|
+
'@typescript-eslint',
|
|
16
|
+
'unused-imports',
|
|
17
|
+
'simple-import-sort',
|
|
18
|
+
'react-refresh',
|
|
19
|
+
],
|
|
20
|
+
rules: {
|
|
21
|
+
'react-refresh/only-export-components': [
|
|
22
|
+
'warn',
|
|
23
|
+
{ allowConstantExport: true },
|
|
24
|
+
],
|
|
25
|
+
'import/prefer-default-export': 'off',
|
|
26
|
+
'simple-import-sort/imports': [
|
|
27
|
+
'error',
|
|
28
|
+
{
|
|
29
|
+
groups: [
|
|
30
|
+
// Packages `react` related packages come first.
|
|
31
|
+
['^react', '^@?\\w'],
|
|
32
|
+
// Internal packages.
|
|
33
|
+
['^(@|components)(/.*|$)'],
|
|
34
|
+
// Side effect imports.
|
|
35
|
+
['^\\u0000'],
|
|
36
|
+
// Parent imports. Put `..` last.
|
|
37
|
+
['^\\.\\.(?!/?$)', '^\\.\\./?$'],
|
|
38
|
+
// Other relative imports. Put same-folder imports and `.` last.
|
|
39
|
+
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
|
|
40
|
+
// Style imports.
|
|
41
|
+
['^.+\\.?(css)$'],
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
'prettier/prettier': [
|
|
46
|
+
'error',
|
|
47
|
+
{
|
|
48
|
+
endOfLine: 'auto',
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
'react/react-in-jsx-scope': 'off',
|
|
52
|
+
'no-param-reassign': 'off',
|
|
53
|
+
'simple-import-sort/exports': 'error',
|
|
54
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
55
|
+
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
56
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
57
|
+
'@typescript-eslint/ban-ts-comment': 'off',
|
|
58
|
+
'@typescript-eslint/ban-types': 'off',
|
|
59
|
+
'unused-imports/no-unused-imports': 'error',
|
|
60
|
+
'unused-imports/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
|
61
|
+
'no-plusplus': 'off',
|
|
62
|
+
'no-case-declarations': 'off',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
}
|
package/dist/.prettierrc
ADDED
package/dist/icons.js
CHANGED
|
@@ -1126,7 +1126,7 @@ var ResetIcon = () => {
|
|
|
1126
1126
|
// src/icons/search-icon.tsx
|
|
1127
1127
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1128
1128
|
var SearchIcon = () => {
|
|
1129
|
-
return /* @__PURE__ */ (0, import_jsx_runtime25.
|
|
1129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1130
1130
|
"svg",
|
|
1131
1131
|
{
|
|
1132
1132
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1134,22 +1134,13 @@ var SearchIcon = () => {
|
|
|
1134
1134
|
height: "20",
|
|
1135
1135
|
viewBox: "0 0 20 20",
|
|
1136
1136
|
fill: "none",
|
|
1137
|
-
children:
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
),
|
|
1145
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1146
|
-
"path",
|
|
1147
|
-
{
|
|
1148
|
-
d: "M18.3333 18.9585C18.175 18.9585 18.0167 18.9002 17.8917 18.7752L16.225 17.1085C15.9833 16.8669 15.9833 16.4669 16.225 16.2252C16.4667 15.9835 16.8667 15.9835 17.1083 16.2252L18.775 17.8919C19.0167 18.1335 19.0167 18.5335 18.775 18.7752C18.65 18.9002 18.4917 18.9585 18.3333 18.9585Z",
|
|
1149
|
-
fill: "#525252"
|
|
1150
|
-
}
|
|
1151
|
-
)
|
|
1152
|
-
]
|
|
1137
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1138
|
+
"path",
|
|
1139
|
+
{
|
|
1140
|
+
d: "M14.5232 13.4627L17.7355 16.6742L16.6742 17.7355L13.4627 14.5232C12.2678 15.4812 10.7815 16.0022 9.25 16C5.524 16 2.5 12.976 2.5 9.25C2.5 5.524 5.524 2.5 9.25 2.5C12.976 2.5 16 5.524 16 9.25C16.0022 10.7815 15.4812 12.2678 14.5232 13.4627ZM13.0187 12.9062C13.9706 11.9274 14.5021 10.6153 14.5 9.25C14.5 6.349 12.1502 4 9.25 4C6.349 4 4 6.349 4 9.25C4 12.1502 6.349 14.5 9.25 14.5C10.6153 14.5021 11.9274 13.9706 12.9062 13.0187L13.0187 12.9062Z",
|
|
1141
|
+
fill: "#AEAEAE"
|
|
1142
|
+
}
|
|
1143
|
+
)
|
|
1153
1144
|
}
|
|
1154
1145
|
);
|
|
1155
1146
|
};
|
package/dist/icons.mjs
CHANGED
|
@@ -1062,9 +1062,9 @@ var ResetIcon = () => {
|
|
|
1062
1062
|
};
|
|
1063
1063
|
|
|
1064
1064
|
// src/icons/search-icon.tsx
|
|
1065
|
-
import { jsx as jsx25
|
|
1065
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
1066
1066
|
var SearchIcon = () => {
|
|
1067
|
-
return /* @__PURE__ */
|
|
1067
|
+
return /* @__PURE__ */ jsx25(
|
|
1068
1068
|
"svg",
|
|
1069
1069
|
{
|
|
1070
1070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1072,30 +1072,21 @@ var SearchIcon = () => {
|
|
|
1072
1072
|
height: "20",
|
|
1073
1073
|
viewBox: "0 0 20 20",
|
|
1074
1074
|
fill: "none",
|
|
1075
|
-
children:
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
),
|
|
1083
|
-
/* @__PURE__ */ jsx25(
|
|
1084
|
-
"path",
|
|
1085
|
-
{
|
|
1086
|
-
d: "M18.3333 18.9585C18.175 18.9585 18.0167 18.9002 17.8917 18.7752L16.225 17.1085C15.9833 16.8669 15.9833 16.4669 16.225 16.2252C16.4667 15.9835 16.8667 15.9835 17.1083 16.2252L18.775 17.8919C19.0167 18.1335 19.0167 18.5335 18.775 18.7752C18.65 18.9002 18.4917 18.9585 18.3333 18.9585Z",
|
|
1087
|
-
fill: "#525252"
|
|
1088
|
-
}
|
|
1089
|
-
)
|
|
1090
|
-
]
|
|
1075
|
+
children: /* @__PURE__ */ jsx25(
|
|
1076
|
+
"path",
|
|
1077
|
+
{
|
|
1078
|
+
d: "M14.5232 13.4627L17.7355 16.6742L16.6742 17.7355L13.4627 14.5232C12.2678 15.4812 10.7815 16.0022 9.25 16C5.524 16 2.5 12.976 2.5 9.25C2.5 5.524 5.524 2.5 9.25 2.5C12.976 2.5 16 5.524 16 9.25C16.0022 10.7815 15.4812 12.2678 14.5232 13.4627ZM13.0187 12.9062C13.9706 11.9274 14.5021 10.6153 14.5 9.25C14.5 6.349 12.1502 4 9.25 4C6.349 4 4 6.349 4 9.25C4 12.1502 6.349 14.5 9.25 14.5C10.6153 14.5021 11.9274 13.9706 12.9062 13.0187L13.0187 12.9062Z",
|
|
1079
|
+
fill: "#AEAEAE"
|
|
1080
|
+
}
|
|
1081
|
+
)
|
|
1091
1082
|
}
|
|
1092
1083
|
);
|
|
1093
1084
|
};
|
|
1094
1085
|
|
|
1095
1086
|
// src/icons/setting-icon.tsx
|
|
1096
|
-
import { jsx as jsx26, jsxs as
|
|
1087
|
+
import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1097
1088
|
var SettingIcon = ({ className = "" }) => {
|
|
1098
|
-
return /* @__PURE__ */
|
|
1089
|
+
return /* @__PURE__ */ jsxs14(
|
|
1099
1090
|
"svg",
|
|
1100
1091
|
{
|
|
1101
1092
|
width: "16",
|
|
@@ -1187,9 +1178,9 @@ var UnArchiveIcon = () => {
|
|
|
1187
1178
|
};
|
|
1188
1179
|
|
|
1189
1180
|
// src/icons/vector-icon.tsx
|
|
1190
|
-
import { jsx as jsx30, jsxs as
|
|
1181
|
+
import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1191
1182
|
var VectorIcon = () => {
|
|
1192
|
-
return /* @__PURE__ */
|
|
1183
|
+
return /* @__PURE__ */ jsxs15(
|
|
1193
1184
|
"svg",
|
|
1194
1185
|
{
|
|
1195
1186
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1218,9 +1209,9 @@ var VectorIcon = () => {
|
|
|
1218
1209
|
};
|
|
1219
1210
|
|
|
1220
1211
|
// src/icons/zip-icon.tsx
|
|
1221
|
-
import { jsx as jsx31, jsxs as
|
|
1212
|
+
import { jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1222
1213
|
var ZipIcon = () => {
|
|
1223
|
-
return /* @__PURE__ */
|
|
1214
|
+
return /* @__PURE__ */ jsxs16(
|
|
1224
1215
|
"svg",
|
|
1225
1216
|
{
|
|
1226
1217
|
width: "40",
|
|
@@ -1229,8 +1220,8 @@ var ZipIcon = () => {
|
|
|
1229
1220
|
fill: "none",
|
|
1230
1221
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1231
1222
|
children: [
|
|
1232
|
-
/* @__PURE__ */
|
|
1233
|
-
/* @__PURE__ */
|
|
1223
|
+
/* @__PURE__ */ jsxs16("g", { clipPath: "url(#clip0_3042_66427)", children: [
|
|
1224
|
+
/* @__PURE__ */ jsxs16("g", { filter: "url(#filter0_di_3042_66427)", children: [
|
|
1234
1225
|
/* @__PURE__ */ jsx31(
|
|
1235
1226
|
"path",
|
|
1236
1227
|
{
|
|
@@ -1255,7 +1246,7 @@ var ZipIcon = () => {
|
|
|
1255
1246
|
strokeWidth: "1.5"
|
|
1256
1247
|
}
|
|
1257
1248
|
),
|
|
1258
|
-
/* @__PURE__ */
|
|
1249
|
+
/* @__PURE__ */ jsxs16("g", { filter: "url(#filter1_i_3042_66427)", children: [
|
|
1259
1250
|
/* @__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" }) }),
|
|
1260
1251
|
/* @__PURE__ */ jsx31(
|
|
1261
1252
|
"path",
|
|
@@ -1282,8 +1273,8 @@ var ZipIcon = () => {
|
|
|
1282
1273
|
)
|
|
1283
1274
|
] })
|
|
1284
1275
|
] }),
|
|
1285
|
-
/* @__PURE__ */
|
|
1286
|
-
/* @__PURE__ */
|
|
1276
|
+
/* @__PURE__ */ jsxs16("defs", { children: [
|
|
1277
|
+
/* @__PURE__ */ jsxs16(
|
|
1287
1278
|
"filter",
|
|
1288
1279
|
{
|
|
1289
1280
|
id: "filter0_di_3042_66427",
|
|
@@ -1361,7 +1352,7 @@ var ZipIcon = () => {
|
|
|
1361
1352
|
]
|
|
1362
1353
|
}
|
|
1363
1354
|
),
|
|
1364
|
-
/* @__PURE__ */
|
|
1355
|
+
/* @__PURE__ */ jsxs16(
|
|
1365
1356
|
"filter",
|
|
1366
1357
|
{
|
|
1367
1358
|
id: "filter1_i_3042_66427",
|
|
@@ -1420,9 +1411,9 @@ var ZipIcon = () => {
|
|
|
1420
1411
|
};
|
|
1421
1412
|
|
|
1422
1413
|
// src/icons/empty-data.tsx
|
|
1423
|
-
import { jsx as jsx32, jsxs as
|
|
1414
|
+
import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1424
1415
|
var EmptyData = ({ className }) => {
|
|
1425
|
-
return /* @__PURE__ */
|
|
1416
|
+
return /* @__PURE__ */ jsxs17(
|
|
1426
1417
|
"svg",
|
|
1427
1418
|
{
|
|
1428
1419
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1431,7 +1422,7 @@ var EmptyData = ({ className }) => {
|
|
|
1431
1422
|
viewBox: "0 0 120 140",
|
|
1432
1423
|
fill: "none",
|
|
1433
1424
|
children: [
|
|
1434
|
-
/* @__PURE__ */
|
|
1425
|
+
/* @__PURE__ */ jsxs17("g", { clipPath: "url(#clip0_5603_10527)", children: [
|
|
1435
1426
|
/* @__PURE__ */ jsx32("g", { filter: "url(#filter0_d_5603_10527)", children: /* @__PURE__ */ jsx32(
|
|
1436
1427
|
"path",
|
|
1437
1428
|
{
|
|
@@ -1464,7 +1455,7 @@ var EmptyData = ({ className }) => {
|
|
|
1464
1455
|
)
|
|
1465
1456
|
}
|
|
1466
1457
|
),
|
|
1467
|
-
/* @__PURE__ */
|
|
1458
|
+
/* @__PURE__ */ jsxs17("g", { mask: "url(#mask0_5603_10527)", children: [
|
|
1468
1459
|
/* @__PURE__ */ jsx32(
|
|
1469
1460
|
"path",
|
|
1470
1461
|
{
|
|
@@ -1529,7 +1520,7 @@ var EmptyData = ({ className }) => {
|
|
|
1529
1520
|
)
|
|
1530
1521
|
}
|
|
1531
1522
|
),
|
|
1532
|
-
/* @__PURE__ */ jsx32("g", { mask: "url(#mask2_5603_10527)", children: /* @__PURE__ */
|
|
1523
|
+
/* @__PURE__ */ jsx32("g", { mask: "url(#mask2_5603_10527)", children: /* @__PURE__ */ jsxs17("g", { opacity: "0.07", children: [
|
|
1533
1524
|
/* @__PURE__ */ jsx32("path", { d: "M73.716 93H27V99.214H73.716V93Z", fill: "black" }),
|
|
1534
1525
|
/* @__PURE__ */ jsx32("path", { d: "M95.812 101.699H27V107.913H95.812V101.699Z", fill: "black" }),
|
|
1535
1526
|
/* @__PURE__ */ jsx32("path", { d: "M69.297 113.506H27V119.72H69.297V113.506Z", fill: "black" }),
|
|
@@ -1569,8 +1560,8 @@ var EmptyData = ({ className }) => {
|
|
|
1569
1560
|
}
|
|
1570
1561
|
)
|
|
1571
1562
|
] }),
|
|
1572
|
-
/* @__PURE__ */
|
|
1573
|
-
/* @__PURE__ */
|
|
1563
|
+
/* @__PURE__ */ jsxs17("defs", { children: [
|
|
1564
|
+
/* @__PURE__ */ jsxs17(
|
|
1574
1565
|
"filter",
|
|
1575
1566
|
{
|
|
1576
1567
|
id: "filter0_d_5603_10527",
|
|
@@ -1628,7 +1619,7 @@ var EmptyData = ({ className }) => {
|
|
|
1628
1619
|
};
|
|
1629
1620
|
|
|
1630
1621
|
// src/icons/loading-icon.tsx
|
|
1631
|
-
import { jsx as jsx33, jsxs as
|
|
1622
|
+
import { jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1632
1623
|
var LoadingIcon = ({
|
|
1633
1624
|
width = 15,
|
|
1634
1625
|
height = 15,
|
|
@@ -1649,7 +1640,7 @@ var LoadingIcon = ({
|
|
|
1649
1640
|
background: "transparent"
|
|
1650
1641
|
},
|
|
1651
1642
|
...props,
|
|
1652
|
-
children: /* @__PURE__ */
|
|
1643
|
+
children: /* @__PURE__ */ jsxs18("g", { children: [
|
|
1653
1644
|
/* @__PURE__ */ jsx33(
|
|
1654
1645
|
"circle",
|
|
1655
1646
|
{
|
|
@@ -1680,8 +1671,8 @@ var LoadingIcon = ({
|
|
|
1680
1671
|
};
|
|
1681
1672
|
|
|
1682
1673
|
// src/icons/paid-icon.tsx
|
|
1683
|
-
import { jsx as jsx34, jsxs as
|
|
1684
|
-
var PaidIcon = () => /* @__PURE__ */
|
|
1674
|
+
import { jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1675
|
+
var PaidIcon = () => /* @__PURE__ */ jsxs19(
|
|
1685
1676
|
"svg",
|
|
1686
1677
|
{
|
|
1687
1678
|
width: "208",
|
|
@@ -1690,7 +1681,7 @@ var PaidIcon = () => /* @__PURE__ */ jsxs20(
|
|
|
1690
1681
|
fill: "none",
|
|
1691
1682
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1692
1683
|
children: [
|
|
1693
|
-
/* @__PURE__ */
|
|
1684
|
+
/* @__PURE__ */ jsxs19("g", { opacity: "0.5", filter: "url(#filter0_d_615_26793)", children: [
|
|
1694
1685
|
/* @__PURE__ */ jsx34(
|
|
1695
1686
|
"path",
|
|
1696
1687
|
{
|
|
@@ -1766,8 +1757,8 @@ var PaidIcon = () => /* @__PURE__ */ jsxs20(
|
|
|
1766
1757
|
}
|
|
1767
1758
|
)
|
|
1768
1759
|
] }),
|
|
1769
|
-
/* @__PURE__ */
|
|
1770
|
-
/* @__PURE__ */
|
|
1760
|
+
/* @__PURE__ */ jsxs19("defs", { children: [
|
|
1761
|
+
/* @__PURE__ */ jsxs19(
|
|
1771
1762
|
"filter",
|
|
1772
1763
|
{
|
|
1773
1764
|
id: "filter0_d_615_26793",
|
|
@@ -1864,13 +1855,13 @@ var PlaceHolderIcon = () => {
|
|
|
1864
1855
|
};
|
|
1865
1856
|
|
|
1866
1857
|
// src/icons/google-icon.tsx
|
|
1867
|
-
import { jsx as jsx36, jsxs as
|
|
1858
|
+
import { jsx as jsx36, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1868
1859
|
var GoogleIcon = ({
|
|
1869
1860
|
width = 20,
|
|
1870
1861
|
height = 20,
|
|
1871
1862
|
...props
|
|
1872
1863
|
}) => {
|
|
1873
|
-
return /* @__PURE__ */
|
|
1864
|
+
return /* @__PURE__ */ jsxs20(
|
|
1874
1865
|
"svg",
|
|
1875
1866
|
{
|
|
1876
1867
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1915,9 +1906,9 @@ var GoogleIcon = ({
|
|
|
1915
1906
|
};
|
|
1916
1907
|
|
|
1917
1908
|
// src/icons/eye-closed-icon.tsx
|
|
1918
|
-
import { jsx as jsx37, jsxs as
|
|
1909
|
+
import { jsx as jsx37, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1919
1910
|
var EyeClosedIcon = () => {
|
|
1920
|
-
return /* @__PURE__ */
|
|
1911
|
+
return /* @__PURE__ */ jsxs21(
|
|
1921
1912
|
"svg",
|
|
1922
1913
|
{
|
|
1923
1914
|
width: "20",
|
package/dist/index.js
CHANGED
|
@@ -6152,7 +6152,7 @@ var ResetIcon = () => {
|
|
|
6152
6152
|
// src/icons/search-icon.tsx
|
|
6153
6153
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
6154
6154
|
var SearchIcon = () => {
|
|
6155
|
-
return /* @__PURE__ */ (0, import_jsx_runtime25.
|
|
6155
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
6156
6156
|
"svg",
|
|
6157
6157
|
{
|
|
6158
6158
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6160,22 +6160,13 @@ var SearchIcon = () => {
|
|
|
6160
6160
|
height: "20",
|
|
6161
6161
|
viewBox: "0 0 20 20",
|
|
6162
6162
|
fill: "none",
|
|
6163
|
-
children:
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
),
|
|
6171
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
6172
|
-
"path",
|
|
6173
|
-
{
|
|
6174
|
-
d: "M18.3333 18.9585C18.175 18.9585 18.0167 18.9002 17.8917 18.7752L16.225 17.1085C15.9833 16.8669 15.9833 16.4669 16.225 16.2252C16.4667 15.9835 16.8667 15.9835 17.1083 16.2252L18.775 17.8919C19.0167 18.1335 19.0167 18.5335 18.775 18.7752C18.65 18.9002 18.4917 18.9585 18.3333 18.9585Z",
|
|
6175
|
-
fill: "#525252"
|
|
6176
|
-
}
|
|
6177
|
-
)
|
|
6178
|
-
]
|
|
6163
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
6164
|
+
"path",
|
|
6165
|
+
{
|
|
6166
|
+
d: "M14.5232 13.4627L17.7355 16.6742L16.6742 17.7355L13.4627 14.5232C12.2678 15.4812 10.7815 16.0022 9.25 16C5.524 16 2.5 12.976 2.5 9.25C2.5 5.524 5.524 2.5 9.25 2.5C12.976 2.5 16 5.524 16 9.25C16.0022 10.7815 15.4812 12.2678 14.5232 13.4627ZM13.0187 12.9062C13.9706 11.9274 14.5021 10.6153 14.5 9.25C14.5 6.349 12.1502 4 9.25 4C6.349 4 4 6.349 4 9.25C4 12.1502 6.349 14.5 9.25 14.5C10.6153 14.5021 11.9274 13.9706 12.9062 13.0187L13.0187 12.9062Z",
|
|
6167
|
+
fill: "#AEAEAE"
|
|
6168
|
+
}
|
|
6169
|
+
)
|
|
6179
6170
|
}
|
|
6180
6171
|
);
|
|
6181
6172
|
};
|
|
@@ -12418,7 +12409,8 @@ var TableBodyRow = (props) => {
|
|
|
12418
12409
|
checked,
|
|
12419
12410
|
isForm,
|
|
12420
12411
|
typeCo,
|
|
12421
|
-
selectedRowKeys
|
|
12412
|
+
selectedRowKeys,
|
|
12413
|
+
isEditTable
|
|
12422
12414
|
} = props;
|
|
12423
12415
|
const [isAutoSelect, setIsAutoSelect] = (0, import_react12.useState)(false);
|
|
12424
12416
|
const rootStyle = getComputedStyle(document.documentElement);
|
|
@@ -12463,16 +12455,16 @@ var TableBodyRow = (props) => {
|
|
|
12463
12455
|
checkedAll,
|
|
12464
12456
|
setIsAutoSelect,
|
|
12465
12457
|
isAutoSelect,
|
|
12466
|
-
s: true,
|
|
12467
12458
|
selectedRowKeysRef,
|
|
12468
|
-
setSelectedRowKeys
|
|
12459
|
+
setSelectedRowKeys,
|
|
12460
|
+
isEditTable
|
|
12469
12461
|
},
|
|
12470
12462
|
`record-${index4}`
|
|
12471
12463
|
);
|
|
12472
12464
|
}) : !isForm && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("td", { className: "w-full", colSpan: columns?.length + 2, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
12473
12465
|
"div",
|
|
12474
12466
|
{
|
|
12475
|
-
className: `flex flex-col items-center justify-center gap-3 ${typeCo === "form" ? "my-6" : "my-
|
|
12467
|
+
className: `flex flex-col items-center justify-center gap-3 ${typeCo === "form" ? "my-6" : "my-2"}`,
|
|
12476
12468
|
children: [
|
|
12477
12469
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(EmptyData, { className: colorPrimary }),
|
|
12478
12470
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "text-xl font-extrabold", children: i18n_default.t("empty_data") })
|
|
@@ -12481,7 +12473,7 @@ var TableBodyRow = (props) => {
|
|
|
12481
12473
|
) }) });
|
|
12482
12474
|
};
|
|
12483
12475
|
var TableBody = (props) => {
|
|
12484
|
-
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("tbody", { className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableBodyRow, { ...props }) });
|
|
12476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("tbody", { className: "overflow-hidden z-0", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableBodyRow, { ...props }) });
|
|
12485
12477
|
};
|
|
12486
12478
|
|
|
12487
12479
|
// src/widgets/advanced/table/table-filter.tsx
|
|
@@ -12697,11 +12689,11 @@ var TableHead = (props) => {
|
|
|
12697
12689
|
onRemoveRow,
|
|
12698
12690
|
onToggleColumnOptional
|
|
12699
12691
|
} = props;
|
|
12700
|
-
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("thead", { className: "relative z-
|
|
12692
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("thead", { className: "relative z-10", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
12701
12693
|
"tr",
|
|
12702
12694
|
{
|
|
12703
12695
|
style: { userSelect: "none", WebkitUserSelect: "none" },
|
|
12704
|
-
className: "border-b-[1.5px] border-[
|
|
12696
|
+
className: "border-b-[1.5px] border-[rgba(66,66,66,0.12)] sticky top-0 bg-white z-[1]",
|
|
12705
12697
|
children: [
|
|
12706
12698
|
isDisplayCheckbox && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
12707
12699
|
"th",
|
|
@@ -33577,7 +33569,14 @@ var SelectDropdownField = (props) => {
|
|
|
33577
33569
|
label: val[1]
|
|
33578
33570
|
})) : [];
|
|
33579
33571
|
if (!isForm) {
|
|
33580
|
-
|
|
33572
|
+
const value2 = options2?.find((item) => item?.value === value2)?.label;
|
|
33573
|
+
return value2 && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
33574
|
+
"span",
|
|
33575
|
+
{
|
|
33576
|
+
className: `${props.className} px-2 py-1 rounded border text-xs font-medium leading-[16px]`,
|
|
33577
|
+
children: value2
|
|
33578
|
+
}
|
|
33579
|
+
);
|
|
33581
33580
|
} else {
|
|
33582
33581
|
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
33583
33582
|
Controller,
|
|
@@ -34195,15 +34194,10 @@ var Many2OneField = (props) => {
|
|
|
34195
34194
|
string,
|
|
34196
34195
|
//return
|
|
34197
34196
|
menuList,
|
|
34198
|
-
handleChooseRecord,
|
|
34199
|
-
handleClose,
|
|
34200
|
-
selectedRowKeys,
|
|
34201
34197
|
allowShowDetail,
|
|
34202
34198
|
index: index4,
|
|
34203
34199
|
contextObject,
|
|
34204
34200
|
renderDetail,
|
|
34205
|
-
isShowModalMany2Many,
|
|
34206
|
-
initValue,
|
|
34207
34201
|
tempSelectedOption,
|
|
34208
34202
|
options: options2,
|
|
34209
34203
|
fetchMoreOptions,
|