@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.
Files changed (47) hide show
  1. package/dist/chrome-model.css +0 -1
  2. package/dist/chrome-model.js +0 -1
  3. package/dist/chrome-model.mjs +0 -1
  4. package/dist/consultation-model.js +0 -1
  5. package/dist/consultation-model.mjs +0 -1
  6. package/dist/consultations.js +0 -1
  7. package/dist/consultations.mjs +0 -1
  8. package/dist/fees-model.js +0 -1
  9. package/dist/fees-model.mjs +0 -1
  10. package/dist/fees.js +25 -26
  11. package/dist/fees.mjs +25 -26
  12. package/dist/index.css +0 -1
  13. package/dist/index.js +25 -26
  14. package/dist/index.mjs +25 -26
  15. package/dist/page-templates.js +0 -1
  16. package/dist/page-templates.mjs +0 -1
  17. package/dist/partner.css +0 -1
  18. package/dist/partner.js +0 -1
  19. package/dist/partner.mjs +0 -1
  20. package/dist/products.js +0 -1
  21. package/dist/products.mjs +0 -1
  22. package/dist/ui.js +0 -1
  23. package/dist/ui.mjs +0 -1
  24. package/package.json +1 -1
  25. package/dist/chrome-model.css.map +0 -1
  26. package/dist/chrome-model.js.map +0 -1
  27. package/dist/chrome-model.mjs.map +0 -1
  28. package/dist/consultation-model.js.map +0 -1
  29. package/dist/consultation-model.mjs.map +0 -1
  30. package/dist/consultations.js.map +0 -1
  31. package/dist/consultations.mjs.map +0 -1
  32. package/dist/fees-model.js.map +0 -1
  33. package/dist/fees-model.mjs.map +0 -1
  34. package/dist/fees.js.map +0 -1
  35. package/dist/fees.mjs.map +0 -1
  36. package/dist/index.css.map +0 -1
  37. package/dist/index.js.map +0 -1
  38. package/dist/index.mjs.map +0 -1
  39. package/dist/page-templates.js.map +0 -1
  40. package/dist/page-templates.mjs.map +0 -1
  41. package/dist/partner.css.map +0 -1
  42. package/dist/partner.js.map +0 -1
  43. package/dist/partner.mjs.map +0 -1
  44. package/dist/products.js.map +0 -1
  45. package/dist/products.mjs.map +0 -1
  46. package/dist/ui.js.map +0 -1
  47. package/dist/ui.mjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -11100,27 +11100,27 @@ var feesTheme = {
11100
11100
  ]))
11101
11101
  };
11102
11102
  var EditorActions = styled14.div.withConfig({
11103
- componentId: "sc-98eefcb2-0"
11103
+ componentId: "sc-508961e9-0"
11104
11104
  })([
11105
11105
  `display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;`
11106
11106
  ]);
11107
11107
  var EditGroup = styled14.div.withConfig({
11108
- componentId: "sc-98eefcb2-1"
11108
+ componentId: "sc-508961e9-1"
11109
11109
  })([
11110
11110
  `display:flex;flex-direction:column;gap:6px;`
11111
11111
  ]);
11112
11112
  var HeaderGroup = styled14(EditGroup).withConfig({
11113
- componentId: "sc-98eefcb2-2"
11113
+ componentId: "sc-508961e9-2"
11114
11114
  })([
11115
11115
  `gap:8px;`
11116
11116
  ]);
11117
11117
  var HeaderTitle = styled14.div.withConfig({
11118
- componentId: "sc-98eefcb2-3"
11118
+ componentId: "sc-508961e9-3"
11119
11119
  })([
11120
11120
  `display:flex;align-items:flex-start;min-height:var(--fees-header-title-height,36px);`
11121
11121
  ]);
