@enyxs/wikex-components 0.11.23 → 0.11.24
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/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +70 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +131 -94
- package/dist/index.mjs.map +1 -1
- package/dist/manifest.json +7 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import Typography2 from "@mui/material/Typography";
|
|
|
13
13
|
import { createContext as createContext3, useContext as useContext3 } from "react";
|
|
14
14
|
|
|
15
15
|
// src/shared/elements.tsx
|
|
16
|
-
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
17
|
import { Children, cloneElement, createContext, createElement, isValidElement, useContext, useMemo } from "react";
|
|
18
18
|
import styled2 from "styled-components";
|
|
19
19
|
|
|
@@ -100,6 +100,32 @@ var InlineLink = styled.span.withConfig({
|
|
|
100
100
|
// src/shared/elements.tsx
|
|
101
101
|
var CMS_EMPTY_IMAGE = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='1'/%3E";
|
|
102
102
|
var CMS_ELEMENTS_FIELD = "__cmsElements";
|
|
103
|
+
var CMS_LIST_MARKERS = [
|
|
104
|
+
"disc",
|
|
105
|
+
"circle",
|
|
106
|
+
"square",
|
|
107
|
+
"decimal",
|
|
108
|
+
"lower-alpha",
|
|
109
|
+
"lower-roman",
|
|
110
|
+
"accent-triangle",
|
|
111
|
+
"accent-disc",
|
|
112
|
+
"accent-circle",
|
|
113
|
+
"accent-square",
|
|
114
|
+
"accent-decimal"
|
|
115
|
+
];
|
|
116
|
+
function cmsListMarkerType(marker) {
|
|
117
|
+
return [
|
|
118
|
+
"decimal",
|
|
119
|
+
"lower-alpha",
|
|
120
|
+
"lower-roman",
|
|
121
|
+
"accent-decimal"
|
|
122
|
+
].includes(marker) ? "ol" : "ul";
|
|
123
|
+
}
|
|
124
|
+
function cmsListAnchor(listId) {
|
|
125
|
+
return listId.startsWith("text.") ? listId.slice(5) : `list:${listId}`;
|
|
126
|
+
}
|
|
127
|
+
var LIST_ACCENT = "#f9bb3a";
|
|
128
|
+
var ACCENT_TRIANGLE = `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='9' viewBox='0 0 8 9' fill='none'%3E%3Cpath d='M1.84745 0.186474L6.93777 3.33107C7.46843 3.66519 7.62566 4.27445 7.42912 4.78545C7.3505 4.98199 7.23258 5.15887 7.0557 5.29645C7.01639 5.3161 6.97708 5.35541 6.93777 5.37507L1.84745 8.51967C1.45438 8.75551 1.022 8.75551 0.668228 8.57863C0.275153 8.38209 -3.12842e-08 7.98901 -5.27615e-08 7.49767L-3.27671e-07 1.20847C-3.35403e-07 1.03158 0.0393072 0.874354 0.0982684 0.717124C0.373421 0.0882044 1.17922 -0.226255 1.84745 0.186474Z' fill='%23F9BB3A'/%3E%3C/svg%3E")`;
|
|
103
129
|
function parseCmsElements(value4) {
|
|
104
130
|
const result = {
|
|
105
131
|
hidden: [],
|
|
@@ -156,14 +182,7 @@ function parseCmsElements(value4) {
|
|
|
156
182
|
...list.type === "ul" || list.type === "ol" ? {
|
|
157
183
|
type: list.type
|
|
158
184
|
} : {},
|
|
159
|
-
...typeof list.marker === "string" &&
|
|
160
|
-
"disc",
|
|
161
|
-
"circle",
|
|
162
|
-
"square",
|
|
163
|
-
"decimal",
|
|
164
|
-
"lower-alpha",
|
|
165
|
-
"lower-roman"
|
|
166
|
-
].includes(list.marker) ? {
|
|
185
|
+
...typeof list.marker === "string" && CMS_LIST_MARKERS.includes(list.marker) ? {
|
|
167
186
|
marker: list.marker
|
|
168
187
|
} : {}
|
|
169
188
|
};
|
|
@@ -234,18 +253,20 @@ function CmsTextList({ field, type, children }) {
|
|
|
234
253
|
});
|
|
235
254
|
}
|
|
236
255
|
var NativeList = styled2.ul.withConfig({
|
|
237
|
-
componentId: "sc-
|
|
256
|
+
componentId: "sc-28cc1baf-0"
|
|
238
257
|
})([
|
|
239
|
-
`> li{display:list-item !important;padding-left:0 !important;}> li::before{content:none !important;}
|
|
240
|
-
]);
|
|
258
|
+
`> li{display:list-item !important;padding-left:0 !important;}> li::before{content:none !important;}&[data-cms-list-marker^="accent-"] > li::marker{color:`,
|
|
259
|
+
`;}&[data-cms-list-marker="accent-decimal"] > li::marker{font-weight:700;}&[data-cms-list-marker="accent-triangle"] > li{position:relative;padding-left:20px !important;}&[data-cms-list-marker="accent-triangle"] > li::before{position:absolute;top:0.5em;top:calc(0.5lh - 4.5px);left:0;width:8px;height:9px;background:`,
|
|
260
|
+
` no-repeat;content:"" !important;}`
|
|
261
|
+
], LIST_ACCENT, ACCENT_TRIANGLE);
|
|
241
262
|
function CmsTemplateList({ cmsAs, cmsId, children }) {
|
|
242
263
|
const context = useContext(ElementContext);
|
|
243
264
|
const templates = Children.toArray(children).filter(isValidElement);
|
|
244
265
|
const stored = context?.state.lists[cmsId];
|
|
245
266
|
const order = stored?.order ?? templates.map((_, index) => String(index));
|
|
246
267
|
const items = order.flatMap((id) => {
|
|
247
|
-
const
|
|
248
|
-
const template = templates[
|
|
268
|
+
const added2 = stored?.added[id];
|
|
269
|
+
const template = templates[added2?.template ?? Number(id)];
|
|
249
270
|
if (!template) return [];
|
|
250
271
|
const attributes = {
|
|
251
272
|
key: id,
|
|
@@ -257,7 +278,7 @@ function CmsTemplateList({ cmsAs, cmsId, children }) {
|
|
|
257
278
|
}
|
|
258
279
|
} : {}
|
|
259
280
|
};
|
|
260
|
-
if (!
|
|
281
|
+
if (!added2) return [
|
|
261
282
|
/* @__PURE__ */ cloneElement(template, attributes)
|
|
262
283
|
];
|
|
263
284
|
const text2 = /* @__PURE__ */ _jsx(EditableText, {
|
|
@@ -266,8 +287,8 @@ function CmsTemplateList({ cmsAs, cmsId, children }) {
|
|
|
266
287
|
font: "inherit",
|
|
267
288
|
display: "block"
|
|
268
289
|
},
|
|
269
|
-
field:
|
|
270
|
-
value: context?.content[
|
|
290
|
+
field: added2.field,
|
|
291
|
+
value: context?.content[added2.field] ?? "M\u1EE5c m\u1EDBi",
|
|
271
292
|
editable: context?.editable,
|
|
272
293
|
onChange: context?.onChange
|
|
273
294
|
});
|
|
@@ -278,19 +299,30 @@ function CmsTemplateList({ cmsAs, cmsId, children }) {
|
|
|
278
299
|
}, text2)
|
|
279
300
|
];
|
|
280
301
|
});
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
302
|
+
const added = cmsId.startsWith("text.") ? null : /* @__PURE__ */ _jsx(CmsAddedElements, {
|
|
303
|
+
field: cmsListAnchor(cmsId)
|
|
304
|
+
});
|
|
305
|
+
if (!items.length) return added;
|
|
306
|
+
const marker = stored?.marker;
|
|
307
|
+
const list = /* @__PURE__ */ createElement(stored?.type || marker ? NativeList : cmsAs, {
|
|
308
|
+
...stored?.type || marker ? {
|
|
284
309
|
as: cmsAs,
|
|
285
|
-
forwardedAs: stored?.type ?? (
|
|
310
|
+
forwardedAs: stored?.type ?? cmsListMarkerType(marker ?? ""),
|
|
311
|
+
"data-cms-list-marker": marker,
|
|
286
312
|
style: {
|
|
287
|
-
listStyleType:
|
|
313
|
+
listStyleType: marker === "accent-triangle" ? "none" : marker?.replace(/^accent-/, "") ?? (stored?.type === "ol" ? "decimal" : "disc")
|
|
288
314
|
}
|
|
289
315
|
} : {},
|
|
290
316
|
"data-cms-list-id": cmsId,
|
|
291
317
|
"data-cms-list-order": JSON.stringify(order),
|
|
292
318
|
"data-cms-list-template-count": templates.length
|
|
293
319
|
}, items);
|
|
320
|
+
return /* @__PURE__ */ _jsxs(_Fragment, {
|
|
321
|
+
children: [
|
|
322
|
+
list,
|
|
323
|
+
added
|
|
324
|
+
]
|
|
325
|
+
});
|
|
294
326
|
}
|
|
295
327
|
|
|
296
328
|
// src/shared/text-block.tsx
|
|
@@ -605,6 +637,7 @@ function EditableImage({
|
|
|
605
637
|
}) {
|
|
606
638
|
const normalizedSrc = src.trim();
|
|
607
639
|
const hidden = useCmsElementHidden(field);
|
|
640
|
+
if (hidden) return null;
|
|
608
641
|
return /* @__PURE__ */ jsxs(
|
|
609
642
|
Box,
|
|
610
643
|
{
|
|
@@ -616,7 +649,7 @@ function EditableImage({
|
|
|
616
649
|
...sx
|
|
617
650
|
},
|
|
618
651
|
children: [
|
|
619
|
-
|
|
652
|
+
normalizedSrc ? /* @__PURE__ */ jsx3(
|
|
620
653
|
Box,
|
|
621
654
|
{
|
|
622
655
|
component: "img",
|
|
@@ -640,7 +673,7 @@ function EditableImage({
|
|
|
640
673
|
children: "Ch\u01B0a c\xF3 \u1EA3nh"
|
|
641
674
|
}
|
|
642
675
|
),
|
|
643
|
-
editable &&
|
|
676
|
+
editable && /* @__PURE__ */ jsx3(
|
|
644
677
|
Button,
|
|
645
678
|
{
|
|
646
679
|
"data-cms-image-field": field,
|
|
@@ -5660,7 +5693,7 @@ var PageShell = styled4.main.withConfig({
|
|
|
5660
5693
|
], drawBenefitLine, drawBenefitRect, drawBenefitRect, writeWithBenefitPen, strikeWithBenefitGavel, drawBenefitSquare, assembleProductSegment, benefitTwoWayUp, benefitTwoWayDown, WikiLogo);
|
|
5661
5694
|
|
|
5662
5695
|
// src/commodity-original/app/about-us/AboutUsSections.tsx
|
|
5663
|
-
import { jsx as _jsx2, jsxs as
|
|
5696
|
+
import { jsx as _jsx2, jsxs as _jsxs2 } from "react/jsx-runtime";
|
|
5664
5697
|
import Image3 from "next/image.js";
|
|
5665
5698
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
5666
5699
|
import styled6 from "styled-components";
|
|
@@ -7164,7 +7197,7 @@ function AboutHeroSection() {
|
|
|
7164
7197
|
position: "relative",
|
|
7165
7198
|
"--wikex-about-hero-background": `url("${heroBackground}")`
|
|
7166
7199
|
};
|
|
7167
|
-
return /* @__PURE__ */
|
|
7200
|
+
return /* @__PURE__ */ _jsxs2(HeroSection, {
|
|
7168
7201
|
className: "wikex-cms-image-host",
|
|
7169
7202
|
style: heroStyle,
|
|
7170
7203
|
"aria-labelledby": "about-us-hero-title",
|
|
@@ -7185,7 +7218,7 @@ function AboutHeroSection() {
|
|
|
7185
7218
|
function AboutIntroSection() {
|
|
7186
7219
|
const { t } = useTranslation2();
|
|
7187
7220
|
const teamImage = useCmsImage("aboutTeamImage", "/about-us/team_img.webp");
|
|
7188
|
-
return /* @__PURE__ */
|
|
7221
|
+
return /* @__PURE__ */ _jsxs2(IntroSection, {
|
|
7189
7222
|
"aria-labelledby": "about-us-intro-title",
|
|
7190
7223
|
children: [
|
|
7191
7224
|
/* @__PURE__ */ _jsx2(ExactText, {
|
|
@@ -7193,9 +7226,9 @@ function AboutIntroSection() {
|
|
|
7193
7226
|
id: "about-us-intro-title",
|
|
7194
7227
|
children: t("aboutUs.intro.title")
|
|
7195
7228
|
}),
|
|
7196
|
-
/* @__PURE__ */
|
|
7229
|
+
/* @__PURE__ */ _jsxs2(IntroContent, {
|
|
7197
7230
|
children: [
|
|
7198
|
-
/* @__PURE__ */
|
|
7231
|
+
/* @__PURE__ */ _jsxs2(IntroIllustration, {
|
|
7199
7232
|
className: "wikex-cms-image-host",
|
|
7200
7233
|
style: {
|
|
7201
7234
|
position: "relative"
|
|
@@ -7215,9 +7248,9 @@ function AboutIntroSection() {
|
|
|
7215
7248
|
})
|
|
7216
7249
|
]
|
|
7217
7250
|
}),
|
|
7218
|
-
/* @__PURE__ */
|
|
7251
|
+
/* @__PURE__ */ _jsxs2(IntroCopy, {
|
|
7219
7252
|
children: [
|
|
7220
|
-
/* @__PURE__ */
|
|
7253
|
+
/* @__PURE__ */ _jsxs2("p", {
|
|
7221
7254
|
children: [
|
|
7222
7255
|
t("aboutUs.intro.leadPrefix"),
|
|
7223
7256
|
" ",
|
|
@@ -7251,7 +7284,7 @@ function AboutIntroSection() {
|
|
|
7251
7284
|
function AboutVisionMissionSection() {
|
|
7252
7285
|
const { t } = useTranslation2();
|
|
7253
7286
|
const missionItemCount = useCmsListCount("aboutUs.visionMission.mission.items.__count", missionItems.length);
|
|
7254
|
-
return /* @__PURE__ */
|
|
7287
|
+
return /* @__PURE__ */ _jsxs2(VisionMissionSection, {
|
|
7255
7288
|
"aria-labelledby": "about-us-vision-title",
|
|
7256
7289
|
children: [
|
|
7257
7290
|
/* @__PURE__ */ _jsx2(ExactText, {
|
|
@@ -7259,10 +7292,10 @@ function AboutVisionMissionSection() {
|
|
|
7259
7292
|
id: "about-us-vision-title",
|
|
7260
7293
|
children: t("aboutUs.visionMission.title")
|
|
7261
7294
|
}),
|
|
7262
|
-
/* @__PURE__ */
|
|
7295
|
+
/* @__PURE__ */ _jsxs2(VisionMissionGrid, {
|
|
7263
7296
|
children: [
|
|
7264
7297
|
/* @__PURE__ */ _jsx2(VisionCard, {
|
|
7265
|
-
children: /* @__PURE__ */
|
|
7298
|
+
children: /* @__PURE__ */ _jsxs2(VisionCardBody, {
|
|
7266
7299
|
children: [
|
|
7267
7300
|
/* @__PURE__ */ _jsx2(ExactText, {
|
|
7268
7301
|
cmsAs: VisionCardTitle,
|
|
@@ -7276,7 +7309,7 @@ function AboutVisionMissionSection() {
|
|
|
7276
7309
|
})
|
|
7277
7310
|
}),
|
|
7278
7311
|
/* @__PURE__ */ _jsx2(VisionCard, {
|
|
7279
|
-
children: /* @__PURE__ */
|
|
7312
|
+
children: /* @__PURE__ */ _jsxs2(VisionCardBody, {
|
|
7280
7313
|
children: [
|
|
7281
7314
|
/* @__PURE__ */ _jsx2(ExactText, {
|
|
7282
7315
|
cmsAs: VisionCardTitle,
|
|
@@ -7289,7 +7322,7 @@ function AboutVisionMissionSection() {
|
|
|
7289
7322
|
/* @__PURE__ */ _jsx2("ul", {
|
|
7290
7323
|
children: Array.from({
|
|
7291
7324
|
length: missionItemCount
|
|
7292
|
-
}, (_, index) => /* @__PURE__ */
|
|
7325
|
+
}, (_, index) => /* @__PURE__ */ _jsxs2("li", {
|
|
7293
7326
|
children: [
|
|
7294
7327
|
/* @__PURE__ */ _jsx2(ExactText, {
|
|
7295
7328
|
cmsAs: "strong",
|
|
@@ -7312,7 +7345,7 @@ function AboutVisionMissionSection() {
|
|
|
7312
7345
|
function AboutCoreValuesSection() {
|
|
7313
7346
|
const { t } = useTranslation2();
|
|
7314
7347
|
const coreValueCount = useCmsListCount("aboutUs.coreValues.items.__count", coreValues.length);
|
|
7315
|
-
return /* @__PURE__ */
|
|
7348
|
+
return /* @__PURE__ */ _jsxs2(CoreValueSection, {
|
|
7316
7349
|
"aria-labelledby": "about-us-core-values-title",
|
|
7317
7350
|
children: [
|
|
7318
7351
|
/* @__PURE__ */ _jsx2(ExactText, {
|
|
@@ -7323,7 +7356,7 @@ function AboutCoreValuesSection() {
|
|
|
7323
7356
|
/* @__PURE__ */ _jsx2(CoreValueGrid, {
|
|
7324
7357
|
children: Array.from({
|
|
7325
7358
|
length: coreValueCount
|
|
7326
|
-
}, (_, index) => /* @__PURE__ */
|
|
7359
|
+
}, (_, index) => /* @__PURE__ */ _jsxs2(CoreValueCard, {
|
|
7327
7360
|
children: [
|
|
7328
7361
|
/* @__PURE__ */ _jsx2(ExactText, {
|
|
7329
7362
|
cmsAs: "h3",
|
|
@@ -7342,7 +7375,7 @@ function AboutCoreValuesSection() {
|
|
|
7342
7375
|
function AboutGallerySection() {
|
|
7343
7376
|
const { t } = useTranslation2();
|
|
7344
7377
|
const resolveImage = useCmsImageResolver();
|
|
7345
|
-
return /* @__PURE__ */
|
|
7378
|
+
return /* @__PURE__ */ _jsxs2(GallerySection, {
|
|
7346
7379
|
"aria-labelledby": "about-us-gallery-title",
|
|
7347
7380
|
children: [
|
|
7348
7381
|
/* @__PURE__ */ _jsx2(ExactText, {
|
|
@@ -7353,7 +7386,7 @@ function AboutGallerySection() {
|
|
|
7353
7386
|
/* @__PURE__ */ _jsx2(GalleryGrid, {
|
|
7354
7387
|
children: companyGalleryItems.map(({ index, image: image2, width, height }) => /* @__PURE__ */ _jsx2(GalleryCard, {
|
|
7355
7388
|
tabIndex: 0,
|
|
7356
|
-
children: /* @__PURE__ */
|
|
7389
|
+
children: /* @__PURE__ */ _jsxs2(GalleryMedia, {
|
|
7357
7390
|
className: "wikex-cms-image-host",
|
|
7358
7391
|
$aspectRatio: `${width} / ${height}`,
|
|
7359
7392
|
children: [
|
|
@@ -7386,7 +7419,7 @@ function AboutRegistrationSection(props) {
|
|
|
7386
7419
|
const registerStyle = {
|
|
7387
7420
|
"--wikex-about-register-background": `url("${registerBackground}")`
|
|
7388
7421
|
};
|
|
7389
|
-
return /* @__PURE__ */
|
|
7422
|
+
return /* @__PURE__ */ _jsxs2(AboutRegisterShell, {
|
|
7390
7423
|
as: "div",
|
|
7391
7424
|
className: "about-register-shell",
|
|
7392
7425
|
style: registerStyle,
|
|
@@ -7405,7 +7438,7 @@ import { useState as useState6 } from "react";
|
|
|
7405
7438
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
7406
7439
|
|
|
7407
7440
|
// src/wikex/fees-table.tsx
|
|
7408
|
-
import { jsx as _jsx3, jsxs as
|
|
7441
|
+
import { jsx as _jsx3, jsxs as _jsxs3 } from "react/jsx-runtime";
|
|
7409
7442
|
import { useId, useLayoutEffect as useLayoutEffect2, useRef as useRef3, useState as useState5 } from "react";
|
|
7410
7443
|
import styled12, { ThemeProvider } from "styled-components";
|
|
7411
7444
|
import TextField2 from "@mui/material/TextField";
|
|
@@ -8401,7 +8434,7 @@ var PageSizeLabel = styled12.div.withConfig({
|
|
|
8401
8434
|
`;font:inherit;font-size:13px;`
|
|
8402
8435
|
], ({ theme }) => theme.colors.text.primary);
|
|
8403
8436
|
function Position({ value: value4, max, label, onMove }) {
|
|
8404
|
-
return /* @__PURE__ */
|
|
8437
|
+
return /* @__PURE__ */ _jsxs3(PositionLabel, {
|
|
8405
8438
|
children: [
|
|
8406
8439
|
"V\u1ECB tr\xED",
|
|
8407
8440
|
/* @__PURE__ */ _jsx3(PositionInput, {
|
|
@@ -8484,7 +8517,7 @@ function RowTagSelect({ selected, options, onChange }) {
|
|
|
8484
8517
|
return /* @__PURE__ */ _jsx3(EditGroup, {
|
|
8485
8518
|
children: /* @__PURE__ */ _jsx3("div", {
|
|
8486
8519
|
ref: selectRoot,
|
|
8487
|
-
children: /* @__PURE__ */
|
|
8520
|
+
children: /* @__PURE__ */ _jsxs3(Select2, {
|
|
8488
8521
|
multiple: true,
|
|
8489
8522
|
fullWidth: true,
|
|
8490
8523
|
size: "small",
|
|
@@ -8505,7 +8538,7 @@ function RowTagSelect({ selected, options, onChange }) {
|
|
|
8505
8538
|
fontSize: 13
|
|
8506
8539
|
},
|
|
8507
8540
|
children: [
|
|
8508
|
-
options.map((item) => /* @__PURE__ */
|
|
8541
|
+
options.map((item) => /* @__PURE__ */ _jsxs3(MenuItem2, {
|
|
8509
8542
|
value: item,
|
|
8510
8543
|
children: [
|
|
8511
8544
|
/* @__PURE__ */ _jsx3(Checkbox2, {
|
|
@@ -8663,7 +8696,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8663
8696
|
key: column.key,
|
|
8664
8697
|
width: columnWidths[column.key] ?? 140,
|
|
8665
8698
|
fixed: index === 0 ? "left" : void 0,
|
|
8666
|
-
title: canEdit ? /* @__PURE__ */
|
|
8699
|
+
title: canEdit ? /* @__PURE__ */ _jsxs3(HeaderGroup, {
|
|
8667
8700
|
children: [
|
|
8668
8701
|
/* @__PURE__ */ _jsx3(HeaderTitle, {
|
|
8669
8702
|
children: /* @__PURE__ */ _jsx3(CellEditor, {
|
|
@@ -8708,7 +8741,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8708
8741
|
}));
|
|
8709
8742
|
if (canEdit) columns.push({
|
|
8710
8743
|
key: "__tags",
|
|
8711
|
-
title: /* @__PURE__ */
|
|
8744
|
+
title: /* @__PURE__ */ _jsxs3(HeaderGroup, {
|
|
8712
8745
|
children: [
|
|
8713
8746
|
/* @__PURE__ */ _jsx3(HeaderTitle, {
|
|
8714
8747
|
children: "Tag & th\u1EE9 t\u1EF1 d\xF2ng"
|
|
@@ -8717,7 +8750,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8717
8750
|
]
|
|
8718
8751
|
}),
|
|
8719
8752
|
width: 300,
|
|
8720
|
-
render: (_unused, row) => /* @__PURE__ */
|
|
8753
|
+
render: (_unused, row) => /* @__PURE__ */ _jsxs3(EditGroup, {
|
|
8721
8754
|
children: [
|
|
8722
8755
|
/* @__PURE__ */ _jsx3(RowTagSelect, {
|
|
8723
8756
|
selected: row.tags,
|
|
@@ -8726,7 +8759,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8726
8759
|
tags: next
|
|
8727
8760
|
})
|
|
8728
8761
|
}),
|
|
8729
|
-
/* @__PURE__ */
|
|
8762
|
+
/* @__PURE__ */ _jsxs3(OrderActions, {
|
|
8730
8763
|
children: [
|
|
8731
8764
|
/* @__PURE__ */ _jsx3(Position, {
|
|
8732
8765
|
value: value4.rows.findIndex((item) => item.id === row.id),
|
|
@@ -8766,7 +8799,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8766
8799
|
});
|
|
8767
8800
|
return /* @__PURE__ */ _jsx3(ThemeProvider, {
|
|
8768
8801
|
theme: feesTheme,
|
|
8769
|
-
children: /* @__PURE__ */
|
|
8802
|
+
children: /* @__PURE__ */ _jsxs3("div", {
|
|
8770
8803
|
ref: tableRoot,
|
|
8771
8804
|
"data-cms-table-editor": true,
|
|
8772
8805
|
onClick: (event) => {
|
|
@@ -8775,7 +8808,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8775
8808
|
children: [
|
|
8776
8809
|
/* @__PURE__ */ _jsx3(FeesAndMarginToolbar, {
|
|
8777
8810
|
"aria-label": "L\u1ECDc b\u1EA3ng ph\xED v\xE0 k\xFD qu\u1EF9",
|
|
8778
|
-
children: /* @__PURE__ */
|
|
8811
|
+
children: /* @__PURE__ */ _jsxs3(FeesAndMarginToolbarInner, {
|
|
8779
8812
|
children: [
|
|
8780
8813
|
/* @__PURE__ */ _jsx3("div", {
|
|
8781
8814
|
style: {
|
|
@@ -8817,7 +8850,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8817
8850
|
]
|
|
8818
8851
|
})
|
|
8819
8852
|
}),
|
|
8820
|
-
canEdit && /* @__PURE__ */
|
|
8853
|
+
canEdit && /* @__PURE__ */ _jsxs3(EditorActions, {
|
|
8821
8854
|
children: [
|
|
8822
8855
|
/* @__PURE__ */ _jsx3(EditorButton, {
|
|
8823
8856
|
type: "button",
|
|
@@ -8848,7 +8881,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8848
8881
|
onClick: addColumn,
|
|
8849
8882
|
children: "+ Th\xEAm c\u1ED9t"
|
|
8850
8883
|
}),
|
|
8851
|
-
/* @__PURE__ */
|
|
8884
|
+
/* @__PURE__ */ _jsxs3(EditorButton, {
|
|
8852
8885
|
type: "button",
|
|
8853
8886
|
onClick: () => setColumnsOpen(true),
|
|
8854
8887
|
children: [
|
|
@@ -8881,15 +8914,15 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8881
8914
|
}
|
|
8882
8915
|
})
|
|
8883
8916
|
}),
|
|
8884
|
-
/* @__PURE__ */
|
|
8917
|
+
/* @__PURE__ */ _jsxs3(PaginationControls, {
|
|
8885
8918
|
children: [
|
|
8886
|
-
/* @__PURE__ */
|
|
8919
|
+
/* @__PURE__ */ _jsxs3(PageSizeLabel, {
|
|
8887
8920
|
children: [
|
|
8888
8921
|
/* @__PURE__ */ _jsx3("span", {
|
|
8889
8922
|
id: `${dialogId}-page-size-label`,
|
|
8890
8923
|
children: english ? "Rows per page:" : "S\u1ED1 d\xF2ng m\u1ED7i trang:"
|
|
8891
8924
|
}),
|
|
8892
|
-
/* @__PURE__ */
|
|
8925
|
+
/* @__PURE__ */ _jsxs3(Select2, {
|
|
8893
8926
|
size: "small",
|
|
8894
8927
|
value: pageSize,
|
|
8895
8928
|
labelId: `${dialogId}-page-size-label`,
|
|
@@ -8927,7 +8960,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8927
8960
|
})
|
|
8928
8961
|
]
|
|
8929
8962
|
}),
|
|
8930
|
-
/* @__PURE__ */
|
|
8963
|
+
/* @__PURE__ */ _jsxs3("span", {
|
|
8931
8964
|
"aria-live": "polite",
|
|
8932
8965
|
style: {
|
|
8933
8966
|
fontSize: 13
|
|
@@ -8954,7 +8987,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8954
8987
|
})
|
|
8955
8988
|
]
|
|
8956
8989
|
}),
|
|
8957
|
-
/* @__PURE__ */
|
|
8990
|
+
/* @__PURE__ */ _jsxs3(Dialog2, {
|
|
8958
8991
|
open: columnsOpen && canEdit,
|
|
8959
8992
|
onClose: () => setColumnsOpen(false),
|
|
8960
8993
|
container: () => tableRoot.current?.ownerDocument.body ?? document.body,
|
|
@@ -8966,12 +8999,12 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8966
8999
|
id: `${dialogId}-columns-title`,
|
|
8967
9000
|
children: "Qu\u1EA3n l\xFD c\u1ED9t"
|
|
8968
9001
|
}),
|
|
8969
|
-
/* @__PURE__ */
|
|
9002
|
+
/* @__PURE__ */ _jsxs3(DialogContent, {
|
|
8970
9003
|
children: [
|
|
8971
9004
|
/* @__PURE__ */ _jsx3(DialogContentText, {
|
|
8972
9005
|
children: "\u0110\u1ED5i ti\xEAu \u0111\u1EC1 v\xE0 v\u1ECB tr\xED c\u1ED9t. V\u1ECB tr\xED d\xF2ng/c\u1ED9t \u0111\u01B0\u1EE3c t\xEDnh trong to\xE0n b\u1EA3ng, k\u1EC3 c\u1EA3 c\xE1c d\xF2ng \u0111ang \u1EA9n b\u1EDFi b\u1ED9 l\u1ECDc."
|
|
8973
9006
|
}),
|
|
8974
|
-
value4.columns.map((column, index) => /* @__PURE__ */
|
|
9007
|
+
value4.columns.map((column, index) => /* @__PURE__ */ _jsxs3(ColumnRow, {
|
|
8975
9008
|
children: [
|
|
8976
9009
|
/* @__PURE__ */ _jsx3(CellEditor, {
|
|
8977
9010
|
"aria-label": `Ti\xEAu \u0111\u1EC1 c\u1ED9t ${index + 1}`,
|
|
@@ -8984,7 +9017,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
8984
9017
|
} : item)
|
|
8985
9018
|
})
|
|
8986
9019
|
}),
|
|
8987
|
-
/* @__PURE__ */
|
|
9020
|
+
/* @__PURE__ */ _jsxs3(OrderActions, {
|
|
8988
9021
|
children: [
|
|
8989
9022
|
/* @__PURE__ */ _jsx3(Position, {
|
|
8990
9023
|
value: index,
|
|
@@ -9036,7 +9069,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
9036
9069
|
})
|
|
9037
9070
|
]
|
|
9038
9071
|
}),
|
|
9039
|
-
/* @__PURE__ */
|
|
9072
|
+
/* @__PURE__ */ _jsxs3(Dialog2, {
|
|
9040
9073
|
open: createTagOpen && canEdit,
|
|
9041
9074
|
onClose: () => setCreateTagOpen(false),
|
|
9042
9075
|
container: () => tableRoot.current?.ownerDocument.body ?? document.body,
|
|
@@ -9066,7 +9099,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
9066
9099
|
}
|
|
9067
9100
|
})
|
|
9068
9101
|
}),
|
|
9069
|
-
/* @__PURE__ */
|
|
9102
|
+
/* @__PURE__ */ _jsxs3(DialogActions, {
|
|
9070
9103
|
children: [
|
|
9071
9104
|
/* @__PURE__ */ _jsx3(Button7, {
|
|
9072
9105
|
onClick: () => setCreateTagOpen(false),
|
|
@@ -9082,7 +9115,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
9082
9115
|
})
|
|
9083
9116
|
]
|
|
9084
9117
|
}),
|
|
9085
|
-
/* @__PURE__ */
|
|
9118
|
+
/* @__PURE__ */ _jsxs3(Dialog2, {
|
|
9086
9119
|
open: Boolean(deleteTarget) && canEdit,
|
|
9087
9120
|
onClose: () => setDeleteTarget(null),
|
|
9088
9121
|
container: () => tableRoot.current?.ownerDocument.body ?? document.body,
|
|
@@ -9091,7 +9124,7 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
9091
9124
|
fullWidth: true,
|
|
9092
9125
|
maxWidth: "xs",
|
|
9093
9126
|
children: [
|
|
9094
|
-
/* @__PURE__ */
|
|
9127
|
+
/* @__PURE__ */ _jsxs3(DialogTitle, {
|
|
9095
9128
|
id: `${dialogId}-title`,
|
|
9096
9129
|
children: [
|
|
9097
9130
|
"X\xF3a ",
|
|
@@ -9105,14 +9138,14 @@ function FeesTable({ value: value4, editable = false, onChange, labels, size = "
|
|
|
9105
9138
|
children: deleteTarget?.kind === "column" ? `B\u1EA1n c\xF3 mu\u1ED1n x\xF3a c\u1ED9t \u201C${deleteTarget.label}\u201D v\xE0 to\xE0n b\u1ED9 n\u1ED9i dung trong c\u1ED9t n\xE0y?` : `B\u1EA1n c\xF3 mu\u1ED1n x\xF3a h\xE0ng \u201C${deleteTarget?.label ?? ""}\u201D?`
|
|
9106
9139
|
})
|
|
9107
9140
|
}),
|
|
9108
|
-
/* @__PURE__ */
|
|
9141
|
+
/* @__PURE__ */ _jsxs3(DialogActions, {
|
|
9109
9142
|
children: [
|
|
9110
9143
|
/* @__PURE__ */ _jsx3(Button7, {
|
|
9111
9144
|
autoFocus: true,
|
|
9112
9145
|
onClick: () => setDeleteTarget(null),
|
|
9113
9146
|
children: "H\u1EE7y"
|
|
9114
9147
|
}),
|
|
9115
|
-
/* @__PURE__ */
|
|
9148
|
+
/* @__PURE__ */ _jsxs3(Button7, {
|
|
9116
9149
|
color: "error",
|
|
9117
9150
|
variant: "contained",
|
|
9118
9151
|
onClick: confirmDelete,
|
|
@@ -9472,7 +9505,7 @@ var BulletList2 = styled14.ul.withConfig({
|
|
|
9472
9505
|
], accent);
|
|
9473
9506
|
|
|
9474
9507
|
// src/commodity-original/components/SupportRequestBlock/index.tsx
|
|
9475
|
-
import { jsx as _jsx4, jsxs as
|
|
9508
|
+
import { jsx as _jsx4, jsxs as _jsxs4 } from "react/jsx-runtime";
|
|
9476
9509
|
import styled15 from "styled-components";
|
|
9477
9510
|
import { useTranslation as useTranslation7 } from "react-i18next";
|
|
9478
9511
|
var SupportSection = styled15.section.withConfig({
|
|
@@ -9515,7 +9548,7 @@ function SupportRequestBlock() {
|
|
|
9515
9548
|
value: "other"
|
|
9516
9549
|
}
|
|
9517
9550
|
];
|
|
9518
|
-
return /* @__PURE__ */
|
|
9551
|
+
return /* @__PURE__ */ _jsxs4(SupportSection, {
|
|
9519
9552
|
"aria-labelledby": "support-request-title",
|
|
9520
9553
|
children: [
|
|
9521
9554
|
/* @__PURE__ */ _jsx4(ExactText, {
|
|
@@ -9523,12 +9556,12 @@ function SupportRequestBlock() {
|
|
|
9523
9556
|
id: "support-request-title",
|
|
9524
9557
|
children: t("complaints.support.title")
|
|
9525
9558
|
}),
|
|
9526
|
-
/* @__PURE__ */
|
|
9559
|
+
/* @__PURE__ */ _jsxs4(SupportForm, {
|
|
9527
9560
|
onSubmit: (event) => event.preventDefault(),
|
|
9528
9561
|
children: [
|
|
9529
|
-
/* @__PURE__ */
|
|
9562
|
+
/* @__PURE__ */ _jsxs4("label", {
|
|
9530
9563
|
children: [
|
|
9531
|
-
/* @__PURE__ */
|
|
9564
|
+
/* @__PURE__ */ _jsxs4("span", {
|
|
9532
9565
|
children: [
|
|
9533
9566
|
t("landing.register.fields.name"),
|
|
9534
9567
|
" ",
|
|
@@ -9546,9 +9579,9 @@ function SupportRequestBlock() {
|
|
|
9546
9579
|
})
|
|
9547
9580
|
]
|
|
9548
9581
|
}),
|
|
9549
|
-
/* @__PURE__ */
|
|
9582
|
+
/* @__PURE__ */ _jsxs4("label", {
|
|
9550
9583
|
children: [
|
|
9551
|
-
/* @__PURE__ */
|
|
9584
|
+
/* @__PURE__ */ _jsxs4("span", {
|
|
9552
9585
|
children: [
|
|
9553
9586
|
t("landing.register.fields.phone"),
|
|
9554
9587
|
" ",
|
|
@@ -9566,7 +9599,7 @@ function SupportRequestBlock() {
|
|
|
9566
9599
|
})
|
|
9567
9600
|
]
|
|
9568
9601
|
}),
|
|
9569
|
-
/* @__PURE__ */
|
|
9602
|
+
/* @__PURE__ */ _jsxs4("label", {
|
|
9570
9603
|
children: [
|
|
9571
9604
|
/* @__PURE__ */ _jsx4(ExactText, {
|
|
9572
9605
|
cmsAs: "span",
|
|
@@ -9580,7 +9613,7 @@ function SupportRequestBlock() {
|
|
|
9580
9613
|
})
|
|
9581
9614
|
]
|
|
9582
9615
|
}),
|
|
9583
|
-
/* @__PURE__ */
|
|
9616
|
+
/* @__PURE__ */ _jsxs4("label", {
|
|
9584
9617
|
children: [
|
|
9585
9618
|
/* @__PURE__ */ _jsx4(ExactText, {
|
|
9586
9619
|
cmsAs: "span",
|
|
@@ -10695,7 +10728,7 @@ var benefits = [
|
|
|
10695
10728
|
];
|
|
10696
10729
|
var positionSlides = [
|
|
10697
10730
|
{
|
|
10698
|
-
image: "",
|
|
10731
|
+
image: "/landing-assets/mxv-certificate-wikex.webp",
|
|
10699
10732
|
imageWidth: 238,
|
|
10700
10733
|
imageHeight: 340,
|
|
10701
10734
|
mediaType: "image",
|
|
@@ -11838,7 +11871,7 @@ function FeaturedArticles() {
|
|
|
11838
11871
|
}
|
|
11839
11872
|
|
|
11840
11873
|
// src/commodity-original/app/thong-tin-wikex/WikexInformationSections.tsx
|
|
11841
|
-
import { jsx as _jsx5, jsxs as
|
|
11874
|
+
import { jsx as _jsx5, jsxs as _jsxs5 } from "react/jsx-runtime";
|
|
11842
11875
|
import { useMemo as useMemo6, useState as useState11 } from "react";
|
|
11843
11876
|
import { useTranslation as useTranslation13 } from "react-i18next";
|
|
11844
11877
|
import styled26 from "styled-components";
|
|
@@ -11970,11 +12003,11 @@ function WikexInformationArticlesSection() {
|
|
|
11970
12003
|
setPage(1);
|
|
11971
12004
|
setSearch("");
|
|
11972
12005
|
};
|
|
11973
|
-
return /* @__PURE__ */
|
|
12006
|
+
return /* @__PURE__ */ _jsxs5(InformationArticlesRoot, {
|
|
11974
12007
|
children: [
|
|
11975
12008
|
/* @__PURE__ */ _jsx5(WikexControls, {
|
|
11976
12009
|
"aria-label": t("wikexInformation.filterLabel"),
|
|
11977
|
-
children: /* @__PURE__ */
|
|
12010
|
+
children: /* @__PURE__ */ _jsxs5(WikexControlsInner, {
|
|
11978
12011
|
children: [
|
|
11979
12012
|
/* @__PURE__ */ _jsx5(WikexTabs, {
|
|
11980
12013
|
children: /* @__PURE__ */ _jsx5(TabCommon, {
|
|
@@ -11988,7 +12021,7 @@ function WikexInformationArticlesSection() {
|
|
|
11988
12021
|
value: activeCategory
|
|
11989
12022
|
})
|
|
11990
12023
|
}),
|
|
11991
|
-
/* @__PURE__ */
|
|
12024
|
+
/* @__PURE__ */ _jsxs5(WikexFilterControls, {
|
|
11992
12025
|
children: [
|
|
11993
12026
|
/* @__PURE__ */ _jsx5(WikexSearch, {
|
|
11994
12027
|
children: /* @__PURE__ */ _jsx5(InputCommon, {
|
|
@@ -12023,7 +12056,7 @@ function WikexInformationArticlesSection() {
|
|
|
12023
12056
|
]
|
|
12024
12057
|
})
|
|
12025
12058
|
}),
|
|
12026
|
-
/* @__PURE__ */
|
|
12059
|
+
/* @__PURE__ */ _jsxs5(WikexContent, {
|
|
12027
12060
|
children: [
|
|
12028
12061
|
/* @__PURE__ */ _jsx5(WikexArticleGrid, {
|
|
12029
12062
|
"aria-label": t("wikexInformation.listLabel"),
|
|
@@ -12059,7 +12092,7 @@ import Link8 from "next/link.js";
|
|
|
12059
12092
|
import { useTranslation as useTranslation14 } from "react-i18next";
|
|
12060
12093
|
|
|
12061
12094
|
// src/commodity-original/lib/app-theme-provider.tsx
|
|
12062
|
-
import { jsx as _jsx6, jsxs as
|
|
12095
|
+
import { jsx as _jsx6, jsxs as _jsxs6 } from "react/jsx-runtime";
|
|
12063
12096
|
import { createContext as createContext8, useCallback, useContext as useContext8, useLayoutEffect as useLayoutEffect3, useMemo as useMemo7, useRef as useRef5, useSyncExternalStore as useSyncExternalStore2 } from "react";
|
|
12064
12097
|
import { ThemeProvider as ThemeProvider2 } from "styled-components";
|
|
12065
12098
|
|
|
@@ -12267,7 +12300,7 @@ function AppThemeProvider({ children }) {
|
|
|
12267
12300
|
style: {
|
|
12268
12301
|
display: "contents"
|
|
12269
12302
|
},
|
|
12270
|
-
children: /* @__PURE__ */
|
|
12303
|
+
children: /* @__PURE__ */ _jsxs6(ThemeProvider2, {
|
|
12271
12304
|
theme: appTheme,
|
|
12272
12305
|
children: [
|
|
12273
12306
|
/* @__PURE__ */ _jsx6(global_styles_default, {}),
|
|
@@ -14085,7 +14118,7 @@ function FaqSection2() {
|
|
|
14085
14118
|
import { useTranslation as useTranslation23 } from "react-i18next";
|
|
14086
14119
|
|
|
14087
14120
|
// src/commodity-original/components/Background/index.tsx
|
|
14088
|
-
import { jsx as _jsx8, jsxs as
|
|
14121
|
+
import { jsx as _jsx8, jsxs as _jsxs7 } from "react/jsx-runtime";
|
|
14089
14122
|
import { memo, useEffect as useEffect9, useId as useId3, useRef as useRef7 } from "react";
|
|
14090
14123
|
import { styled as styled29 } from "styled-components";
|
|
14091
14124
|
var TWO_PI = Math.PI * 2;
|
|
@@ -14359,7 +14392,7 @@ var DotField = /* @__PURE__ */ memo(({ dotRadius = 1.5, dotSpacing = 14, cursorR
|
|
|
14359
14392
|
dotRadius,
|
|
14360
14393
|
dotSpacing
|
|
14361
14394
|
]);
|
|
14362
|
-
return /* @__PURE__ */
|
|
14395
|
+
return /* @__PURE__ */ _jsxs7(DotContainer, {
|
|
14363
14396
|
...rest,
|
|
14364
14397
|
children: [
|
|
14365
14398
|
/* @__PURE__ */ _jsx8("canvas", {
|
|
@@ -14371,7 +14404,7 @@ var DotField = /* @__PURE__ */ memo(({ dotRadius = 1.5, dotSpacing = 14, cursorR
|
|
|
14371
14404
|
height: "100%"
|
|
14372
14405
|
}
|
|
14373
14406
|
}),
|
|
14374
|
-
/* @__PURE__ */
|
|
14407
|
+
/* @__PURE__ */ _jsxs7("svg", {
|
|
14375
14408
|
ref: svgRef,
|
|
14376
14409
|
style: {
|
|
14377
14410
|
position: "absolute",
|
|
@@ -14382,7 +14415,7 @@ var DotField = /* @__PURE__ */ memo(({ dotRadius = 1.5, dotSpacing = 14, cursorR
|
|
|
14382
14415
|
},
|
|
14383
14416
|
children: [
|
|
14384
14417
|
/* @__PURE__ */ _jsx8("defs", {
|
|
14385
|
-
children: /* @__PURE__ */
|
|
14418
|
+
children: /* @__PURE__ */ _jsxs7("radialGradient", {
|
|
14386
14419
|
id: glowId,
|
|
14387
14420
|
children: [
|
|
14388
14421
|
/* @__PURE__ */ _jsx8("stop", {
|
|
@@ -14960,7 +14993,7 @@ function PositionSection() {
|
|
|
14960
14993
|
/* @__PURE__ */ jsx44(ExactText, { cmsAs: "p", children: t(`${key}.paragraphs.1`) })
|
|
14961
14994
|
] })
|
|
14962
14995
|
] }),
|
|
14963
|
-
|
|
14996
|
+
/* @__PURE__ */ jsx44(
|
|
14964
14997
|
PositionMedia,
|
|
14965
14998
|
{
|
|
14966
14999
|
slide,
|
|
@@ -15076,7 +15109,7 @@ function PositionSection() {
|
|
|
15076
15109
|
)
|
|
15077
15110
|
] })
|
|
15078
15111
|
] }),
|
|
15079
|
-
|
|
15112
|
+
/* @__PURE__ */ jsx44(
|
|
15080
15113
|
PositionMedia,
|
|
15081
15114
|
{
|
|
15082
15115
|
slide,
|
|
@@ -16039,6 +16072,7 @@ var heroImages = [
|
|
|
16039
16072
|
image("heroLabelTwoMobileImage", "Nh\xE3n minh h\u1ECDa 2 mobile", "/landing-assets/key_mock_2_mobile.webp")
|
|
16040
16073
|
];
|
|
16041
16074
|
var positionImages = [
|
|
16075
|
+
image("positionSlide1Image", "\u1EA2nh slide 1", "/landing-assets/mxv-certificate-wikex.webp"),
|
|
16042
16076
|
image("positionSlide2Image", "\u1EA2nh slide 2", "/landing-assets/slide_img_2.webp"),
|
|
16043
16077
|
image("positionSlide3Image", "\u1EA2nh slide 3", "/landing-assets/slide_img_3.webp"),
|
|
16044
16078
|
image("positionSlide4Image", "\u1EA2nh slide 4", "/landing-assets/slide_img_4.webp")
|
|
@@ -16651,7 +16685,7 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16651
16685
|
const fontLabel = matchedFont?.[1] ?? fontName;
|
|
16652
16686
|
const selectedFont = layout.fontFamily ?? matchedFont?.[0] ?? "";
|
|
16653
16687
|
const tooltipProps = { slotProps: { popper: { sx: { zIndex: 1800 } } } };
|
|
16654
|
-
const inputSx = { width: 52, flexShrink: 0, "& .MuiInputBase-root": { height:
|
|
16688
|
+
const inputSx = { width: 52, flexShrink: 0, "& .MuiInputBase-root": { height: 30 }, "& input": { py: 0.5, px: 0.75, fontSize: 12 } };
|
|
16655
16689
|
const groupSx = { display: "flex", alignItems: "center", gap: 0.5 };
|
|
16656
16690
|
return /* @__PURE__ */ jsxs40(
|
|
16657
16691
|
Box7,
|
|
@@ -16662,7 +16696,7 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16662
16696
|
"data-cms-text-toolbar": true,
|
|
16663
16697
|
sx: { display: "flex", flexDirection: "column", gap: 0.5, p: 0.75, border: "1px solid", borderColor: "divider", borderRadius: 1, bgcolor: "background.paper", boxShadow: 8, color: "text.primary", maxWidth: "100%" },
|
|
16664
16698
|
children: [
|
|
16665
|
-
/* @__PURE__ */ jsxs40(Box7, { sx: { ...groupSx, flexWrap: "wrap",
|
|
16699
|
+
/* @__PURE__ */ jsxs40(Box7, { sx: { ...groupSx, flexWrap: "wrap", rowGap: 0.75, pb: 0.75, borderBottom: "1px solid", borderColor: "divider" }, children: [
|
|
16666
16700
|
/* @__PURE__ */ jsxs40(
|
|
16667
16701
|
Select3,
|
|
16668
16702
|
{
|
|
@@ -16672,7 +16706,7 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16672
16706
|
inputProps: { "aria-label": "Font ch\u1EEF" },
|
|
16673
16707
|
renderValue: (value4) => value4 ? CMS_TEXT_FONTS[value4] : fontLabel,
|
|
16674
16708
|
MenuProps: { disableScrollLock: true, container: () => toolbarRef.current?.ownerDocument.body ?? null, sx: { zIndex: 1600 }, slotProps: { paper: { sx: { maxHeight: 320 } } } },
|
|
16675
|
-
sx: { width:
|
|
16709
|
+
sx: { width: "auto", maxWidth: 160, height: 30, fontSize: 12, "& .MuiSelect-select": { py: 0.5, pl: 1, pr: "24px !important", overflow: "hidden", textOverflow: "ellipsis" }, "& .MuiSelect-icon": { right: 2 } },
|
|
16676
16710
|
onChange: (event) => onLayoutChange({ fontFamily: event.target.value || void 0 }),
|
|
16677
16711
|
children: [
|
|
16678
16712
|
!selectedFont && /* @__PURE__ */ jsx47(MenuItem3, { value: "", sx: { fontSize: 12 }, children: fontLabel }),
|
|
@@ -16711,7 +16745,7 @@ function CmsTextToolbar({ layout, color, colorPicker, inlineControls, structureC
|
|
|
16711
16745
|
type: "number",
|
|
16712
16746
|
value: lineHeight,
|
|
16713
16747
|
slotProps: { input: { startAdornment: /* @__PURE__ */ jsx47(InputAdornment2, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx47(SvgIcon, { sx: { fontSize: 17 }, children: /* @__PURE__ */ jsx47("path", { d: "M3 4 0 7h2v10H0l3 3 3-3H4V7h2L3 4zm5 2h16v2H8zm0 5h16v2H8zm0 5h16v2H8z" }) }) }) }, htmlInput: { "aria-label": "Chi\u1EC1u cao d\xF2ng", min: 0.5, max: 5, step: 0.1 } },
|
|
16714
|
-
sx: { ...inputSx, width: 78, "& .MuiInputBase-root": { height:
|
|
16748
|
+
sx: { ...inputSx, width: 78, "& .MuiInputBase-root": { height: 30, pl: 0.75 } },
|
|
16715
16749
|
onChange: (event) => {
|
|
16716
16750
|
dirtyLineHeight.current = true;
|
|
16717
16751
|
setLineHeight(event.target.value);
|
|
@@ -16795,11 +16829,14 @@ var wikexCmsBlocks = sourceCmsBlocks.map((block) => {
|
|
|
16795
16829
|
});
|
|
16796
16830
|
export {
|
|
16797
16831
|
CMS_ELEMENTS_FIELD,
|
|
16832
|
+
CMS_LIST_MARKERS,
|
|
16798
16833
|
CMS_TEXT_FONTS,
|
|
16799
16834
|
CMS_TEXT_LAYOUT_SUFFIX,
|
|
16800
16835
|
CmsTextToolbar,
|
|
16801
16836
|
FeesTable,
|
|
16802
16837
|
applyCmsTextLayout,
|
|
16838
|
+
cmsListAnchor,
|
|
16839
|
+
cmsListMarkerType,
|
|
16803
16840
|
cmsTextLayoutStyle,
|
|
16804
16841
|
migrateWikexChromeContent,
|
|
16805
16842
|
minimalMarketingBlocks,
|