@enyxs/wikex-components 0.11.44 → 0.11.46
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/chrome-model.css +0 -1
- package/dist/chrome-model.js +0 -1
- package/dist/chrome-model.mjs +0 -1
- package/dist/consultation-model.js +0 -1
- package/dist/consultation-model.mjs +0 -1
- package/dist/consultations.js +0 -1
- package/dist/consultations.mjs +0 -1
- package/dist/fees-model.js +0 -1
- package/dist/fees-model.mjs +0 -1
- package/dist/fees.js +25 -26
- package/dist/fees.mjs +25 -26
- package/dist/index.css +0 -1
- package/dist/index.js +25 -26
- package/dist/index.mjs +25 -26
- package/dist/page-templates.js +0 -1
- package/dist/page-templates.mjs +0 -1
- package/dist/partner.css +0 -1
- package/dist/partner.js +0 -1
- package/dist/partner.mjs +0 -1
- package/dist/products.js +0 -1
- package/dist/products.mjs +0 -1
- package/dist/ui.js +0 -1
- package/dist/ui.mjs +0 -1
- package/package.json +1 -1
- package/dist/chrome-model.css.map +0 -1
- package/dist/chrome-model.js.map +0 -1
- package/dist/chrome-model.mjs.map +0 -1
- package/dist/consultation-model.js.map +0 -1
- package/dist/consultation-model.mjs.map +0 -1
- package/dist/consultations.js.map +0 -1
- package/dist/consultations.mjs.map +0 -1
- package/dist/fees-model.js.map +0 -1
- package/dist/fees-model.mjs.map +0 -1
- package/dist/fees.js.map +0 -1
- package/dist/fees.mjs.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/page-templates.js.map +0 -1
- package/dist/page-templates.mjs.map +0 -1
- package/dist/partner.css.map +0 -1
- package/dist/partner.js.map +0 -1
- package/dist/partner.mjs.map +0 -1
- package/dist/products.js.map +0 -1
- package/dist/products.mjs.map +0 -1
- package/dist/ui.js.map +0 -1
- package/dist/ui.mjs.map +0 -1
package/dist/chrome-model.css
CHANGED
package/dist/chrome-model.js
CHANGED
package/dist/chrome-model.mjs
CHANGED
package/dist/consultations.js
CHANGED
package/dist/consultations.mjs
CHANGED
package/dist/fees-model.js
CHANGED
package/dist/fees-model.mjs
CHANGED
package/dist/fees.js
CHANGED
|
@@ -1125,27 +1125,27 @@ var feesTheme = {
|
|
|
1125
1125
|
]))
|
|
1126
1126
|
};
|
|
1127
1127
|
var EditorActions = import_styled_components6.default.div.withConfig({
|
|
1128
|
-
componentId: "sc-
|
|
1128
|
+
componentId: "sc-508961e9-0"
|
|
1129
1129
|
})([
|
|
1130
1130
|
`display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;`
|
|
1131
1131
|
]);
|
|
1132
1132
|
var EditGroup = import_styled_components6.default.div.withConfig({
|
|
1133
|
-
componentId: "sc-
|
|
1133
|
+
componentId: "sc-508961e9-1"
|
|
1134
1134
|
})([
|
|
1135
1135
|
`display:flex;flex-direction:column;gap:6px;`
|
|
1136
1136
|
]);
|
|
1137
1137
|
var HeaderGroup = (0, import_styled_components6.default)(EditGroup).withConfig({
|
|
1138
|
-
componentId: "sc-
|
|
1138
|
+
componentId: "sc-508961e9-2"
|
|
1139
1139
|
})([
|
|
1140
1140
|
`gap:8px;`
|
|
1141
1141
|
]);
|
|
1142
1142
|
var HeaderTitle = import_styled_components6.default.div.withConfig({
|
|
1143
|
-
componentId: "sc-
|
|
1143
|
+
componentId: "sc-508961e9-3"
|
|
1144
1144
|
})([
|
|
1145
1145
|
`display:flex;align-items:flex-start;min-height:var(--fees-header-title-height,36px);`
|
|
1146
1146
|
]);
|
|
1147
1147
|
var AlignedFeesTable = (0, import_styled_components6.default)(FeesAndMarginTable).withConfig({
|
|
1148
|
-
componentId: "sc-
|
|
1148
|
+
componentId: "sc-508961e9-4"
|
|
1149
1149
|
})([
|
|
1150
1150
|
`&[data-editable] th{vertical-align:top;}&&&[data-editable] thead > tr > th{font-size:`,
|
|
1151
1151
|
`px;line-height:1.4;}&&&[data-editable] tbody > tr > td{font-size:`,
|
|
@@ -1180,14 +1180,14 @@ var AlignedFeesTable = (0, import_styled_components6.default)(FeesAndMarginTable
|
|
|
1180
1180
|
}
|
|
1181
1181
|
`).join(""), ({ $typography }) => $typography?.thead?.fontSize ?? 8, ({ $typography }) => $typography?.thead?.fontSize ? 1.4 : "10px", ({ $typography }) => $typography?.tbody?.fontSize ?? 10, ({ $typography }) => $typography?.tbody?.fontSize ? 1.4 : "14px", ({ theme }) => theme.colors.accent.primary);
|
|
1182
1182
|
var FeesCellContent = import_styled_components6.default.span.withConfig({
|
|
1183
|
-
componentId: "sc-
|
|
1183
|
+
componentId: "sc-508961e9-5"
|
|
1184
1184
|
})([
|
|
1185
1185
|
`display:block;text-align:`,
|
|
1186
1186
|
`;@media (max-width:767px){text-align:`,
|
|
1187
1187
|
`;}`
|
|
1188
1188
|
], ({ $align, $alignRight }) => $align ?? ($alignRight ? "right" : "left"), ({ $align }) => $align ?? "left");
|
|
1189
1189
|
var EditorButton = import_styled_components6.default.button.withConfig({
|
|
1190
|
-
componentId: "sc-
|
|
1190
|
+
componentId: "sc-508961e9-6"
|
|
1191
1191
|
})([
|
|
1192
1192
|
`padding:7px 12px;border:1px solid `,
|
|
1193
1193
|
`;border-radius:6px;background:`,
|
|
@@ -1196,17 +1196,17 @@ var EditorButton = import_styled_components6.default.button.withConfig({
|
|
|
1196
1196
|
`;}&:disabled{cursor:default;opacity:.4;}`
|
|
1197
1197
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
1198
1198
|
var OrderActions = import_styled_components6.default.div.withConfig({
|
|
1199
|
-
componentId: "sc-
|
|
1199
|
+
componentId: "sc-508961e9-7"
|
|
1200
1200
|
})([
|
|
1201
1201
|
`display:flex;gap:6px;align-items:center;flex-wrap:wrap;`
|
|
1202
1202
|
]);
|
|
1203
1203
|
var PositionLabel = import_styled_components6.default.label.withConfig({
|
|
1204
|
-
componentId: "sc-
|
|
1204
|
+
componentId: "sc-508961e9-8"
|
|
1205
1205
|
})([
|
|
1206
1206
|
`display:inline-flex;align-items:center;gap:6px;font-size:12px;`
|
|
1207
1207
|
]);
|
|
1208
1208
|
var PositionInput = import_styled_components6.default.input.withConfig({
|
|
1209
|
-
componentId: "sc-
|
|
1209
|
+
componentId: "sc-508961e9-9"
|
|
1210
1210
|
})([
|
|
1211
1211
|
`width:56px;padding:5px;border:1px solid `,
|
|
1212
1212
|
`;border-radius:4px;background:`,
|
|
@@ -1215,18 +1215,18 @@ var PositionInput = import_styled_components6.default.input.withConfig({
|
|
|
1215
1215
|
`;}`
|
|
1216
1216
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
1217
1217
|
var ColumnRow = import_styled_components6.default.div.withConfig({
|
|
1218
|
-
componentId: "sc-
|
|
1218
|
+
componentId: "sc-508961e9-10"
|
|
1219
1219
|
})([
|
|
1220
1220
|
`display:flex;gap:12px;align-items:center;margin:16px 0;> textarea{flex:1;min-width:120px;}@media (max-width:600px){align-items:stretch;flex-direction:column;}`
|
|
1221
1221
|
]);
|
|
1222
1222
|
var PaginationControls = (0, import_styled_components6.default)(FeesAndMarginPagination).withConfig({
|
|
1223
|
-
componentId: "sc-
|
|
1223
|
+
componentId: "sc-508961e9-11"
|
|
1224
1224
|
})([
|
|
1225
1225
|
`align-items:center;flex-wrap:wrap;gap:16px 24px;color:`,
|
|
1226
1226
|
`;`
|
|
1227
1227
|
], ({ theme }) => theme.colors.text.primary);
|
|
1228
1228
|
var PageSizeLabel = import_styled_components6.default.div.withConfig({
|
|
1229
|
-
componentId: "sc-
|
|
1229
|
+
componentId: "sc-508961e9-12"
|
|
1230
1230
|
})([
|
|
1231
1231
|
`display:inline-flex;align-items:center;gap:8px;color:`,
|
|
1232
1232
|
`;font:inherit;font-size:13px;`
|
|
@@ -1254,12 +1254,12 @@ function Position({ value, max, label, onMove }) {
|
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
1256
|
var DeleteButton = (0, import_styled_components6.default)(EditorButton).withConfig({
|
|
1257
|
-
componentId: "sc-
|
|
1257
|
+
componentId: "sc-508961e9-13"
|
|
1258
1258
|
})([
|
|
1259
1259
|
`align-self:flex-start;padding:4px 8px;border:0;border-radius:4px;background:#d32f2f;color:#fff;font-size:11px;font-weight:600;line-height:16px;white-space:nowrap;text-decoration:none;&:hover{background:#b71c1c;}&:focus-visible{outline:2px solid #d32f2f;outline-offset:2px;}`
|
|
1260
1260
|
]);
|
|
1261
1261
|
var CellEditorInput = import_styled_components6.default.textarea.withConfig({
|
|
1262
|
-
componentId: "sc-
|
|
1262
|
+
componentId: "sc-508961e9-14"
|
|
1263
1263
|
})([
|
|
1264
1264
|
`display:block;box-sizing:border-box;width:100%;min-width:0;padding:3px;border:1px solid transparent;border-radius:3px;color:inherit;background:transparent;font:inherit;line-height:inherit;text-align:inherit;resize:none;overflow:hidden;&:hover{border-color:`,
|
|
1265
1265
|
`;}&:focus{outline:1px solid `,
|
|
@@ -1319,9 +1319,9 @@ function RowTagSelect({ selected, options, onChange, disabled = false }) {
|
|
|
1319
1319
|
value: selected,
|
|
1320
1320
|
disabled,
|
|
1321
1321
|
inputProps: {
|
|
1322
|
-
"aria-label": "Ch\u1ECDn
|
|
1322
|
+
"aria-label": "Ch\u1ECDn nh\xF3m"
|
|
1323
1323
|
},
|
|
1324
|
-
renderValue: (value) => value.length ? `\u0110\xE3 ch\u1ECDn ${value.length}
|
|
1324
|
+
renderValue: (value) => value.length ? `\u0110\xE3 ch\u1ECDn ${value.length} nh\xF3m` : "Ch\u1ECDn nh\xF3m\u2026",
|
|
1325
1325
|
MenuProps: {
|
|
1326
1326
|
container: () => selectRoot.current?.ownerDocument.body ?? document.body
|
|
1327
1327
|
},
|
|
@@ -1347,7 +1347,7 @@ function RowTagSelect({ selected, options, onChange, disabled = false }) {
|
|
|
1347
1347
|
}, item)),
|
|
1348
1348
|
!options.length && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_MenuItem.default, {
|
|
1349
1349
|
disabled: true,
|
|
1350
|
-
children: "Ch\u01B0a c\xF3
|
|
1350
|
+
children: "Ch\u01B0a c\xF3 nh\xF3m \u2014 d\xF9ng n\xFAt Th\xEAm nh\xF3m ph\xEDa tr\xEAn"
|
|
1351
1351
|
})
|
|
1352
1352
|
]
|
|
1353
1353
|
})
|
|
@@ -1709,7 +1709,7 @@ var FeesTable = /* @__PURE__ */ (0, import_react4.memo)(function FeesTable2({ va
|
|
|
1709
1709
|
key: "__tags",
|
|
1710
1710
|
title: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(HeaderGroup, {
|
|
1711
1711
|
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(HeaderTitle, {
|
|
1712
|
-
children: "
|
|
1712
|
+
children: "Nh\xF3m & th\u1EE9 t\u1EF1 d\xF2ng"
|
|
1713
1713
|
})
|
|
1714
1714
|
}),
|
|
1715
1715
|
width: 300,
|
|
@@ -1744,7 +1744,7 @@ var FeesTable = /* @__PURE__ */ (0, import_react4.memo)(function FeesTable2({ va
|
|
|
1744
1744
|
minWidth: 0
|
|
1745
1745
|
},
|
|
1746
1746
|
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TabCommon, {
|
|
1747
|
-
ariaLabel: "L\u1ECDc theo
|
|
1747
|
+
ariaLabel: "L\u1ECDc theo nh\xF3m",
|
|
1748
1748
|
size,
|
|
1749
1749
|
items: [
|
|
1750
1750
|
{
|
|
@@ -1849,7 +1849,7 @@ var FeesTable = /* @__PURE__ */ (0, import_react4.memo)(function FeesTable2({ va
|
|
|
1849
1849
|
setTagDraft("");
|
|
1850
1850
|
setCreateTagOpen(true);
|
|
1851
1851
|
},
|
|
1852
|
-
children: "+ Th\xEAm
|
|
1852
|
+
children: "+ Th\xEAm nh\xF3m"
|
|
1853
1853
|
})
|
|
1854
1854
|
]
|
|
1855
1855
|
}),
|
|
@@ -2228,18 +2228,18 @@ var FeesTable = /* @__PURE__ */ (0, import_react4.memo)(function FeesTable2({ va
|
|
|
2228
2228
|
children: [
|
|
2229
2229
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_DialogTitle.default, {
|
|
2230
2230
|
id: `${dialogId}-create-tag-title`,
|
|
2231
|
-
children: "T\u1EA1o
|
|
2231
|
+
children: "T\u1EA1o nh\xF3m m\u1EDBi"
|
|
2232
2232
|
}),
|
|
2233
2233
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_DialogContent.default, {
|
|
2234
2234
|
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_TextField.default, {
|
|
2235
2235
|
autoFocus: true,
|
|
2236
2236
|
fullWidth: true,
|
|
2237
2237
|
margin: "dense",
|
|
2238
|
-
label: "T\xEAn
|
|
2238
|
+
label: "T\xEAn nh\xF3m",
|
|
2239
2239
|
value: tagDraft,
|
|
2240
2240
|
onChange: (event) => setTagDraft(event.target.value),
|
|
2241
2241
|
error: duplicateTag,
|
|
2242
|
-
helperText: duplicateTag ? "
|
|
2242
|
+
helperText: duplicateTag ? "Nh\xF3m n\xE0y \u0111\xE3 t\u1ED3n t\u1EA1i." : "Nh\xF3m m\u1EDBi s\u1EBD c\xF3 trong danh s\xE1ch ch\u1ECDn c\u1EE7a t\u1EA5t c\u1EA3 h\xE0ng.",
|
|
2243
2243
|
onKeyDown: (event) => {
|
|
2244
2244
|
if (event.key === "Enter") {
|
|
2245
2245
|
event.preventDefault();
|
|
@@ -2258,7 +2258,7 @@ var FeesTable = /* @__PURE__ */ (0, import_react4.memo)(function FeesTable2({ va
|
|
|
2258
2258
|
variant: "contained",
|
|
2259
2259
|
disabled: !newTagName || duplicateTag,
|
|
2260
2260
|
onClick: createTag,
|
|
2261
|
-
children: "T\u1EA1o
|
|
2261
|
+
children: "T\u1EA1o nh\xF3m"
|
|
2262
2262
|
})
|
|
2263
2263
|
]
|
|
2264
2264
|
})
|
|
@@ -2423,4 +2423,3 @@ function FeesManager({
|
|
|
2423
2423
|
FeesManager,
|
|
2424
2424
|
FeesTable
|
|
2425
2425
|
});
|
|
2426
|
-
//# sourceMappingURL=fees.js.map
|
package/dist/fees.mjs
CHANGED
|
@@ -1089,27 +1089,27 @@ var feesTheme = {
|
|
|
1089
1089
|
]))
|
|
1090
1090
|
};
|
|
1091
1091
|
var EditorActions = styled6.div.withConfig({
|
|
1092
|
-
componentId: "sc-
|
|
1092
|
+
componentId: "sc-508961e9-0"
|
|
1093
1093
|
})([
|
|
1094
1094
|
`display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;`
|
|
1095
1095
|
]);
|
|
1096
1096
|
var EditGroup = styled6.div.withConfig({
|
|
1097
|
-
componentId: "sc-
|
|
1097
|
+
componentId: "sc-508961e9-1"
|
|
1098
1098
|
})([
|
|
1099
1099
|
`display:flex;flex-direction:column;gap:6px;`
|
|
1100
1100
|
]);
|
|
1101
1101
|
var HeaderGroup = styled6(EditGroup).withConfig({
|
|
1102
|
-
componentId: "sc-
|
|
1102
|
+
componentId: "sc-508961e9-2"
|
|
1103
1103
|
})([
|
|
1104
1104
|
`gap:8px;`
|
|
1105
1105
|
]);
|
|
1106
1106
|
var HeaderTitle = styled6.div.withConfig({
|
|
1107
|
-
componentId: "sc-
|
|
1107
|
+
componentId: "sc-508961e9-3"
|
|
1108
1108
|
})([
|
|
1109
1109
|
`display:flex;align-items:flex-start;min-height:var(--fees-header-title-height,36px);`
|
|
1110
1110
|
]);
|
|
1111
1111
|
var AlignedFeesTable = styled6(FeesAndMarginTable).withConfig({
|
|
1112
|
-
componentId: "sc-
|
|
1112
|
+
componentId: "sc-508961e9-4"
|
|
1113
1113
|
})([
|
|
1114
1114
|
`&[data-editable] th{vertical-align:top;}&&&[data-editable] thead > tr > th{font-size:`,
|
|
1115
1115
|
`px;line-height:1.4;}&&&[data-editable] tbody > tr > td{font-size:`,
|
|
@@ -1144,14 +1144,14 @@ var AlignedFeesTable = styled6(FeesAndMarginTable).withConfig({
|
|
|
1144
1144
|
}
|
|
1145
1145
|
`).join(""), ({ $typography }) => $typography?.thead?.fontSize ?? 8, ({ $typography }) => $typography?.thead?.fontSize ? 1.4 : "10px", ({ $typography }) => $typography?.tbody?.fontSize ?? 10, ({ $typography }) => $typography?.tbody?.fontSize ? 1.4 : "14px", ({ theme }) => theme.colors.accent.primary);
|
|
1146
1146
|
var FeesCellContent = styled6.span.withConfig({
|
|
1147
|
-
componentId: "sc-
|
|
1147
|
+
componentId: "sc-508961e9-5"
|
|
1148
1148
|
})([
|
|
1149
1149
|
`display:block;text-align:`,
|
|
1150
1150
|
`;@media (max-width:767px){text-align:`,
|
|
1151
1151
|
`;}`
|
|
1152
1152
|
], ({ $align, $alignRight }) => $align ?? ($alignRight ? "right" : "left"), ({ $align }) => $align ?? "left");
|
|
1153
1153
|
var EditorButton = styled6.button.withConfig({
|
|
1154
|
-
componentId: "sc-
|
|
1154
|
+
componentId: "sc-508961e9-6"
|
|
1155
1155
|
})([
|
|
1156
1156
|
`padding:7px 12px;border:1px solid `,
|
|
1157
1157
|
`;border-radius:6px;background:`,
|
|
@@ -1160,17 +1160,17 @@ var EditorButton = styled6.button.withConfig({
|
|
|
1160
1160
|
`;}&:disabled{cursor:default;opacity:.4;}`
|
|
1161
1161
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
1162
1162
|
var OrderActions = styled6.div.withConfig({
|
|
1163
|
-
componentId: "sc-
|
|
1163
|
+
componentId: "sc-508961e9-7"
|
|
1164
1164
|
})([
|
|
1165
1165
|
`display:flex;gap:6px;align-items:center;flex-wrap:wrap;`
|
|
1166
1166
|
]);
|
|
1167
1167
|
var PositionLabel = styled6.label.withConfig({
|
|
1168
|
-
componentId: "sc-
|
|
1168
|
+
componentId: "sc-508961e9-8"
|
|
1169
1169
|
})([
|
|
1170
1170
|
`display:inline-flex;align-items:center;gap:6px;font-size:12px;`
|
|
1171
1171
|
]);
|
|
1172
1172
|
var PositionInput = styled6.input.withConfig({
|
|
1173
|
-
componentId: "sc-
|
|
1173
|
+
componentId: "sc-508961e9-9"
|
|
1174
1174
|
})([
|
|
1175
1175
|
`width:56px;padding:5px;border:1px solid `,
|
|
1176
1176
|
`;border-radius:4px;background:`,
|
|
@@ -1179,18 +1179,18 @@ var PositionInput = styled6.input.withConfig({
|
|
|
1179
1179
|
`;}`
|
|
1180
1180
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
1181
1181
|
var ColumnRow = styled6.div.withConfig({
|
|
1182
|
-
componentId: "sc-
|
|
1182
|
+
componentId: "sc-508961e9-10"
|
|
1183
1183
|
})([
|
|
1184
1184
|
`display:flex;gap:12px;align-items:center;margin:16px 0;> textarea{flex:1;min-width:120px;}@media (max-width:600px){align-items:stretch;flex-direction:column;}`
|
|
1185
1185
|
]);
|
|
1186
1186
|
var PaginationControls = styled6(FeesAndMarginPagination).withConfig({
|
|
1187
|
-
componentId: "sc-
|
|
1187
|
+
componentId: "sc-508961e9-11"
|
|
1188
1188
|
})([
|
|
1189
1189
|
`align-items:center;flex-wrap:wrap;gap:16px 24px;color:`,
|
|
1190
1190
|
`;`
|
|
1191
1191
|
], ({ theme }) => theme.colors.text.primary);
|
|
1192
1192
|
var PageSizeLabel = styled6.div.withConfig({
|
|
1193
|
-
componentId: "sc-
|
|
1193
|
+
componentId: "sc-508961e9-12"
|
|
1194
1194
|
})([
|
|
1195
1195
|
`display:inline-flex;align-items:center;gap:8px;color:`,
|
|
1196
1196
|
`;font:inherit;font-size:13px;`
|
|
@@ -1218,12 +1218,12 @@ function Position({ value, max, label, onMove }) {
|
|
|
1218
1218
|
});
|
|
1219
1219
|
}
|
|
1220
1220
|
var DeleteButton = styled6(EditorButton).withConfig({
|
|
1221
|
-
componentId: "sc-
|
|
1221
|
+
componentId: "sc-508961e9-13"
|
|
1222
1222
|
})([
|
|
1223
1223
|
`align-self:flex-start;padding:4px 8px;border:0;border-radius:4px;background:#d32f2f;color:#fff;font-size:11px;font-weight:600;line-height:16px;white-space:nowrap;text-decoration:none;&:hover{background:#b71c1c;}&:focus-visible{outline:2px solid #d32f2f;outline-offset:2px;}`
|
|
1224
1224
|
]);
|
|
1225
1225
|
var CellEditorInput = styled6.textarea.withConfig({
|
|
1226
|
-
componentId: "sc-
|
|
1226
|
+
componentId: "sc-508961e9-14"
|
|
1227
1227
|
})([
|
|
1228
1228
|
`display:block;box-sizing:border-box;width:100%;min-width:0;padding:3px;border:1px solid transparent;border-radius:3px;color:inherit;background:transparent;font:inherit;line-height:inherit;text-align:inherit;resize:none;overflow:hidden;&:hover{border-color:`,
|
|
1229
1229
|
`;}&:focus{outline:1px solid `,
|
|
@@ -1283,9 +1283,9 @@ function RowTagSelect({ selected, options, onChange, disabled = false }) {
|
|
|
1283
1283
|
value: selected,
|
|
1284
1284
|
disabled,
|
|
1285
1285
|
inputProps: {
|
|
1286
|
-
"aria-label": "Ch\u1ECDn
|
|
1286
|
+
"aria-label": "Ch\u1ECDn nh\xF3m"
|
|
1287
1287
|
},
|
|
1288
|
-
renderValue: (value) => value.length ? `\u0110\xE3 ch\u1ECDn ${value.length}
|
|
1288
|
+
renderValue: (value) => value.length ? `\u0110\xE3 ch\u1ECDn ${value.length} nh\xF3m` : "Ch\u1ECDn nh\xF3m\u2026",
|
|
1289
1289
|
MenuProps: {
|
|
1290
1290
|
container: () => selectRoot.current?.ownerDocument.body ?? document.body
|
|
1291
1291
|
},
|
|
@@ -1311,7 +1311,7 @@ function RowTagSelect({ selected, options, onChange, disabled = false }) {
|
|
|
1311
1311
|
}, item)),
|
|
1312
1312
|
!options.length && /* @__PURE__ */ _jsx(MenuItem3, {
|
|
1313
1313
|
disabled: true,
|
|
1314
|
-
children: "Ch\u01B0a c\xF3
|
|
1314
|
+
children: "Ch\u01B0a c\xF3 nh\xF3m \u2014 d\xF9ng n\xFAt Th\xEAm nh\xF3m ph\xEDa tr\xEAn"
|
|
1315
1315
|
})
|
|
1316
1316
|
]
|
|
1317
1317
|
})
|
|
@@ -1673,7 +1673,7 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value, editable = fal
|
|
|
1673
1673
|
key: "__tags",
|
|
1674
1674
|
title: /* @__PURE__ */ _jsx(HeaderGroup, {
|
|
1675
1675
|
children: /* @__PURE__ */ _jsx(HeaderTitle, {
|
|
1676
|
-
children: "
|
|
1676
|
+
children: "Nh\xF3m & th\u1EE9 t\u1EF1 d\xF2ng"
|
|
1677
1677
|
})
|
|
1678
1678
|
}),
|
|
1679
1679
|
width: 300,
|
|
@@ -1708,7 +1708,7 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value, editable = fal
|
|
|
1708
1708
|
minWidth: 0
|
|
1709
1709
|
},
|
|
1710
1710
|
children: /* @__PURE__ */ _jsx(TabCommon, {
|
|
1711
|
-
ariaLabel: "L\u1ECDc theo
|
|
1711
|
+
ariaLabel: "L\u1ECDc theo nh\xF3m",
|
|
1712
1712
|
size,
|
|
1713
1713
|
items: [
|
|
1714
1714
|
{
|
|
@@ -1813,7 +1813,7 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value, editable = fal
|
|
|
1813
1813
|
setTagDraft("");
|
|
1814
1814
|
setCreateTagOpen(true);
|
|
1815
1815
|
},
|
|
1816
|
-
children: "+ Th\xEAm
|
|
1816
|
+
children: "+ Th\xEAm nh\xF3m"
|
|
1817
1817
|
})
|
|
1818
1818
|
]
|
|
1819
1819
|
}),
|
|
@@ -2192,18 +2192,18 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value, editable = fal
|
|
|
2192
2192
|
children: [
|
|
2193
2193
|
/* @__PURE__ */ _jsx(DialogTitle, {
|
|
2194
2194
|
id: `${dialogId}-create-tag-title`,
|
|
2195
|
-
children: "T\u1EA1o
|
|
2195
|
+
children: "T\u1EA1o nh\xF3m m\u1EDBi"
|
|
2196
2196
|
}),
|
|
2197
2197
|
/* @__PURE__ */ _jsx(DialogContent, {
|
|
2198
2198
|
children: /* @__PURE__ */ _jsx(TextField3, {
|
|
2199
2199
|
autoFocus: true,
|
|
2200
2200
|
fullWidth: true,
|
|
2201
2201
|
margin: "dense",
|
|
2202
|
-
label: "T\xEAn
|
|
2202
|
+
label: "T\xEAn nh\xF3m",
|
|
2203
2203
|
value: tagDraft,
|
|
2204
2204
|
onChange: (event) => setTagDraft(event.target.value),
|
|
2205
2205
|
error: duplicateTag,
|
|
2206
|
-
helperText: duplicateTag ? "
|
|
2206
|
+
helperText: duplicateTag ? "Nh\xF3m n\xE0y \u0111\xE3 t\u1ED3n t\u1EA1i." : "Nh\xF3m m\u1EDBi s\u1EBD c\xF3 trong danh s\xE1ch ch\u1ECDn c\u1EE7a t\u1EA5t c\u1EA3 h\xE0ng.",
|
|
2207
2207
|
onKeyDown: (event) => {
|
|
2208
2208
|
if (event.key === "Enter") {
|
|
2209
2209
|
event.preventDefault();
|
|
@@ -2222,7 +2222,7 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value, editable = fal
|
|
|
2222
2222
|
variant: "contained",
|
|
2223
2223
|
disabled: !newTagName || duplicateTag,
|
|
2224
2224
|
onClick: createTag,
|
|
2225
|
-
children: "T\u1EA1o
|
|
2225
|
+
children: "T\u1EA1o nh\xF3m"
|
|
2226
2226
|
})
|
|
2227
2227
|
]
|
|
2228
2228
|
})
|
|
@@ -2386,4 +2386,3 @@ export {
|
|
|
2386
2386
|
FeesManager,
|
|
2387
2387
|
FeesTable
|
|
2388
2388
|
};
|
|
2389
|
-
//# sourceMappingURL=fees.mjs.map
|
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -11152,27 +11152,27 @@ var feesTheme = {
|
|
|
11152
11152
|
]))
|
|
11153
11153
|
};
|
|
11154
11154
|
var EditorActions = import_styled_components14.default.div.withConfig({
|
|
11155
|
-
componentId: "sc-
|
|
11155
|
+
componentId: "sc-508961e9-0"
|
|
11156
11156
|
})([
|
|
11157
11157
|
`display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;`
|
|
11158
11158
|
]);
|
|
11159
11159
|
var EditGroup = import_styled_components14.default.div.withConfig({
|
|
11160
|
-
componentId: "sc-
|
|
11160
|
+
componentId: "sc-508961e9-1"
|
|
11161
11161
|
})([
|
|
11162
11162
|
`display:flex;flex-direction:column;gap:6px;`
|
|
11163
11163
|
]);
|
|
11164
11164
|
var HeaderGroup = (0, import_styled_components14.default)(EditGroup).withConfig({
|
|
11165
|
-
componentId: "sc-
|
|
11165
|
+
componentId: "sc-508961e9-2"
|
|
11166
11166
|
})([
|
|
11167
11167
|
`gap:8px;`
|
|
11168
11168
|
]);
|
|
11169
11169
|
var HeaderTitle = import_styled_components14.default.div.withConfig({
|
|
11170
|
-
componentId: "sc-
|
|
11170
|
+
componentId: "sc-508961e9-3"
|
|
11171
11171
|
})([
|
|
11172
11172
|
`display:flex;align-items:flex-start;min-height:var(--fees-header-title-height,36px);`
|
|
11173
11173
|
]);
|
|
11174
11174
|
var AlignedFeesTable = (0, import_styled_components14.default)(FeesAndMarginTable).withConfig({
|
|
11175
|
-
componentId: "sc-
|
|
11175
|
+
componentId: "sc-508961e9-4"
|
|
11176
11176
|
})([
|
|
11177
11177
|
`&[data-editable] th{vertical-align:top;}&&&[data-editable] thead > tr > th{font-size:`,
|
|
11178
11178
|
`px;line-height:1.4;}&&&[data-editable] tbody > tr > td{font-size:`,
|
|
@@ -11207,14 +11207,14 @@ var AlignedFeesTable = (0, import_styled_components14.default)(FeesAndMarginTabl
|
|
|
11207
11207
|
}
|
|
11208
11208
|
`).join(""), ({ $typography }) => $typography?.thead?.fontSize ?? 8, ({ $typography }) => $typography?.thead?.fontSize ? 1.4 : "10px", ({ $typography }) => $typography?.tbody?.fontSize ?? 10, ({ $typography }) => $typography?.tbody?.fontSize ? 1.4 : "14px", ({ theme }) => theme.colors.accent.primary);
|
|
11209
11209
|
var FeesCellContent = import_styled_components14.default.span.withConfig({
|
|
11210
|
-
componentId: "sc-
|
|
11210
|
+
componentId: "sc-508961e9-5"
|
|
11211
11211
|
})([
|
|
11212
11212
|
`display:block;text-align:`,
|
|
11213
11213
|
`;@media (max-width:767px){text-align:`,
|
|
11214
11214
|
`;}`
|
|
11215
11215
|
], ({ $align, $alignRight }) => $align ?? ($alignRight ? "right" : "left"), ({ $align }) => $align ?? "left");
|
|
11216
11216
|
var EditorButton = import_styled_components14.default.button.withConfig({
|
|
11217
|
-
componentId: "sc-
|
|
11217
|
+
componentId: "sc-508961e9-6"
|
|
11218
11218
|
})([
|
|
11219
11219
|
`padding:7px 12px;border:1px solid `,
|
|
11220
11220
|
`;border-radius:6px;background:`,
|
|
@@ -11223,17 +11223,17 @@ var EditorButton = import_styled_components14.default.button.withConfig({
|
|
|
11223
11223
|
`;}&:disabled{cursor:default;opacity:.4;}`
|
|
11224
11224
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
11225
11225
|
var OrderActions = import_styled_components14.default.div.withConfig({
|
|
11226
|
-
componentId: "sc-
|
|
11226
|
+
componentId: "sc-508961e9-7"
|
|
11227
11227
|
})([
|
|
11228
11228
|
`display:flex;gap:6px;align-items:center;flex-wrap:wrap;`
|
|
11229
11229
|
]);
|
|
11230
11230
|
var PositionLabel = import_styled_components14.default.label.withConfig({
|
|
11231
|
-
componentId: "sc-
|
|
11231
|
+
componentId: "sc-508961e9-8"
|
|
11232
11232
|
})([
|
|
11233
11233
|
`display:inline-flex;align-items:center;gap:6px;font-size:12px;`
|
|
11234
11234
|
]);
|
|
11235
11235
|
var PositionInput = import_styled_components14.default.input.withConfig({
|
|
11236
|
-
componentId: "sc-
|
|
11236
|
+
componentId: "sc-508961e9-9"
|
|
11237
11237
|
})([
|
|
11238
11238
|
`width:56px;padding:5px;border:1px solid `,
|
|
11239
11239
|
`;border-radius:4px;background:`,
|
|
@@ -11242,18 +11242,18 @@ var PositionInput = import_styled_components14.default.input.withConfig({
|
|
|
11242
11242
|
`;}`
|
|
11243
11243
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
|
|
11244
11244
|
var ColumnRow = import_styled_components14.default.div.withConfig({
|
|
11245
|
-
componentId: "sc-
|
|
11245
|
+
componentId: "sc-508961e9-10"
|
|
11246
11246
|
})([
|
|
11247
11247
|
`display:flex;gap:12px;align-items:center;margin:16px 0;> textarea{flex:1;min-width:120px;}@media (max-width:600px){align-items:stretch;flex-direction:column;}`
|
|
11248
11248
|
]);
|
|
11249
11249
|
var PaginationControls = (0, import_styled_components14.default)(FeesAndMarginPagination).withConfig({
|
|
11250
|
-
componentId: "sc-
|
|
11250
|
+
componentId: "sc-508961e9-11"
|
|
11251
11251
|
})([
|
|
11252
11252
|
`align-items:center;flex-wrap:wrap;gap:16px 24px;color:`,
|
|
11253
11253
|
`;`
|
|
11254
11254
|
], ({ theme }) => theme.colors.text.primary);
|
|
11255
11255
|
var PageSizeLabel = import_styled_components14.default.div.withConfig({
|
|
11256
|
-
componentId: "sc-
|
|
11256
|
+
componentId: "sc-508961e9-12"
|
|
11257
11257
|
})([
|
|
11258
11258
|
`display:inline-flex;align-items:center;gap:8px;color:`,
|
|
11259
11259
|
`;font:inherit;font-size:13px;`
|
|
@@ -11281,12 +11281,12 @@ function Position({ value: value4, max, label, onMove }) {
|
|
|
11281
11281
|
});
|
|
11282
11282
|
}
|
|
11283
11283
|
var DeleteButton = (0, import_styled_components14.default)(EditorButton).withConfig({
|
|
11284
|
-
componentId: "sc-
|
|
11284
|
+
componentId: "sc-508961e9-13"
|
|
11285
11285
|
})([
|
|
11286
11286
|
`align-self:flex-start;padding:4px 8px;border:0;border-radius:4px;background:#d32f2f;color:#fff;font-size:11px;font-weight:600;line-height:16px;white-space:nowrap;text-decoration:none;&:hover{background:#b71c1c;}&:focus-visible{outline:2px solid #d32f2f;outline-offset:2px;}`
|
|
11287
11287
|
]);
|
|
11288
11288
|
var CellEditorInput = import_styled_components14.default.textarea.withConfig({
|
|
11289
|
-
componentId: "sc-
|
|
11289
|
+
componentId: "sc-508961e9-14"
|
|
11290
11290
|
})([
|
|
11291
11291
|
`display:block;box-sizing:border-box;width:100%;min-width:0;padding:3px;border:1px solid transparent;border-radius:3px;color:inherit;background:transparent;font:inherit;line-height:inherit;text-align:inherit;resize:none;overflow:hidden;&:hover{border-color:`,
|
|
11292
11292
|
`;}&:focus{outline:1px solid `,
|
|
@@ -11346,9 +11346,9 @@ function RowTagSelect({ selected, options, onChange, disabled = false }) {
|
|
|
11346
11346
|
value: selected,
|
|
11347
11347
|
disabled,
|
|
11348
11348
|
inputProps: {
|
|
11349
|
-
"aria-label": "Ch\u1ECDn
|
|
11349
|
+
"aria-label": "Ch\u1ECDn nh\xF3m"
|
|
11350
11350
|
},
|
|
11351
|
-
renderValue: (value4) => value4.length ? `\u0110\xE3 ch\u1ECDn ${value4.length}
|
|
11351
|
+
renderValue: (value4) => value4.length ? `\u0110\xE3 ch\u1ECDn ${value4.length} nh\xF3m` : "Ch\u1ECDn nh\xF3m\u2026",
|
|
11352
11352
|
MenuProps: {
|
|
11353
11353
|
container: () => selectRoot.current?.ownerDocument.body ?? document.body
|
|
11354
11354
|
},
|
|
@@ -11374,7 +11374,7 @@ function RowTagSelect({ selected, options, onChange, disabled = false }) {
|
|
|
11374
11374
|
}, item)),
|
|
11375
11375
|
!options.length && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_MenuItem2.default, {
|
|
11376
11376
|
disabled: true,
|
|
11377
|
-
children: "Ch\u01B0a c\xF3
|
|
11377
|
+
children: "Ch\u01B0a c\xF3 nh\xF3m \u2014 d\xF9ng n\xFAt Th\xEAm nh\xF3m ph\xEDa tr\xEAn"
|
|
11378
11378
|
})
|
|
11379
11379
|
]
|
|
11380
11380
|
})
|
|
@@ -11736,7 +11736,7 @@ var FeesTable = /* @__PURE__ */ (0, import_react25.memo)(function FeesTable2({ v
|
|
|
11736
11736
|
key: "__tags",
|
|
11737
11737
|
title: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(HeaderGroup, {
|
|
11738
11738
|
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(HeaderTitle, {
|
|
11739
|
-
children: "
|
|
11739
|
+
children: "Nh\xF3m & th\u1EE9 t\u1EF1 d\xF2ng"
|
|
11740
11740
|
})
|
|
11741
11741
|
}),
|
|
11742
11742
|
width: 300,
|
|
@@ -11771,7 +11771,7 @@ var FeesTable = /* @__PURE__ */ (0, import_react25.memo)(function FeesTable2({ v
|
|
|
11771
11771
|
minWidth: 0
|
|
11772
11772
|
},
|
|
11773
11773
|
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TabCommon, {
|
|
11774
|
-
ariaLabel: "L\u1ECDc theo
|
|
11774
|
+
ariaLabel: "L\u1ECDc theo nh\xF3m",
|
|
11775
11775
|
size,
|
|
11776
11776
|
items: [
|
|
11777
11777
|
{
|
|
@@ -11876,7 +11876,7 @@ var FeesTable = /* @__PURE__ */ (0, import_react25.memo)(function FeesTable2({ v
|
|
|
11876
11876
|
setTagDraft("");
|
|
11877
11877
|
setCreateTagOpen(true);
|
|
11878
11878
|
},
|
|
11879
|
-
children: "+ Th\xEAm
|
|
11879
|
+
children: "+ Th\xEAm nh\xF3m"
|
|
11880
11880
|
})
|
|
11881
11881
|
]
|
|
11882
11882
|
}),
|
|
@@ -12255,18 +12255,18 @@ var FeesTable = /* @__PURE__ */ (0, import_react25.memo)(function FeesTable2({ v
|
|
|
12255
12255
|
children: [
|
|
12256
12256
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_DialogTitle.default, {
|
|
12257
12257
|
id: `${dialogId}-create-tag-title`,
|
|
12258
|
-
children: "T\u1EA1o
|
|
12258
|
+
children: "T\u1EA1o nh\xF3m m\u1EDBi"
|
|
12259
12259
|
}),
|
|
12260
12260
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_DialogContent.default, {
|
|
12261
12261
|
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_TextField2.default, {
|
|
12262
12262
|
autoFocus: true,
|
|
12263
12263
|
fullWidth: true,
|
|
12264
12264
|
margin: "dense",
|
|
12265
|
-
label: "T\xEAn
|
|
12265
|
+
label: "T\xEAn nh\xF3m",
|
|
12266
12266
|
value: tagDraft,
|
|
12267
12267
|
onChange: (event) => setTagDraft(event.target.value),
|
|
12268
12268
|
error: duplicateTag,
|
|
12269
|
-
helperText: duplicateTag ? "
|
|
12269
|
+
helperText: duplicateTag ? "Nh\xF3m n\xE0y \u0111\xE3 t\u1ED3n t\u1EA1i." : "Nh\xF3m m\u1EDBi s\u1EBD c\xF3 trong danh s\xE1ch ch\u1ECDn c\u1EE7a t\u1EA5t c\u1EA3 h\xE0ng.",
|
|
12270
12270
|
onKeyDown: (event) => {
|
|
12271
12271
|
if (event.key === "Enter") {
|
|
12272
12272
|
event.preventDefault();
|
|
@@ -12285,7 +12285,7 @@ var FeesTable = /* @__PURE__ */ (0, import_react25.memo)(function FeesTable2({ v
|
|
|
12285
12285
|
variant: "contained",
|
|
12286
12286
|
disabled: !newTagName || duplicateTag,
|
|
12287
12287
|
onClick: createTag,
|
|
12288
|
-
children: "T\u1EA1o
|
|
12288
|
+
children: "T\u1EA1o nh\xF3m"
|
|
12289
12289
|
})
|
|
12290
12290
|
]
|
|
12291
12291
|
})
|
|
@@ -20282,4 +20282,3 @@ var wikexCmsBlocks = sourceCmsBlocks.map((block) => {
|
|
|
20282
20282
|
wikexComponents,
|
|
20283
20283
|
wikexPartnerBlocks
|
|
20284
20284
|
});
|
|
20285
|
-
//# sourceMappingURL=index.js.map
|