@pnkx-lib/ui 1.9.410 → 1.9.412

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 (50) hide show
  1. package/dist/style.css +2 -2
  2. package/es/chunks/BellIcon-Bv07EhTB.js +45 -0
  3. package/es/chunks/{bundle-mjs-BBFHkixS.js → bundle-mjs-BME7zF0Z.js} +1 -1
  4. package/es/chunks/{index.esm-o4O8pXMN.js → index.esm-AaUjBMaK.js} +39 -21
  5. package/es/chunks/{layout-C0dbwkpb.js → layout-2jUdRxjk.js} +11 -5
  6. package/es/fields/CascaderField.js +1 -1
  7. package/es/fields/Checkbox.js +1 -1
  8. package/es/fields/DatePicker.js +26 -5
  9. package/es/fields/DateRangePicker.js +1 -1
  10. package/es/fields/Input.js +1 -1
  11. package/es/fields/InputRangePicker.js +1 -1
  12. package/es/fields/PnkxField.js +1 -1
  13. package/es/fields/Select.js +1 -1
  14. package/es/fields/SliderRanger.js +1 -1
  15. package/es/fields/SliderSingle.js +1 -1
  16. package/es/fields/Switch.js +1 -1
  17. package/es/fields/Textarea.js +1 -1
  18. package/es/fields/TimePicker.js +1 -1
  19. package/es/fields/TimeRangePicker.js +1 -1
  20. package/es/fields/TinyMCE.js +35 -16
  21. package/es/ui/Button.js +1 -1
  22. package/es/ui/Cascader.js +1 -1
  23. package/es/ui/CategoryStatus.js +1 -1
  24. package/es/ui/Container.js +1 -1
  25. package/es/ui/Label.js +1 -1
  26. package/es/ui/Layout.js +1 -1
  27. package/es/ui/Modal.js +1 -1
  28. package/es/ui/SearchFilterForm.js +1 -1
  29. package/es/ui/SelectSingleTable.js +1 -1
  30. package/es/ui/SelectTable.js +1 -1
  31. package/es/ui/Sidebar.js +2 -2
  32. package/es/ui/SidebarV2.js +6 -48
  33. package/es/ui/SidebarV3/index.js +490 -0
  34. package/es/ui/UploadComponent.js +1 -1
  35. package/es/ui/UploadImage.js +1 -1
  36. package/es/ui/index.js +1 -1
  37. package/package.json +2 -2
  38. package/types/components/ui/SidebarV3/ContentArea.d.ts +8 -0
  39. package/types/components/ui/SidebarV3/Example.d.ts +2 -0
  40. package/types/components/ui/SidebarV3/Header.d.ts +12 -0
  41. package/types/components/ui/SidebarV3/MainSidebar.d.ts +12 -0
  42. package/types/components/ui/SidebarV3/SearchHeader.d.ts +11 -0
  43. package/types/components/ui/SidebarV3/SidebarV3.d.ts +3 -0
  44. package/types/components/ui/SidebarV3/SubMenu.d.ts +13 -0
  45. package/types/components/ui/SidebarV3/UserInfoSection.d.ts +6 -0
  46. package/types/components/ui/SidebarV3/hooks.d.ts +9 -0
  47. package/types/components/ui/SidebarV3/index.d.ts +3 -0
  48. package/types/components/ui/SidebarV3/types.d.ts +25 -0
  49. package/types/components/ui/SidebarV3/utils.d.ts +2 -0
  50. package/types/ui/SidebarV3/index.d.ts +2 -0
@@ -1282,7 +1282,7 @@ var eventPropTypes = {
1282
1282
  onScriptsLoad: propTypesExports.func,
1283
1283
  onScriptsLoadError: propTypesExports.func,
1284
1284
  };