11122
11122
  var AlignedFeesTable = styled14(FeesAndMarginTable).withConfig({
11123
- componentId: "sc-98eefcb2-4"
11123
+ componentId: "sc-508961e9-4"
11124
11124
  })([
11125
11125
  `&[data-editable] th{vertical-align:top;}&&&[data-editable] thead > tr > th{font-size:`,
11126
11126
  `px;line-height:1.4;}&&&[data-editable] tbody > tr > td{font-size:`,
@@ -11155,14 +11155,14 @@ var AlignedFeesTable = styled14(FeesAndMarginTable).withConfig({
11155
11155
  }
11156
11156
  `).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);
11157
11157
  var FeesCellContent = styled14.span.withConfig({
11158
- componentId: "sc-98eefcb2-5"
11158
+ componentId: "sc-508961e9-5"
11159
11159
  })([
11160
11160
  `display:block;text-align:`,
11161
11161
  `;@media (max-width:767px){text-align:`,
11162
11162
  `;}`
11163
11163
  ], ({ $align, $alignRight }) => $align ?? ($alignRight ? "right" : "left"), ({ $align }) => $align ?? "left");
11164
11164
  var EditorButton = styled14.button.withConfig({
11165
- componentId: "sc-98eefcb2-6"
11165
+ componentId: "sc-508961e9-6"
11166
11166
  })([
11167
11167
  `padding:7px 12px;border:1px solid `,
11168
11168
  `;border-radius:6px;background:`,
@@ -11171,17 +11171,17 @@ var EditorButton = styled14.button.withConfig({
11171
11171
  `;}&:disabled{cursor:default;opacity:.4;}`
11172
11172
  ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
11173
11173
  var OrderActions = styled14.div.withConfig({
11174
- componentId: "sc-98eefcb2-7"
11174
+ componentId: "sc-508961e9-7"
11175
11175
  })([
11176
11176
  `display:flex;gap:6px;align-items:center;flex-wrap:wrap;`
11177
11177
  ]);
11178
11178
  var PositionLabel = styled14.label.withConfig({
11179
- componentId: "sc-98eefcb2-8"
11179
+ componentId: "sc-508961e9-8"
11180
11180
  })([
11181
11181
  `display:inline-flex;align-items:center;gap:6px;font-size:12px;`
11182
11182
  ]);
11183
11183
  var PositionInput = styled14.input.withConfig({
11184
- componentId: "sc-98eefcb2-9"
11184
+ componentId: "sc-508961e9-9"
11185
11185
  })([
11186
11186
  `width:56px;padding:5px;border:1px solid `,
11187
11187
  `;border-radius:4px;background:`,
@@ -11190,18 +11190,18 @@ var PositionInput = styled14.input.withConfig({
11190
11190
  `;}`
11191
11191
  ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.background.input, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.accent.primary);
11192
11192
  var ColumnRow = styled14.div.withConfig({
11193
- componentId: "sc-98eefcb2-10"
11193
+ componentId: "sc-508961e9-10"
11194
11194
  })([
11195
11195
  `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;}`
11196
11196
  ]);
11197
11197
  var PaginationControls = styled14(FeesAndMarginPagination).withConfig({
11198
- componentId: "sc-98eefcb2-11"
11198
+ componentId: "sc-508961e9-11"
11199
11199
  })([
11200
11200
  `align-items:center;flex-wrap:wrap;gap:16px 24px;color:`,
11201
11201
  `;`
11202
11202
  ], ({ theme }) => theme.colors.text.primary);
11203
11203
  var PageSizeLabel = styled14.div.withConfig({
11204
- componentId: "sc-98eefcb2-12"
11204
+ componentId: "sc-508961e9-12"
11205
11205
  })([
11206
11206
  `display:inline-flex;align-items:center;gap:8px;color:`,
11207
11207
  `;font:inherit;font-size:13px;`
@@ -11229,12 +11229,12 @@ function Position({ value: value4, max, label, onMove }) {
11229
11229
  });
11230
11230
  }
11231
11231
  var DeleteButton = styled14(EditorButton).withConfig({
11232
- componentId: "sc-98eefcb2-13"
11232
+ componentId: "sc-508961e9-13"
11233
11233
  })([
11234
11234
  `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;}`
11235
11235
  ]);
11236
11236
  var CellEditorInput = styled14.textarea.withConfig({
11237
- componentId: "sc-98eefcb2-14"
11237
+ componentId: "sc-508961e9-14"
11238
11238
  })([
11239
11239
  `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:`,
11240
11240
  `;}&:focus{outline:1px solid `,
@@ -11294,9 +11294,9 @@ function RowTagSelect({ selected, options, onChange, disabled = false }) {
11294
11294
  value: selected,
11295
11295
  disabled,
11296
11296
  inputProps: {
11297
- "aria-label": "Ch\u1ECDn tag"
11297
+ "aria-label": "Ch\u1ECDn nh\xF3m"
11298
11298
  },
11299
- renderValue: (value4) => value4.length ? `\u0110\xE3 ch\u1ECDn ${value4.length} tag` : "Ch\u1ECDn tag\u2026",
11299
+ renderValue: (value4) => value4.length ? `\u0110\xE3 ch\u1ECDn ${value4.length} nh\xF3m` : "Ch\u1ECDn nh\xF3m\u2026",
11300
11300
  MenuProps: {
11301
11301
  container: () => selectRoot.current?.ownerDocument.body ?? document.body
11302
11302
  },
@@ -11322,7 +11322,7 @@ function RowTagSelect({ selected, options, onChange, disabled = false }) {
11322
11322
  }, item)),
11323
11323
  !options.length && /* @__PURE__ */ _jsx3(MenuItem4, {
11324
11324
  disabled: true,
11325
- children: "Ch\u01B0a c\xF3 tag \u2014 d\xF9ng n\xFAt Th\xEAm tag ph\xEDa tr\xEAn"
11325
+ children: "Ch\u01B0a c\xF3 nh\xF3m \u2014 d\xF9ng n\xFAt Th\xEAm nh\xF3m ph\xEDa tr\xEAn"
11326
11326
  })
11327
11327
  ]
11328
11328
  })
@@ -11684,7 +11684,7 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value: value4, editab
11684
11684
  key: "__tags",
11685
11685
  title: /* @__PURE__ */ _jsx3(HeaderGroup, {
11686
11686
  children: /* @__PURE__ */ _jsx3(HeaderTitle, {
11687
- children: "Tag & th\u1EE9 t\u1EF1 d\xF2ng"
11687
+ children: "Nh\xF3m & th\u1EE9 t\u1EF1 d\xF2ng"
11688
11688
  })
11689
11689
  }),
11690
11690
  width: 300,
@@ -11719,7 +11719,7 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value: value4, editab
11719
11719
  minWidth: 0
11720
11720
  },
11721
11721
  children: /* @__PURE__ */ _jsx3(TabCommon, {
11722
- ariaLabel: "L\u1ECDc theo tag",
11722
+ ariaLabel: "L\u1ECDc theo nh\xF3m",
11723
11723
  size,
11724
11724
  items: [
11725
11725
  {
@@ -11824,7 +11824,7 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value: value4, editab
11824
11824
  setTagDraft("");
11825
11825
  setCreateTagOpen(true);
11826
11826
  },
11827
- children: "+ Th\xEAm tag"
11827
+ children: "+ Th\xEAm nh\xF3m"
11828
11828
  })
11829
11829
  ]
11830
11830
  }),
@@ -12203,18 +12203,18 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value: value4, editab
12203
12203
  children: [
12204
12204
  /* @__PURE__ */ _jsx3(DialogTitle, {
12205
12205
  id: `${dialogId}-create-tag-title`,
12206
- children: "T\u1EA1o tag m\u1EDBi"
12206
+ children: "T\u1EA1o nh\xF3m m\u1EDBi"
12207
12207
  }),
12208
12208
  /* @__PURE__ */ _jsx3(DialogContent, {
12209
12209
  children: /* @__PURE__ */ _jsx3(TextField4, {
12210
12210
  autoFocus: true,
12211
12211
  fullWidth: true,
12212
12212
  margin: "dense",
12213
- label: "T\xEAn tag",
12213
+ label: "T\xEAn nh\xF3m",
12214
12214
  value: tagDraft,
12215
12215
  onChange: (event) => setTagDraft(event.target.value),
12216
12216
  error: duplicateTag,
12217
- helperText: duplicateTag ? "Tag n\xE0y \u0111\xE3 t\u1ED3n t\u1EA1i." : "Tag m\u1EDBi s\u1EBD c\xF3 trong danh s\xE1ch ch\u1ECDn c\u1EE7a t\u1EA5t c\u1EA3 h\xE0ng.",
12217
+ 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.",
12218
12218
  onKeyDown: (event) => {
12219
12219
  if (event.key === "Enter") {
12220
12220
  event.preventDefault();
@@ -12233,7 +12233,7 @@ var FeesTable = /* @__PURE__ */ memo(function FeesTable2({ value: value4, editab
12233
12233
  variant: "contained",
12234
12234
  disabled: !newTagName || duplicateTag,
12235
12235
  onClick: createTag,
12236
- children: "T\u1EA1o tag"
12236
+ children: "T\u1EA1o nh\xF3m"
12237
12237
  })
12238
12238
  ]
12239
12239
  })
@@ -20229,4 +20229,3 @@ export {
20229
20229
  wikexComponents,
20230
20230
  wikexPartnerBlocks
20231
20231
  };
20232
- //# sourceMappingURL=index.mjs.map
@@ -203,4 +203,3 @@ var wikexCommodityRoutes = wikexCommodityPageTemplates.map(({ route, slug, key }
203
203
  wikexCommodityPageTemplates,
204
204
  wikexCommodityRoutes
205
205
  });
206
- //# sourceMappingURL=page-templates.js.map
@@ -175,4 +175,3 @@ export {
175
175
  wikexCommodityPageTemplates,
176
176
  wikexCommodityRoutes
177
177
  };
178
- //# sourceMappingURL=page-templates.mjs.map
package/dist/partner.css CHANGED
@@ -133,4 +133,3 @@ a[data-cms-text-rendered=true][href]:hover {
133
133
  transition: none;
134
134
  }
135
135
  }
136
- /*# sourceMappingURL=partner.css.map */
package/dist/partner.js CHANGED
@@ -2581,4 +2581,3 @@ function PartnerPage({ content = {}, ...props }) {
2581
2581
  PartnerPage,
2582
2582
  wikexPartnerBlocks
2583
2583
  });
2584
- //# sourceMappingURL=partner.js.map
package/dist/partner.mjs CHANGED
@@ -2549,4 +2549,3 @@ export {
2549
2549
  PartnerPage,
2550
2550
  wikexPartnerBlocks
2551
2551
  };
2552
- //# sourceMappingURL=partner.mjs.map
package/dist/products.js CHANGED
@@ -1323,4 +1323,3 @@ function ProductDetailSkeleton({ language = "vi" }) {
1323
1323
  ProductListing,
1324
1324
  ProductListingSkeleton
1325
1325
  });
1326
- //# sourceMappingURL=products.js.map
package/dist/products.mjs CHANGED
@@ -1284,4 +1284,3 @@ export {
1284
1284
  ProductListing,
1285
1285
  ProductListingSkeleton
1286
1286
  };
1287
- //# sourceMappingURL=products.mjs.map
package/dist/ui.js CHANGED
@@ -365,4 +365,3 @@ function Breadcrumb({
365
365
  Pagination,
366
366
  ProductCard
367
367
  });
368
- //# sourceMappingURL=ui.js.map
package/dist/ui.mjs CHANGED
@@ -327,4 +327,3 @@ export {
327
327
  Pagination,
328
328
  ProductCard
329
329
  };
330
- //# sourceMappingURL=ui.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enyxs/wikex-components",
3
- "version": "0.11.44",
3
+ "version": "0.11.46",
4
4
  "description": "Reusable CMS blocks, including the original Wikex Commodity UI.",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/shared/rich-text.css"],"sourcesContent":[".wikex-cms-text-link[href],\na[data-cms-text-rendered=\"true\"][href] {\n transition: opacity 200ms ease;\n}\n\n.wikex-cms-text-link[href]:hover,\na[data-cms-text-rendered=\"true\"][href]:hover {\n opacity: 0.75;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .wikex-cms-text-link[href],\n a[data-cms-text-rendered=\"true\"][href] {\n transition: none;\n }\n}\n"],"mappings":";AAAA,CAAC,mBAAmB,CAAC;AACrB,CAAC,CAAC,4BAA8B,CAAC;AAC/B,cAAY,QAAQ,MAAM;AAC5B;AAEA,CALC,mBAKmB,CAAC,KAAK;AAC1B,CAAC,CAAC,4BAA8B,CAAC,KAAK;AACpC,WAAS;AACX;AAEA,QAAO,wBAAyB;AAC9B,GAXD,mBAWqB,CAAC;AAAA,EACrB,CAAC,CAAC,4BAA8B,CAAC;AAC/B,gBAAY;AACd;AACF;","names":[]}