@enyxs/wikex-components 0.11.49 → 0.11.51
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/README.md +8 -0
- package/assets/partner-assets/21447-29585-imgGlobal.webp +0 -0
- package/assets/partner-assets/21447-29585-imgHinhAnhSanPhamGiaoDich2.webp +0 -0
- package/assets/partner-assets/21447-29585-imgImage1.webp +0 -0
- package/assets/partner-assets/21447-29585-imgImage3.webp +0 -0
- package/assets/partner-assets/21447-29585-imgImage5.webp +0 -0
- package/assets/partner-assets/21447-29585-imgImage7.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D1.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D2.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D3.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D4.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D5.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D6.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D7.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D8.webp +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective23D.webp +0 -0
- package/assets/partner-assets/21447-29644-imgImage.webp +0 -0
- package/assets/partner-assets/21447-29644-imgMap.webp +0 -0
- package/assets/partner-assets/21447-29794-imgImage12.webp +0 -0
- package/assets/partner-assets/21447-29794-imgRectangle34624392.webp +0 -0
- package/assets/partner-assets/21691-46223-imgGlobal.webp +0 -0
- package/assets/partner-assets/21691-46223-imgHinhAnhSanPhamGiaoDich2.webp +0 -0
- package/assets/partner-assets/21691-46223-imgImage1.webp +0 -0
- package/assets/partner-assets/21691-46223-imgImage3.webp +0 -0
- package/assets/partner-assets/21691-46223-imgImage5.webp +0 -0
- package/assets/partner-assets/21691-46223-imgImage7.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D1.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D2.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D3.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D4.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D5.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D6.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D7.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D8.webp +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective23D.webp +0 -0
- package/dist/chrome-model.js +27 -2
- package/dist/chrome-model.mjs +27 -2
- package/dist/consultation-model.d.mts +2 -1
- package/dist/consultation-model.d.ts +2 -1
- package/dist/consultation-model.js +12 -2
- package/dist/consultation-model.mjs +10 -1
- package/dist/consultations.d.mts +1 -0
- package/dist/consultations.d.ts +1 -0
- package/dist/consultations.js +9 -10
- package/dist/consultations.mjs +9 -10
- package/dist/fees-model.js +5 -2
- package/dist/fees-model.mjs +5 -2
- package/dist/fees.js +44 -29
- package/dist/fees.mjs +44 -29
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2009 -2369
- package/dist/index.mjs +1484 -1849
- package/dist/manifest.json +63 -63
- package/dist/partner.js +177 -134
- package/dist/partner.mjs +178 -135
- package/dist/products.js +58 -44
- package/dist/products.mjs +58 -44
- package/dist/ui.d.mts +2 -1
- package/dist/ui.d.ts +2 -1
- package/dist/ui.js +26 -12
- package/dist/ui.mjs +26 -12
- package/package.json +151 -46
- package/assets/partner-assets/21447-29491-imgTangTruongVangTrongMangLuoiToanCau5.png +0 -0
- package/assets/partner-assets/21447-29585-imgGlobal.png +0 -0
- package/assets/partner-assets/21447-29585-imgHinhAnhSanPhamGiaoDich2.png +0 -0
- package/assets/partner-assets/21447-29585-imgImage1.png +0 -0
- package/assets/partner-assets/21447-29585-imgImage3.png +0 -0
- package/assets/partner-assets/21447-29585-imgImage5.png +0 -0
- package/assets/partner-assets/21447-29585-imgImage7.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D1.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D2.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D3.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D4.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D5.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D6.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D7.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective13D8.png +0 -0
- package/assets/partner-assets/21447-29585-imgPerspective23D.png +0 -0
- package/assets/partner-assets/21447-29644-imgImage.png +0 -0
- package/assets/partner-assets/21447-29644-imgMap.png +0 -0
- package/assets/partner-assets/21447-29794-imgImage12.png +0 -0
- package/assets/partner-assets/21447-29794-imgRectangle34624392.png +0 -0
- package/assets/partner-assets/21691-46108-imgTangTruongVangTrongMangLuoiToanCau5.png +0 -0
- package/assets/partner-assets/21691-46223-imgGlobal.png +0 -0
- package/assets/partner-assets/21691-46223-imgHinhAnhSanPhamGiaoDich2.png +0 -0
- package/assets/partner-assets/21691-46223-imgImage1.png +0 -0
- package/assets/partner-assets/21691-46223-imgImage3.png +0 -0
- package/assets/partner-assets/21691-46223-imgImage5.png +0 -0
- package/assets/partner-assets/21691-46223-imgImage7.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D1.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D2.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D3.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D4.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D5.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D6.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D7.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective13D8.png +0 -0
- package/assets/partner-assets/21691-46223-imgPerspective23D.png +0 -0
package/dist/products.js
CHANGED
|
@@ -124,24 +124,24 @@ var import_react_i18next = require("react-i18next");
|
|
|
124
124
|
// src/commodity-original/components/Pagination/style.ts
|
|
125
125
|
var import_styled_components2 = require("styled-components");
|
|
126
126
|
var PaginationNav = import_styled_components2.styled.nav.withConfig({
|
|
127
|
-
componentId: "sc-
|
|
127
|
+
componentId: "sc-e6c46071-0"
|
|
128
128
|
})([
|
|
129
129
|
`display:flex;justify-content:center;`
|
|
130
130
|
]);
|
|
131
131
|
var PaginationList = import_styled_components2.styled.ul.withConfig({
|
|
132
|
-
componentId: "sc-
|
|
132
|
+
componentId: "sc-e6c46071-1"
|
|
133
133
|
})([
|
|
134
134
|
`display:flex;margin:0;padding:0;align-items:center;gap:8px;list-style:none;`
|
|
135
135
|
]);
|
|
136
136
|
var PaginationItem = import_styled_components2.styled.li.withConfig({
|
|
137
|
-
componentId: "sc-
|
|
137
|
+
componentId: "sc-e6c46071-2"
|
|
138
138
|
})([
|
|
139
139
|
`display:flex;`
|
|
140
140
|
]);
|
|
141
141
|
var PaginationButton = import_styled_components2.styled.button.withConfig({
|
|
142
|
-
componentId: "sc-
|
|
142
|
+
componentId: "sc-e6c46071-3"
|
|
143
143
|
})([
|
|
144
|
-
`display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,
|
|
144
|
+
`box-sizing:border-box;text-decoration:none;display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,
|
|
145
145
|
`;border-radius:4px;padding:4px;color:`,
|
|
146
146
|
`;background:`,
|
|
147
147
|
`;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;cursor:pointer;transition:color 160ms ease,background-color 160ms ease,border-color 160ms ease;&[data-control]{border-color:transparent;background:transparent;}&[data-active]{border-color:`,
|
|
@@ -154,7 +154,7 @@ var PaginationButton = import_styled_components2.styled.button.withConfig({
|
|
|
154
154
|
`;outline-offset:2px;}`
|
|
155
155
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
156
156
|
var PaginationArrow = import_styled_components2.styled.span.withConfig({
|
|
157
|
-
componentId: "sc-
|
|
157
|
+
componentId: "sc-e6c46071-4"
|
|
158
158
|
})([
|
|
159
159
|
`width:16px;height:16px;background:currentColor;mask:url("`,
|
|
160
160
|
`") center / contain no-repeat;-webkit-mask:url("`,
|
|
@@ -187,6 +187,7 @@ function Pagination({
|
|
|
187
187
|
page,
|
|
188
188
|
pageCount,
|
|
189
189
|
onPageChange,
|
|
190
|
+
getPageHref,
|
|
190
191
|
siblingCount = 1,
|
|
191
192
|
ariaLabel,
|
|
192
193
|
labels,
|
|
@@ -198,6 +199,13 @@ function Pagination({
|
|
|
198
199
|
const items = getPaginationItems(currentPage, safePageCount, siblingCount);
|
|
199
200
|
const hasPreviousPage = currentPage > 1;
|
|
200
201
|
const hasNextPage = currentPage < safePageCount;
|
|
202
|
+
const pageClick = (page2) => (event) => {
|
|
203
|
+
if (getPageHref) {
|
|
204
|
+
if (event.defaultPrevented || event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;
|
|
205
|
+
event.preventDefault();
|
|
206
|
+
}
|
|
207
|
+
onPageChange(page2);
|
|
208
|
+
};
|
|
201
209
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
202
210
|
PaginationNav,
|
|
203
211
|
{
|
|
@@ -207,33 +215,39 @@ function Pagination({
|
|
|
207
215
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
208
216
|
PaginationButton,
|
|
209
217
|
{
|
|
218
|
+
as: getPageHref && hasPreviousPage ? "a" : "button",
|
|
219
|
+
href: getPageHref && hasPreviousPage ? getPageHref(currentPage - 1) : void 0,
|
|
210
220
|
"aria-label": labels?.previous ?? t("pagination.previous"),
|
|
211
221
|
"data-control": "previous",
|
|
212
222
|
disabled: !hasPreviousPage,
|
|
213
|
-
onClick: (
|
|
214
|
-
type: "button",
|
|
223
|
+
onClick: pageClick(currentPage - 1),
|
|
224
|
+
type: getPageHref && hasPreviousPage ? void 0 : "button",
|
|
215
225
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationArrow, { "data-direction": "previous" })
|
|
216
226
|
}
|
|
217
227
|
) }),
|
|
218
228
|
items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationItem, { children: item === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationButton, { "aria-hidden": "true", disabled: true, tabIndex: -1, type: "button", children: "\u2026" }) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
219
229
|
PaginationButton,
|
|
220
230
|
{
|
|
231
|
+
as: getPageHref ? "a" : "button",
|
|
232
|
+
href: getPageHref?.(item),
|
|
221
233
|
"aria-current": item === currentPage ? "page" : void 0,
|
|
222
234
|
"aria-label": item === currentPage ? labels?.current(item) ?? t("pagination.current", { page: item }) : labels?.page(item) ?? t("pagination.page", { page: item }),
|
|
223
235
|
"data-active": item === currentPage || void 0,
|
|
224
|
-
onClick: (
|
|
225
|
-
type: "button",
|
|
236
|
+
onClick: pageClick(item),
|
|
237
|
+
type: getPageHref ? void 0 : "button",
|
|
226
238
|
children: item
|
|
227
239
|
}
|
|
228
240
|
) }, `${item}-${index}`)),
|
|
229
241
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
230
242
|
PaginationButton,
|
|
231
243
|
{
|
|
244
|
+
as: getPageHref && hasNextPage ? "a" : "button",
|
|
245
|
+
href: getPageHref && hasNextPage ? getPageHref(currentPage + 1) : void 0,
|
|
232
246
|
"aria-label": labels?.next ?? t("pagination.next"),
|
|
233
247
|
"data-control": "next",
|
|
234
248
|
disabled: !hasNextPage,
|
|
235
|
-
onClick: (
|
|
236
|
-
type: "button",
|
|
249
|
+
onClick: pageClick(currentPage + 1),
|
|
250
|
+
type: getPageHref && hasNextPage ? void 0 : "button",
|
|
237
251
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationArrow, { "data-direction": "next" })
|
|
238
252
|
}
|
|
239
253
|
) })
|
|
@@ -465,67 +479,67 @@ var EmptyProducts = import_styled_components4.styled.p.withConfig({
|
|
|
465
479
|
// src/wikex/products/detail-style.ts
|
|
466
480
|
var import_image2 = __toESM(require("next/image.js"));
|
|
467
481
|
var import_styled_components5 = require("styled-components");
|
|
468
|
-
var DetailMain = import_styled_components5.styled.
|
|
469
|
-
componentId: "sc-
|
|
482
|
+
var DetailMain = import_styled_components5.styled.div.withConfig({
|
|
483
|
+
componentId: "sc-e3fa9d6-0"
|
|
470
484
|
})([
|
|
471
485
|
`display:flex;width:min(1248px,100%);min-height:calc(100vh - var(--header-height));margin:0 auto;padding:32px 24px 96px;flex-direction:column;gap:16px;@media (max-width:767px){padding:32px 16px 40px;}`
|
|
472
486
|
]);
|
|
473
487
|
var PageHeader = import_styled_components5.styled.header.withConfig({
|
|
474
|
-
componentId: "sc-
|
|
488
|
+
componentId: "sc-e3fa9d6-1"
|
|
475
489
|
})([
|
|
476
490
|
`display:flex;flex-direction:column;`
|
|
477
491
|
]);
|
|
478
492
|
var PageTitle = import_styled_components5.styled.h1.withConfig({
|
|
479
|
-
componentId: "sc-
|
|
493
|
+
componentId: "sc-e3fa9d6-2"
|
|
480
494
|
})([
|
|
481
495
|
`margin:0;color:`,
|
|
482
496
|
`;font-family:var(--Font-Landingpage,Inter);font-size:var(--Size-H2,40px);font-style:normal;font-weight:700;line-height:var(--Line-height-H2,50px);@media (max-width:767px){font-size:var(--Size-H3,24px) !important;line-height:var(--Line-height-H3,36px);}`
|
|
483
497
|
], ({ theme }) => theme.colors.text.primary);
|
|
484
498
|
var ContractLayout = import_styled_components5.styled.div.withConfig({
|
|
485
|
-
componentId: "sc-
|
|
499
|
+
componentId: "sc-e3fa9d6-3"
|
|
486
500
|
})([
|
|
487
501
|
`margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) 373px;gap:40px;align-items:start;@media (max-width:1199px){grid-template-columns:minmax(0,1fr) 280px;gap:24px;}@media (max-width:768px){grid-template-columns:minmax(0,1fr);margin-top:0px;}`
|
|
488
502
|
]);
|
|
489
503
|
var ContractMain = import_styled_components5.styled.div.withConfig({
|
|
490
|
-
componentId: "sc-
|
|
504
|
+
componentId: "sc-e3fa9d6-4"
|
|
491
505
|
})([
|
|
492
506
|
`display:flex;min-width:0;flex-direction:column;gap:24px;overflow-wrap:anywhere;`
|
|
493
507
|
]);
|
|
494
508
|
var ContractSidebar = import_styled_components5.styled.aside.withConfig({
|
|
495
|
-
componentId: "sc-
|
|
509
|
+
componentId: "sc-e3fa9d6-5"
|
|
496
510
|
})([
|
|
497
511
|
`min-width:0;position:sticky;top:calc(var(--header-height) + 24px);align-self:start;@media (max-width:768px){position:static;width:100%;}`
|
|
498
512
|
]);
|
|
499
513
|
var IntroductionSection = import_styled_components5.styled.section.withConfig({
|
|
500
|
-
componentId: "sc-
|
|
514
|
+
componentId: "sc-e3fa9d6-6"
|
|
501
515
|
})([
|
|
502
516
|
`display:flex;flex-direction:column;gap:8px;@media (max-width:767px){gap:6px;}`
|
|
503
517
|
]);
|
|
504
518
|
var ContractSectionTitle = import_styled_components5.styled.h2.withConfig({
|
|
505
|
-
componentId: "sc-
|
|
519
|
+
componentId: "sc-e3fa9d6-7"
|
|
506
520
|
})([
|
|
507
521
|
`width:100%;margin:0;overflow:hidden;color:`,
|
|
508
522
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
509
523
|
], ({ theme }) => theme.colors.text.primary);
|
|
510
524
|
var IntroductionDescription = import_styled_components5.styled.p.withConfig({
|
|
511
|
-
componentId: "sc-
|
|
525
|
+
componentId: "sc-e3fa9d6-8"
|
|
512
526
|
})([
|
|
513
527
|
`width:100%;margin:0;color:`,
|
|
514
528
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;@media (max-width:767px){font-size:14px;line-height:18px;}`
|
|
515
529
|
], ({ theme }) => theme.colors.text.secondary);
|
|
516
530
|
var ContractSpecificationSection = import_styled_components5.styled.section.withConfig({
|
|
517
|
-
componentId: "sc-
|
|
531
|
+
componentId: "sc-e3fa9d6-9"
|
|
518
532
|
})([
|
|
519
533
|
`display:flex;flex-direction:column;gap:12px;`
|
|
520
534
|
]);
|
|
521
535
|
var ContractSpecificationList = import_styled_components5.styled.dl.withConfig({
|
|
522
|
-
componentId: "sc-
|
|
536
|
+
componentId: "sc-e3fa9d6-10"
|
|
523
537
|
})([
|
|
524
538
|
`overflow:hidden;margin:0;border:1px solid `,
|
|
525
539
|
`;border-radius:8px;`
|
|
526
540
|
], ({ theme }) => theme.colors.border.line);
|
|
527
541
|
var ContractSpecificationRow = import_styled_components5.styled.div.withConfig({
|
|
528
|
-
componentId: "sc-
|
|
542
|
+
componentId: "sc-e3fa9d6-11"
|
|
529
543
|
})([
|
|
530
544
|
`display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:11.5px 24px;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;& + &{border-top:1px solid `,
|
|
531
545
|
`;}dt{min-width:0;overflow:hidden;color:`,
|
|
@@ -533,23 +547,23 @@ var ContractSpecificationRow = import_styled_components5.styled.div.withConfig({
|
|
|
533
547
|
`;}p{margin:0;}@media (max-width:1199px){grid-template-columns:minmax(160px,0.7fr) minmax(0,1fr);gap:16px;padding:12px 16px;}@media (max-width:767px){grid-template-columns:minmax(110px,0.7fr) minmax(0,1fr);gap:16px;padding:12px 16px;font-size:14px;line-height:18px;}`
|
|
534
548
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary);
|
|
535
549
|
var QualityStandardSection = import_styled_components5.styled.section.withConfig({
|
|
536
|
-
componentId: "sc-
|
|
550
|
+
componentId: "sc-e3fa9d6-12"
|
|
537
551
|
})([
|
|
538
552
|
`display:flex;flex-direction:column;gap:12px;`
|
|
539
553
|
]);
|
|
540
554
|
var QualityStandardIntro = import_styled_components5.styled.div.withConfig({
|
|
541
|
-
componentId: "sc-
|
|
555
|
+
componentId: "sc-e3fa9d6-13"
|
|
542
556
|
})([
|
|
543
557
|
`display:flex;width:100%;flex-direction:column;gap:8px;`
|
|
544
558
|
]);
|
|
545
559
|
var QualityStandardDescription = import_styled_components5.styled.div.withConfig({
|
|
546
|
-
componentId: "sc-
|
|
560
|
+
componentId: "sc-e3fa9d6-14"
|
|
547
561
|
})([
|
|
548
562
|
`width:100%;color:`,
|
|
549
563
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;p{margin:0;}@media (max-width:767px){font-size:14px;line-height:18px;}`
|
|
550
564
|
], ({ theme }) => theme.colors.text.secondary);
|
|
551
565
|
var QualityStandardList = import_styled_components5.styled.div.withConfig({
|
|
552
|
-
componentId: "sc-
|
|
566
|
+
componentId: "sc-e3fa9d6-15"
|
|
553
567
|
})([
|
|
554
568
|
`overflow:hidden;border:1px solid `,
|
|
555
569
|
`;border-radius:8px;`
|
|
@@ -559,14 +573,14 @@ var qualityStandardGrid = (0, import_styled_components5.css)([
|
|
|
559
573
|
`,minmax(0,1fr));gap:24px;padding:11.5px 24px;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;@media (max-width:1199px){gap:12px;padding:12px 16px;}@media (max-width:767px){gap:8px;padding:10px 16px;font-size:14px;line-height:18px;}`
|
|
560
574
|
], ({ $valueColumns }) => $valueColumns);
|
|
561
575
|
var QualityStandardHeader = import_styled_components5.styled.div.withConfig({
|
|
562
|
-
componentId: "sc-
|
|
576
|
+
componentId: "sc-e3fa9d6-16"
|
|
563
577
|
})([
|
|
564
578
|
``,
|
|
565
579
|
` color:`,
|
|
566
580
|
`;span{min-width:0;overflow-wrap:anywhere;}`
|
|
567
581
|
], qualityStandardGrid, ({ theme }) => theme.colors.text.secondary);
|
|
568
582
|
var QualityStandardRow = import_styled_components5.styled.div.withConfig({
|
|
569
|
-
componentId: "sc-
|
|
583
|
+
componentId: "sc-e3fa9d6-17"
|
|
570
584
|
})([
|
|
571
585
|
``,
|
|
572
586
|
` border-top:1px solid `,
|
|
@@ -575,45 +589,45 @@ var QualityStandardRow = import_styled_components5.styled.div.withConfig({
|
|
|
575
589
|
`;}`
|
|
576
590
|
], qualityStandardGrid, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.secondary);
|
|
577
591
|
var QualityTableTitle = import_styled_components5.styled.h3.withConfig({
|
|
578
|
-
componentId: "sc-
|
|
592
|
+
componentId: "sc-e3fa9d6-18"
|
|
579
593
|
})([
|
|
580
594
|
`margin:8px 0 0;color:`,
|
|
581
595
|
`;font-size:16px;line-height:24px;`
|
|
582
596
|
], ({ theme }) => theme.colors.text.primary);
|
|
583
597
|
var DetailNote = import_styled_components5.styled.small.withConfig({
|
|
584
|
-
componentId: "sc-
|
|
598
|
+
componentId: "sc-e3fa9d6-19"
|
|
585
599
|
})([
|
|
586
600
|
`display:block;margin-top:6px;color:`,
|
|
587
601
|
`;font-size:13px;line-height:20px;white-space:pre-wrap;a{color:inherit;text-decoration:underline;}summary{cursor:pointer;}`
|
|
588
602
|
], ({ theme }) => theme.colors.text.secondary);
|
|
589
603
|
var RelatedProductsSection = import_styled_components5.styled.section.withConfig({
|
|
590
|
-
componentId: "sc-
|
|
604
|
+
componentId: "sc-e3fa9d6-20"
|
|
591
605
|
})([
|
|
592
606
|
`display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;`
|
|
593
607
|
]);
|
|
594
608
|
var RelatedProductsHeading = import_styled_components5.styled.h2.withConfig({
|
|
595
|
-
componentId: "sc-
|
|
609
|
+
componentId: "sc-e3fa9d6-21"
|
|
596
610
|
})([
|
|
597
611
|
`width:100%;margin:0;color:`,
|
|
598
612
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;`
|
|
599
613
|
], ({ theme }) => theme.colors.text.primary);
|
|
600
614
|
var RelatedProductsList = import_styled_components5.styled.div.withConfig({
|
|
601
|
-
componentId: "sc-
|
|
615
|
+
componentId: "sc-e3fa9d6-22"
|
|
602
616
|
})([
|
|
603
617
|
`display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;@media (max-width:768px){width:calc(100% + 16px);padding:0 16px 4px 0;overflow-x:auto;flex-direction:row;scroll-padding-right:16px;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x;&::-webkit-scrollbar{display:none;}}`
|
|
604
618
|
]);
|
|
605
619
|
var RelatedProductCard = import_styled_components5.styled.article.withConfig({
|
|
606
|
-
componentId: "sc-
|
|
620
|
+
componentId: "sc-e3fa9d6-23"
|
|
607
621
|
})([
|
|
608
622
|
`display:flex;width:100%;align-items:center;gap:12px;@media (max-width:768px){width:min(278px,calc(100% - 32px));max-width:278px;flex:0 0 min(278px,calc(100% - 32px));scroll-snap-align:start;}`
|
|
609
623
|
]);
|
|
610
624
|
var RelatedProductImageFrame = import_styled_components5.styled.div.withConfig({
|
|
611
|
-
componentId: "sc-
|
|
625
|
+
componentId: "sc-e3fa9d6-24"
|
|
612
626
|
})([
|
|
613
627
|
`position:relative;width:136px;height:136px;flex:0 0 136px;`
|
|
614
628
|
]);
|
|
615
629
|
var RelatedProductImage = (0, import_styled_components5.styled)(import_image2.default).withConfig({
|
|
616
|
-
componentId: "sc-
|
|
630
|
+
componentId: "sc-e3fa9d6-25"
|
|
617
631
|
})([
|
|
618
632
|
`width:`,
|
|
619
633
|
` !important;height:`,
|
|
@@ -622,24 +636,24 @@ var RelatedProductImage = (0, import_styled_components5.styled)(import_image2.de
|
|
|
622
636
|
` !important;max-width:none;object-fit:contain;pointer-events:none;`
|
|
623
637
|
], ({ $size }) => $size, ({ $size }) => $size, ({ $top }) => $top, ({ $left }) => $left);
|
|
624
638
|
var RelatedProductContent = import_styled_components5.styled.div.withConfig({
|
|
625
|
-
componentId: "sc-
|
|
639
|
+
componentId: "sc-e3fa9d6-26"
|
|
626
640
|
})([
|
|
627
641
|
`display:flex;min-width:0;flex:1 0 0;flex-direction:column;align-items:flex-start;gap:4px;@media (max-width:767px){gap:0px;}`
|
|
628
642
|
]);
|
|
629
643
|
var RelatedProductTitle = import_styled_components5.styled.h3.withConfig({
|
|
630
|
-
componentId: "sc-
|
|
644
|
+
componentId: "sc-e3fa9d6-27"
|
|
631
645
|
})([
|
|
632
646
|
`width:100%;margin:0;color:`,
|
|
633
647
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
634
648
|
], ({ theme }) => theme.colors.text.primary);
|
|
635
649
|
var RelatedProductDescription = import_styled_components5.styled.p.withConfig({
|
|
636
|
-
componentId: "sc-
|
|
650
|
+
componentId: "sc-e3fa9d6-28"
|
|
637
651
|
})([
|
|
638
652
|
`display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
|
|
639
653
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;@media (max-width:767px){font-size:12px;line-height:16px;}`
|
|
640
654
|
], ({ theme }) => theme.colors.text.secondary);
|
|
641
655
|
var RelatedProductAction = import_styled_components5.styled.a.withConfig({
|
|
642
|
-
componentId: "sc-
|
|
656
|
+
componentId: "sc-e3fa9d6-29"
|
|
643
657
|
})([
|
|
644
658
|
`display:inline-flex;padding:4px 16px 4px 0;align-items:center;justify-content:center;gap:6px;border-radius:6px;color:`,
|
|
645
659
|
`;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;line-height:18px;transition:color 160ms ease;&:hover{color:`,
|
|
@@ -647,7 +661,7 @@ var RelatedProductAction = import_styled_components5.styled.a.withConfig({
|
|
|
647
661
|
`;outline-offset:2px;}@media (max-width:767px){font-size:12px;line-height:16px;}`
|
|
648
662
|
], ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.action.primaryHover, ({ theme }) => theme.colors.accent.primary);
|
|
649
663
|
var RelatedProductArrow = import_styled_components5.styled.span.withConfig({
|
|
650
|
-
componentId: "sc-
|
|
664
|
+
componentId: "sc-e3fa9d6-30"
|
|
651
665
|
})([
|
|
652
666
|
`width:16px;height:16px;flex:0 0 16px;background:currentColor;mask:url("`,
|
|
653
667
|
`") center / contain no-repeat;-webkit-mask:url("`,
|
package/dist/products.mjs
CHANGED
|
@@ -86,24 +86,24 @@ import { useTranslation } from "react-i18next";
|
|
|
86
86
|
// src/commodity-original/components/Pagination/style.ts
|
|
87
87
|
import { styled as styled2 } from "styled-components";
|
|
88
88
|
var PaginationNav = styled2.nav.withConfig({
|
|
89
|
-
componentId: "sc-
|
|
89
|
+
componentId: "sc-e6c46071-0"
|
|
90
90
|
})([
|
|
91
91
|
`display:flex;justify-content:center;`
|
|
92
92
|
]);
|
|
93
93
|
var PaginationList = styled2.ul.withConfig({
|
|
94
|
-
componentId: "sc-
|
|
94
|
+
componentId: "sc-e6c46071-1"
|
|
95
95
|
})([
|
|
96
96
|
`display:flex;margin:0;padding:0;align-items:center;gap:8px;list-style:none;`
|
|
97
97
|
]);
|
|
98
98
|
var PaginationItem = styled2.li.withConfig({
|
|
99
|
-
componentId: "sc-
|
|
99
|
+
componentId: "sc-e6c46071-2"
|
|
100
100
|
})([
|
|
101
101
|
`display:flex;`
|
|
102
102
|
]);
|
|
103
103
|
var PaginationButton = styled2.button.withConfig({
|
|
104
|
-
componentId: "sc-
|
|
104
|
+
componentId: "sc-e6c46071-3"
|
|
105
105
|
})([
|
|
106
|
-
`display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,
|
|
106
|
+
`box-sizing:border-box;text-decoration:none;display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,
|
|
107
107
|
`;border-radius:4px;padding:4px;color:`,
|
|
108
108
|
`;background:`,
|
|
109
109
|
`;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;cursor:pointer;transition:color 160ms ease,background-color 160ms ease,border-color 160ms ease;&[data-control]{border-color:transparent;background:transparent;}&[data-active]{border-color:`,
|
|
@@ -116,7 +116,7 @@ var PaginationButton = styled2.button.withConfig({
|
|
|
116
116
|
`;outline-offset:2px;}`
|
|
117
117
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
|
|
118
118
|
var PaginationArrow = styled2.span.withConfig({
|
|
119
|
-
componentId: "sc-
|
|
119
|
+
componentId: "sc-e6c46071-4"
|
|
120
120
|
})([
|
|
121
121
|
`width:16px;height:16px;background:currentColor;mask:url("`,
|
|
122
122
|
`") center / contain no-repeat;-webkit-mask:url("`,
|
|
@@ -149,6 +149,7 @@ function Pagination({
|
|
|
149
149
|
page,
|
|
150
150
|
pageCount,
|
|
151
151
|
onPageChange,
|
|
152
|
+
getPageHref,
|
|
152
153
|
siblingCount = 1,
|
|
153
154
|
ariaLabel,
|
|
154
155
|
labels,
|
|
@@ -160,6 +161,13 @@ function Pagination({
|
|
|
160
161
|
const items = getPaginationItems(currentPage, safePageCount, siblingCount);
|
|
161
162
|
const hasPreviousPage = currentPage > 1;
|
|
162
163
|
const hasNextPage = currentPage < safePageCount;
|
|
164
|
+
const pageClick = (page2) => (event) => {
|
|
165
|
+
if (getPageHref) {
|
|
166
|
+
if (event.defaultPrevented || event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;
|
|
167
|
+
event.preventDefault();
|
|
168
|
+
}
|
|
169
|
+
onPageChange(page2);
|
|
170
|
+
};
|
|
163
171
|
return /* @__PURE__ */ jsx2(
|
|
164
172
|
PaginationNav,
|
|
165
173
|
{
|
|
@@ -169,33 +177,39 @@ function Pagination({
|
|
|
169
177
|
/* @__PURE__ */ jsx2(PaginationItem, { children: /* @__PURE__ */ jsx2(
|
|
170
178
|
PaginationButton,
|
|
171
179
|
{
|
|
180
|
+
as: getPageHref && hasPreviousPage ? "a" : "button",
|
|
181
|
+
href: getPageHref && hasPreviousPage ? getPageHref(currentPage - 1) : void 0,
|
|
172
182
|
"aria-label": labels?.previous ?? t("pagination.previous"),
|
|
173
183
|
"data-control": "previous",
|
|
174
184
|
disabled: !hasPreviousPage,
|
|
175
|
-
onClick: (
|
|
176
|
-
type: "button",
|
|
185
|
+
onClick: pageClick(currentPage - 1),
|
|
186
|
+
type: getPageHref && hasPreviousPage ? void 0 : "button",
|
|
177
187
|
children: /* @__PURE__ */ jsx2(PaginationArrow, { "data-direction": "previous" })
|
|
178
188
|
}
|
|
179
189
|
) }),
|
|
180
190
|
items.map((item, index) => /* @__PURE__ */ jsx2(PaginationItem, { children: item === "ellipsis" ? /* @__PURE__ */ jsx2(PaginationButton, { "aria-hidden": "true", disabled: true, tabIndex: -1, type: "button", children: "\u2026" }) : /* @__PURE__ */ jsx2(
|
|
181
191
|
PaginationButton,
|
|
182
192
|
{
|
|
193
|
+
as: getPageHref ? "a" : "button",
|
|
194
|
+
href: getPageHref?.(item),
|
|
183
195
|
"aria-current": item === currentPage ? "page" : void 0,
|
|
184
196
|
"aria-label": item === currentPage ? labels?.current(item) ?? t("pagination.current", { page: item }) : labels?.page(item) ?? t("pagination.page", { page: item }),
|
|
185
197
|
"data-active": item === currentPage || void 0,
|
|
186
|
-
onClick: (
|
|
187
|
-
type: "button",
|
|
198
|
+
onClick: pageClick(item),
|
|
199
|
+
type: getPageHref ? void 0 : "button",
|
|
188
200
|
children: item
|
|
189
201
|
}
|
|
190
202
|
) }, `${item}-${index}`)),
|
|
191
203
|
/* @__PURE__ */ jsx2(PaginationItem, { children: /* @__PURE__ */ jsx2(
|
|
192
204
|
PaginationButton,
|
|
193
205
|
{
|
|
206
|
+
as: getPageHref && hasNextPage ? "a" : "button",
|
|
207
|
+
href: getPageHref && hasNextPage ? getPageHref(currentPage + 1) : void 0,
|
|
194
208
|
"aria-label": labels?.next ?? t("pagination.next"),
|
|
195
209
|
"data-control": "next",
|
|
196
210
|
disabled: !hasNextPage,
|
|
197
|
-
onClick: (
|
|
198
|
-
type: "button",
|
|
211
|
+
onClick: pageClick(currentPage + 1),
|
|
212
|
+
type: getPageHref && hasNextPage ? void 0 : "button",
|
|
199
213
|
children: /* @__PURE__ */ jsx2(PaginationArrow, { "data-direction": "next" })
|
|
200
214
|
}
|
|
201
215
|
) })
|
|
@@ -427,67 +441,67 @@ var EmptyProducts = styled4.p.withConfig({
|
|
|
427
441
|
// src/wikex/products/detail-style.ts
|
|
428
442
|
import Image2 from "next/image.js";
|
|
429
443
|
import { styled as styled5, css as css2 } from "styled-components";
|
|
430
|
-
var DetailMain = styled5.
|
|
431
|
-
componentId: "sc-
|
|
444
|
+
var DetailMain = styled5.div.withConfig({
|
|
445
|
+
componentId: "sc-e3fa9d6-0"
|
|
432
446
|
})([
|
|
433
447
|
`display:flex;width:min(1248px,100%);min-height:calc(100vh - var(--header-height));margin:0 auto;padding:32px 24px 96px;flex-direction:column;gap:16px;@media (max-width:767px){padding:32px 16px 40px;}`
|
|
434
448
|
]);
|
|
435
449
|
var PageHeader = styled5.header.withConfig({
|
|
436
|
-
componentId: "sc-
|
|
450
|
+
componentId: "sc-e3fa9d6-1"
|
|
437
451
|
})([
|
|
438
452
|
`display:flex;flex-direction:column;`
|
|
439
453
|
]);
|
|
440
454
|
var PageTitle = styled5.h1.withConfig({
|
|
441
|
-
componentId: "sc-
|
|
455
|
+
componentId: "sc-e3fa9d6-2"
|
|
442
456
|
})([
|
|
443
457
|
`margin:0;color:`,
|
|
444
458
|
`;font-family:var(--Font-Landingpage,Inter);font-size:var(--Size-H2,40px);font-style:normal;font-weight:700;line-height:var(--Line-height-H2,50px);@media (max-width:767px){font-size:var(--Size-H3,24px) !important;line-height:var(--Line-height-H3,36px);}`
|
|
445
459
|
], ({ theme }) => theme.colors.text.primary);
|
|
446
460
|
var ContractLayout = styled5.div.withConfig({
|
|
447
|
-
componentId: "sc-
|
|
461
|
+
componentId: "sc-e3fa9d6-3"
|
|
448
462
|
})([
|
|
449
463
|
`margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) 373px;gap:40px;align-items:start;@media (max-width:1199px){grid-template-columns:minmax(0,1fr) 280px;gap:24px;}@media (max-width:768px){grid-template-columns:minmax(0,1fr);margin-top:0px;}`
|
|
450
464
|
]);
|
|
451
465
|
var ContractMain = styled5.div.withConfig({
|
|
452
|
-
componentId: "sc-
|
|
466
|
+
componentId: "sc-e3fa9d6-4"
|
|
453
467
|
})([
|
|
454
468
|
`display:flex;min-width:0;flex-direction:column;gap:24px;overflow-wrap:anywhere;`
|
|
455
469
|
]);
|
|
456
470
|
var ContractSidebar = styled5.aside.withConfig({
|
|
457
|
-
componentId: "sc-
|
|
471
|
+
componentId: "sc-e3fa9d6-5"
|
|
458
472
|
})([
|
|
459
473
|
`min-width:0;position:sticky;top:calc(var(--header-height) + 24px);align-self:start;@media (max-width:768px){position:static;width:100%;}`
|
|
460
474
|
]);
|
|
461
475
|
var IntroductionSection = styled5.section.withConfig({
|
|
462
|
-
componentId: "sc-
|
|
476
|
+
componentId: "sc-e3fa9d6-6"
|
|
463
477
|
})([
|
|
464
478
|
`display:flex;flex-direction:column;gap:8px;@media (max-width:767px){gap:6px;}`
|
|
465
479
|
]);
|
|
466
480
|
var ContractSectionTitle = styled5.h2.withConfig({
|
|
467
|
-
componentId: "sc-
|
|
481
|
+
componentId: "sc-e3fa9d6-7"
|
|
468
482
|
})([
|
|
469
483
|
`width:100%;margin:0;overflow:hidden;color:`,
|
|
470
484
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
471
485
|
], ({ theme }) => theme.colors.text.primary);
|
|
472
486
|
var IntroductionDescription = styled5.p.withConfig({
|
|
473
|
-
componentId: "sc-
|
|
487
|
+
componentId: "sc-e3fa9d6-8"
|
|
474
488
|
})([
|
|
475
489
|
`width:100%;margin:0;color:`,
|
|
476
490
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;@media (max-width:767px){font-size:14px;line-height:18px;}`
|
|
477
491
|
], ({ theme }) => theme.colors.text.secondary);
|
|
478
492
|
var ContractSpecificationSection = styled5.section.withConfig({
|
|
479
|
-
componentId: "sc-
|
|
493
|
+
componentId: "sc-e3fa9d6-9"
|
|
480
494
|
})([
|
|
481
495
|
`display:flex;flex-direction:column;gap:12px;`
|
|
482
496
|
]);
|
|
483
497
|
var ContractSpecificationList = styled5.dl.withConfig({
|
|
484
|
-
componentId: "sc-
|
|
498
|
+
componentId: "sc-e3fa9d6-10"
|
|
485
499
|
})([
|
|
486
500
|
`overflow:hidden;margin:0;border:1px solid `,
|
|
487
501
|
`;border-radius:8px;`
|
|
488
502
|
], ({ theme }) => theme.colors.border.line);
|
|
489
503
|
var ContractSpecificationRow = styled5.div.withConfig({
|
|
490
|
-
componentId: "sc-
|
|
504
|
+
componentId: "sc-e3fa9d6-11"
|
|
491
505
|
})([
|
|
492
506
|
`display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:11.5px 24px;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;& + &{border-top:1px solid `,
|
|
493
507
|
`;}dt{min-width:0;overflow:hidden;color:`,
|
|
@@ -495,23 +509,23 @@ var ContractSpecificationRow = styled5.div.withConfig({
|
|
|
495
509
|
`;}p{margin:0;}@media (max-width:1199px){grid-template-columns:minmax(160px,0.7fr) minmax(0,1fr);gap:16px;padding:12px 16px;}@media (max-width:767px){grid-template-columns:minmax(110px,0.7fr) minmax(0,1fr);gap:16px;padding:12px 16px;font-size:14px;line-height:18px;}`
|
|
496
510
|
], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary);
|
|
497
511
|
var QualityStandardSection = styled5.section.withConfig({
|
|
498
|
-
componentId: "sc-
|
|
512
|
+
componentId: "sc-e3fa9d6-12"
|
|
499
513
|
})([
|
|
500
514
|
`display:flex;flex-direction:column;gap:12px;`
|
|
501
515
|
]);
|
|
502
516
|
var QualityStandardIntro = styled5.div.withConfig({
|
|
503
|
-
componentId: "sc-
|
|
517
|
+
componentId: "sc-e3fa9d6-13"
|
|
504
518
|
})([
|
|
505
519
|
`display:flex;width:100%;flex-direction:column;gap:8px;`
|
|
506
520
|
]);
|
|
507
521
|
var QualityStandardDescription = styled5.div.withConfig({
|
|
508
|
-
componentId: "sc-
|
|
522
|
+
componentId: "sc-e3fa9d6-14"
|
|
509
523
|
})([
|
|
510
524
|
`width:100%;color:`,
|
|
511
525
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;p{margin:0;}@media (max-width:767px){font-size:14px;line-height:18px;}`
|
|
512
526
|
], ({ theme }) => theme.colors.text.secondary);
|
|
513
527
|
var QualityStandardList = styled5.div.withConfig({
|
|
514
|
-
componentId: "sc-
|
|
528
|
+
componentId: "sc-e3fa9d6-15"
|
|
515
529
|
})([
|
|
516
530
|
`overflow:hidden;border:1px solid `,
|
|
517
531
|
`;border-radius:8px;`
|
|
@@ -521,14 +535,14 @@ var qualityStandardGrid = css2([
|
|
|
521
535
|
`,minmax(0,1fr));gap:24px;padding:11.5px 24px;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;@media (max-width:1199px){gap:12px;padding:12px 16px;}@media (max-width:767px){gap:8px;padding:10px 16px;font-size:14px;line-height:18px;}`
|
|
522
536
|
], ({ $valueColumns }) => $valueColumns);
|
|
523
537
|
var QualityStandardHeader = styled5.div.withConfig({
|
|
524
|
-
componentId: "sc-
|
|
538
|
+
componentId: "sc-e3fa9d6-16"
|
|
525
539
|
})([
|
|
526
540
|
``,
|
|
527
541
|
` color:`,
|
|
528
542
|
`;span{min-width:0;overflow-wrap:anywhere;}`
|
|
529
543
|
], qualityStandardGrid, ({ theme }) => theme.colors.text.secondary);
|
|
530
544
|
var QualityStandardRow = styled5.div.withConfig({
|
|
531
|
-
componentId: "sc-
|
|
545
|
+
componentId: "sc-e3fa9d6-17"
|
|
532
546
|
})([
|
|
533
547
|
``,
|
|
534
548
|
` border-top:1px solid `,
|
|
@@ -537,45 +551,45 @@ var QualityStandardRow = styled5.div.withConfig({
|
|
|
537
551
|
`;}`
|
|
538
552
|
], qualityStandardGrid, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.secondary);
|
|
539
553
|
var QualityTableTitle = styled5.h3.withConfig({
|
|
540
|
-
componentId: "sc-
|
|
554
|
+
componentId: "sc-e3fa9d6-18"
|
|
541
555
|
})([
|
|
542
556
|
`margin:8px 0 0;color:`,
|
|
543
557
|
`;font-size:16px;line-height:24px;`
|
|
544
558
|
], ({ theme }) => theme.colors.text.primary);
|
|
545
559
|
var DetailNote = styled5.small.withConfig({
|
|
546
|
-
componentId: "sc-
|
|
560
|
+
componentId: "sc-e3fa9d6-19"
|
|
547
561
|
})([
|
|
548
562
|
`display:block;margin-top:6px;color:`,
|
|
549
563
|
`;font-size:13px;line-height:20px;white-space:pre-wrap;a{color:inherit;text-decoration:underline;}summary{cursor:pointer;}`
|
|
550
564
|
], ({ theme }) => theme.colors.text.secondary);
|
|
551
565
|
var RelatedProductsSection = styled5.section.withConfig({
|
|
552
|
-
componentId: "sc-
|
|
566
|
+
componentId: "sc-e3fa9d6-20"
|
|
553
567
|
})([
|
|
554
568
|
`display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;`
|
|
555
569
|
]);
|
|
556
570
|
var RelatedProductsHeading = styled5.h2.withConfig({
|
|
557
|
-
componentId: "sc-
|
|
571
|
+
componentId: "sc-e3fa9d6-21"
|
|
558
572
|
})([
|
|
559
573
|
`width:100%;margin:0;color:`,
|
|
560
574
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;`
|
|
561
575
|
], ({ theme }) => theme.colors.text.primary);
|
|
562
576
|
var RelatedProductsList = styled5.div.withConfig({
|
|
563
|
-
componentId: "sc-
|
|
577
|
+
componentId: "sc-e3fa9d6-22"
|
|
564
578
|
})([
|
|
565
579
|
`display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;@media (max-width:768px){width:calc(100% + 16px);padding:0 16px 4px 0;overflow-x:auto;flex-direction:row;scroll-padding-right:16px;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x;&::-webkit-scrollbar{display:none;}}`
|
|
566
580
|
]);
|
|
567
581
|
var RelatedProductCard = styled5.article.withConfig({
|
|
568
|
-
componentId: "sc-
|
|
582
|
+
componentId: "sc-e3fa9d6-23"
|
|
569
583
|
})([
|
|
570
584
|
`display:flex;width:100%;align-items:center;gap:12px;@media (max-width:768px){width:min(278px,calc(100% - 32px));max-width:278px;flex:0 0 min(278px,calc(100% - 32px));scroll-snap-align:start;}`
|
|
571
585
|
]);
|
|
572
586
|
var RelatedProductImageFrame = styled5.div.withConfig({
|
|
573
|
-
componentId: "sc-
|
|
587
|
+
componentId: "sc-e3fa9d6-24"
|
|
574
588
|
})([
|
|
575
589
|
`position:relative;width:136px;height:136px;flex:0 0 136px;`
|
|
576
590
|
]);
|
|
577
591
|
var RelatedProductImage = styled5(Image2).withConfig({
|
|
578
|
-
componentId: "sc-
|
|
592
|
+
componentId: "sc-e3fa9d6-25"
|
|
579
593
|
})([
|
|
580
594
|
`width:`,
|
|
581
595
|
` !important;height:`,
|
|
@@ -584,24 +598,24 @@ var RelatedProductImage = styled5(Image2).withConfig({
|
|
|
584
598
|
` !important;max-width:none;object-fit:contain;pointer-events:none;`
|
|
585
599
|
], ({ $size }) => $size, ({ $size }) => $size, ({ $top }) => $top, ({ $left }) => $left);
|
|
586
600
|
var RelatedProductContent = styled5.div.withConfig({
|
|
587
|
-
componentId: "sc-
|
|
601
|
+
componentId: "sc-e3fa9d6-26"
|
|
588
602
|
})([
|
|
589
603
|
`display:flex;min-width:0;flex:1 0 0;flex-direction:column;align-items:flex-start;gap:4px;@media (max-width:767px){gap:0px;}`
|
|
590
604
|
]);
|
|
591
605
|
var RelatedProductTitle = styled5.h3.withConfig({
|
|
592
|
-
componentId: "sc-
|
|
606
|
+
componentId: "sc-e3fa9d6-27"
|
|
593
607
|
})([
|
|
594
608
|
`width:100%;margin:0;color:`,
|
|
595
609
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;@media (max-width:767px){font-size:16px;line-height:22px;}`
|
|
596
610
|
], ({ theme }) => theme.colors.text.primary);
|
|
597
611
|
var RelatedProductDescription = styled5.p.withConfig({
|
|
598
|
-
componentId: "sc-
|
|
612
|
+
componentId: "sc-e3fa9d6-28"
|
|
599
613
|
})([
|
|
600
614
|
`display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
|
|
601
615
|
`;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;@media (max-width:767px){font-size:12px;line-height:16px;}`
|
|
602
616
|
], ({ theme }) => theme.colors.text.secondary);
|
|
603
617
|
var RelatedProductAction = styled5.a.withConfig({
|
|
604
|
-
componentId: "sc-
|
|
618
|
+
componentId: "sc-e3fa9d6-29"
|
|
605
619
|
})([
|
|
606
620
|
`display:inline-flex;padding:4px 16px 4px 0;align-items:center;justify-content:center;gap:6px;border-radius:6px;color:`,
|
|
607
621
|
`;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;line-height:18px;transition:color 160ms ease;&:hover{color:`,
|
|
@@ -609,7 +623,7 @@ var RelatedProductAction = styled5.a.withConfig({
|
|
|
609
623
|
`;outline-offset:2px;}@media (max-width:767px){font-size:12px;line-height:16px;}`
|
|
610
624
|
], ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.action.primaryHover, ({ theme }) => theme.colors.accent.primary);
|
|
611
625
|
var RelatedProductArrow = styled5.span.withConfig({
|
|
612
|
-
componentId: "sc-
|
|
626
|
+
componentId: "sc-e3fa9d6-30"
|
|
613
627
|
})([
|
|
614
628
|
`width:16px;height:16px;flex:0 0 16px;background:currentColor;mask:url("`,
|
|
615
629
|
`") center / contain no-repeat;-webkit-mask:url("`,
|