1285
- var EditorPropTypes = __assign$2({ apiKey: propTypesExports.string, licenseKey: propTypesExports.string, id: propTypesExports.string, inline: propTypesExports.bool, init: propTypesExports.object, initialValue: propTypesExports.string, onEditorChange: propTypesExports.func, value: propTypesExports.string, tagName: propTypesExports.string, tabIndex: propTypesExports.number, cloudChannel: propTypesExports.string, plugins: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.array]), toolbar: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.array]), disabled: propTypesExports.bool, textareaName: propTypesExports.string, tinymceScriptSrc: propTypesExports.oneOfType([
1285
+ var EditorPropTypes = __assign$2({ apiKey: propTypesExports.string, licenseKey: propTypesExports.string, id: propTypesExports.string, inline: propTypesExports.bool, init: propTypesExports.object, initialValue: propTypesExports.string, onEditorChange: propTypesExports.func, value: propTypesExports.string, tagName: propTypesExports.string, tabIndex: propTypesExports.number, cloudChannel: propTypesExports.string, plugins: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.array]), toolbar: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.array]), disabled: propTypesExports.bool, readonly: propTypesExports.bool, textareaName: propTypesExports.string, tinymceScriptSrc: propTypesExports.oneOfType([
1286
1286
  propTypesExports.string,
1287
1287
  propTypesExports.arrayOf(propTypesExports.string),
1288
1288
  propTypesExports.arrayOf(propTypesExports.shape({
@@ -1296,6 +1296,11 @@ var EditorPropTypes = __assign$2({ apiKey: propTypesExports.string, licenseKey:
1296
1296
  delay: propTypesExports.number
1297
1297
  }) }, eventPropTypes);
1298
1298
 
1299
+ var getTinymce = function (view) {
1300
+ var global = view;
1301
+ return global && global.tinymce ? global.tinymce : null;
1302
+ };
1303
+
1299
1304
  var isFunction = function (x) { return typeof x === 'function'; };
1300
1305
  var isEventProp = function (name) { return name in eventPropTypes; };
1301
1306
  var eventAttrToEventName = function (attrName) { return attrName.substr(2); };
@@ -1365,6 +1370,14 @@ var setMode = function (editor, mode) {
1365
1370
  }
1366
1371
  }
1367
1372
  };
1373
+ var getTinymceOrError = function (view) {
1374
+ var tinymce = getTinymce(view);
1375
+ if (!tinymce) {
1376
+ throw new Error('tinymce should have been loaded into global scope');
1377
+ }
1378
+ return tinymce;
1379
+ };
1380
+ var isDisabledOptionSupported = function (editor) { return editor.options && editor.options.isRegistered('disabled'); };
1368
1381
 
1369
1382
  var __assign$1 = (undefined && undefined.__assign) || function () {
1370
1383
  __assign$1 = Object.assign || function(t) {
@@ -1509,11 +1522,6 @@ var createScriptLoader = function () {
1509
1522
  };
1510
1523
  var ScriptLoader = createScriptLoader();
1511
1524
 
1512
- var getTinymce = function (view) {
1513
- var global = view;
1514
- return global && global.tinymce ? global.tinymce : null;
1515
- };
1516
-
1517
1525
  var __extends = (undefined && undefined.__extends) || (function () {
1518
1526
  var extendStatics = function (d, b) {
1519
1527
  extendStatics = Object.setPrototypeOf ||
@@ -1634,11 +1642,8 @@ var Editor = /** @class */ (function (_super) {
1634
1642
  }
1635
1643
  return;
1636
1644
  }
1637
- var tinymce = getTinymce(_this.view);
1638
- if (!tinymce) {
1639
- throw new Error('tinymce should have been loaded into global scope');
1640
- }
1641
- var finalInit = __assign(__assign(__assign(__assign({}, _this.props.init), { selector: undefined, target: target, readonly: _this.props.disabled, inline: _this.inline, plugins: mergePlugins((_a = _this.props.init) === null || _a === void 0 ? void 0 : _a.plugins, _this.props.plugins), toolbar: (_b = _this.props.toolbar) !== null && _b !== void 0 ? _b : (_c = _this.props.init) === null || _c === void 0 ? void 0 : _c.toolbar }), (_this.props.licenseKey ? { license_key: _this.props.licenseKey } : {})), { setup: function (editor) {
1645
+ var tinymce = getTinymceOrError(_this.view);
1646
+ var finalInit = __assign(__assign(__assign(__assign({}, _this.props.init), { selector: undefined, target: target, disabled: _this.props.disabled, readonly: _this.props.readonly, inline: _this.inline, plugins: mergePlugins((_a = _this.props.init) === null || _a === void 0 ? void 0 : _a.plugins, _this.props.plugins), toolbar: (_b = _this.props.toolbar) !== null && _b !== void 0 ? _b : (_c = _this.props.init) === null || _c === void 0 ? void 0 : _c.toolbar }), (_this.props.licenseKey ? { license_key: _this.props.licenseKey } : {})), { setup: function (editor) {
1642
1647
  _this.editor = editor;
1643
1648
  _this.bindHandlers({});
1644
1649
  // When running in inline mode the editor gets the initial value
@@ -1655,8 +1660,16 @@ var Editor = /** @class */ (function (_super) {
1655
1660
  if (_this.props.init && isFunction(_this.props.init.setup)) {
1656
1661
  _this.props.init.setup(editor);
1657
1662
  }
1663
+ if (_this.props.disabled) {
1664
+ if (isDisabledOptionSupported(_this.editor)) {
1665
+ _this.editor.options.set('disabled', _this.props.disabled);
1666
+ }
1667
+ else {
1668
+ _this.editor.mode.set('readonly');
1669
+ }
1670
+ }
1658
1671
  }, init_instance_callback: function (editor) {
1659
- var _a, _b;
1672
+ var _a;
1660
1673
  // check for changes that happened since tinymce.init() was called
1661
1674
  var initialValue = _this.getInitialValue();
1662
1675
  _this.currentContent = (_a = _this.currentContent) !== null && _a !== void 0 ? _a : editor.getContent();
@@ -1668,8 +1681,6 @@ var Editor = /** @class */ (function (_super) {
1668
1681
  editor.undoManager.add();
1669
1682
  editor.setDirty(false);
1670
1683
  }
1671
- var disabled = (_b = _this.props.disabled) !== null && _b !== void 0 ? _b : false;
1672
- setMode(_this.editor, disabled ? 'readonly' : 'design');
1673
1684
  // ensure existing init_instance_callback is called
1674
1685
  if (_this.props.init && isFunction(_this.props.init.init_instance_callback)) {
1675
1686
  _this.props.init.init_instance_callback(editor);
@@ -1747,9 +1758,17 @@ var Editor = /** @class */ (function (_super) {
1747
1758
  }
1748
1759
  });
1749
1760
  }
1761
+ if (this.props.readonly !== prevProps.readonly) {
1762
+ var readonly = (_b = this.props.readonly) !== null && _b !== void 0 ? _b : false;
1763
+ setMode(this.editor, readonly ? 'readonly' : 'design');
1764
+ }
1750
1765
  if (this.props.disabled !== prevProps.disabled) {
1751
- var disabled = (_b = this.props.disabled) !== null && _b !== void 0 ? _b : false;
1752
- setMode(this.editor, disabled ? 'readonly' : 'design');
1766
+ if (isDisabledOptionSupported(this.editor)) {
1767
+ this.editor.options.set('disabled', this.props.disabled);
1768
+ }
1769
+ else {
1770
+ setMode(this.editor, this.props.disabled ? 'readonly' : 'design');
1771
+ }
1753
1772
  }
1754
1773
  }
1755
1774
  }
package/es/ui/Button.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Button as Button$1 } from 'antd';
3
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
3
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
4
4
 
5
5
  const Button = (props) => {
6
6
  const { onClick, ...restProps } = props;
package/es/ui/Cascader.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Cascader } from 'antd';
3
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
3
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
4
4
 
5
5
  const CascaderField = (props) => {
6
6
  const {
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
2
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
3
3
 
4
4
  var CATEGORY_LIST_ENUM = /* @__PURE__ */ ((CATEGORY_LIST_ENUM2) => {
5
5
  CATEGORY_LIST_ENUM2[CATEGORY_LIST_ENUM2["DRAFT"] = 0] = "DRAFT";
@@ -1,5 +1,5 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
2
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
3
3
 
4
4
  const Container = ({
5
5
  children,
package/es/ui/Label.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
2
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
3
3
  import { Typography } from './Typography.js';
4
4
 
5
5
  const Label = ({ label, required, classNameLabel }) => {
package/es/ui/Layout.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { S as SiderContext, a as Sider, C as Content, F as Footer, H as Header, L as Layout$1 } from '../chunks/layout-C0dbwkpb.js';
2
+ import { S as SiderContext, a as Sider, C as Content, F as Footer, H as Header, L as Layout$1 } from '../chunks/layout-2jUdRxjk.js';
3
3
 
4
4
  const LayoutComponent = ({
5
5
  layoutClassName,
package/es/ui/Modal.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Modal as Modal$1 } from 'antd';
3
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
3
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
4
4
 
5
5
  const widthMap = {
6
6
  xs: 400,
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { u as useForm } from '../chunks/index.esm-o4O8pXMN.js';
2
+ import { u as useForm } from '../chunks/index.esm-AaUjBMaK.js';
3
3
  import { Button } from './Button.js';
4
4
  import { I as Icon, _ as _extends } from '../chunks/AntdIcon-gUuMvf83.js';
5
5
  import * as React from 'react';
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { Select, Table } from 'antd';
3
3
  import { useState, useCallback } from 'react';
4
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
4
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
5
5
  import { get, isEmpty } from 'lodash';
6
6
  import { ErrorMessage } from './ErrorMessage.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Select, Table } from 'antd';
3
3
  import { useState, useCallback } from 'react';
4
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
4
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
5
5
 
6
6
  const SelectTable = ({
7
7
  columns,
package/es/ui/Sidebar.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import { useState, useMemo, useCallback } from 'react';
3
3
  import { useNavigate, useLocation } from 'react-router';
4
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
4
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
5
5
  import { u as useDebounce, l as logoHeaderText, S as SearchIcon, V as VietNamIcon, D as DownOutlinedIcon, R as RefIcon } from '../chunks/logo-header-DG8abRGF.js';
6
- import { H as Header } from '../chunks/layout-C0dbwkpb.js';
6
+ import { H as Header } from '../chunks/layout-2jUdRxjk.js';
7
7
  import { AutoComplete, Divider, Dropdown, Flex } from 'antd';
8
8
  import { Input } from '../fields/Input.js';
9
9
  import { R as RefIcon$1 } from '../chunks/DownOutlined-CkHKgaSi.js';
@@ -1,56 +1,14 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
- import * as React from 'react';
3
2
  import { useState, useMemo } from 'react';
4
- import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
3
+ import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
5
4
  import { AutoComplete, Divider, Dropdown, Flex } from 'antd';
6
5
  import { useLocation, useNavigate, Link } from 'react-router';
7
- import { u as useDebounce, l as logoHeaderText, S as SearchIcon, V as VietNamIcon, D as DownOutlinedIcon, R as RefIcon$1 } from '../chunks/logo-header-DG8abRGF.js';
6
+ import { u as useDebounce, l as logoHeaderText, S as SearchIcon, V as VietNamIcon, D as DownOutlinedIcon, R as RefIcon } from '../chunks/logo-header-DG8abRGF.js';
8
7
  import { Layout } from './Layout.js';
9
- import { R as RefIcon$2 } from '../chunks/DownOutlined-CkHKgaSi.js';
10
- import { I as Icon, _ as _extends } from '../chunks/AntdIcon-gUuMvf83.js';
8
+ import { F as ForwardRef, R as RefIcon$2 } from '../chunks/BellIcon-Bv07EhTB.js';
9
+ import { R as RefIcon$1 } from '../chunks/DownOutlined-CkHKgaSi.js';
11
10
  import { Input } from '../fields/Input.js';
12
11
 
13
- // This icon file is generated automatically.
14
- var DoubleLeftOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" } }] }, "name": "double-left", "theme": "outlined" };
15
-
16
- var DoubleLeftOutlined = function DoubleLeftOutlined(props, ref) {
17
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
18
- ref: ref,
19
- icon: DoubleLeftOutlined$1
20
- }));
21
- };
22
-
23
- /**![double-left](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI3Mi45IDUxMmwyNjUuNC0zMzkuMWM0LjEtNS4yLjQtMTIuOS02LjMtMTIuOWgtNzcuM2MtNC45IDAtOS42IDIuMy0xMi42IDYuMUwxODYuOCA0OTIuM2EzMS45OSAzMS45OSAwIDAwMCAzOS41bDI1NS4zIDMyNi4xYzMgMy45IDcuNyA2LjEgMTIuNiA2LjFINTMyYzYuNyAwIDEwLjQtNy43IDYuMy0xMi45TDI3Mi45IDUxMnptMzA0IDBsMjY1LjQtMzM5LjFjNC4xLTUuMi40LTEyLjktNi4zLTEyLjloLTc3LjNjLTQuOSAwLTkuNiAyLjMtMTIuNiA2LjFMNDkwLjggNDkyLjNhMzEuOTkgMzEuOTkgMCAwMDAgMzkuNWwyNTUuMyAzMjYuMWMzIDMuOSA3LjcgNi4xIDEyLjYgNi4xSDgzNmM2LjcgMCAxMC40LTcuNyA2LjMtMTIuOUw1NzYuOSA1MTJ6IiAvPjwvc3ZnPg==) */
24
- var RefIcon = /*#__PURE__*/React.forwardRef(DoubleLeftOutlined);
25
- if (process.env.NODE_ENV !== 'production') {
26
- RefIcon.displayName = 'DoubleLeftOutlined';
27
- }
28
-
29
- function BellIcon({
30
- title,
31
- titleId,
32
- ...props
33
- }, svgRef) {
34
- return /*#__PURE__*/React.createElement("svg", Object.assign({
35
- xmlns: "http://www.w3.org/2000/svg",
36
- fill: "none",
37
- viewBox: "0 0 24 24",
38
- strokeWidth: 1.5,
39
- stroke: "currentColor",
40
- "aria-hidden": "true",
41
- "data-slot": "icon",
42
- ref: svgRef,
43
- "aria-labelledby": titleId
44
- }, props), title ? /*#__PURE__*/React.createElement("title", {
45
- id: titleId
46
- }, title) : null, /*#__PURE__*/React.createElement("path", {
47
- strokeLinecap: "round",
48
- strokeLinejoin: "round",
49
- d: "M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"
50
- }));
51
- }
52
- const ForwardRef = /*#__PURE__*/ React.forwardRef(BellIcon);
53
-
54
12
  const userInfo = {
55
13
  name: "admin",
56
14
  avatar: "http://10.1.15.154:9000/image/logo-phenikaa-mec.webp"
@@ -276,7 +234,7 @@ const SidebarV2 = ({ menu, children }) => {
276
234
  children: [
277
235
  subMenu.icon,
278
236
  subMenu.name,
279
- isDropwdown && openDropdownMenu === subMenu.path ? /* @__PURE__ */ jsx(RefIcon$1, { className: "w-4 h-4 ml-auto" }) : isDropwdown && /* @__PURE__ */ jsx(RefIcon$2, { className: "w-4 h-4 ml-auto" })
237
+ isDropwdown && openDropdownMenu === subMenu.path ? /* @__PURE__ */ jsx(RefIcon, { className: "w-4 h-4 ml-auto" }) : isDropwdown && /* @__PURE__ */ jsx(RefIcon$1, { className: "w-4 h-4 ml-auto" })
280
238
  ]
281
239
  }
282
240
  ),
@@ -311,7 +269,7 @@ const SidebarV2 = ({ menu, children }) => {
311
269
  className: "mt-auto select-none px-4 py-2 shadow-[0px_0px_12px_0px_#0006241f] flex space-x-2 cursor-pointer",
312
270
  onClick: () => setShowSubmenu(false),
313
271
  children: [
314
- /* @__PURE__ */ jsx(RefIcon, {}),
272
+ /* @__PURE__ */ jsx(RefIcon$2, {}),
315
273
  /* @__PURE__ */ jsx("span", { className: "text-[#131313]", children: "Thu gọn menu" })
316
274
  ]
317
275
  }