@pnkx-lib/ui 1.9.53 → 1.9.54

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.
@@ -9948,25 +9948,13 @@ const Divider$1 = ({ children, ...rest }) => {
9948
9948
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Divider$2, { ...rest, children });
9949
9949
  };
9950
9950
 
9951
- const breadCrumb = [
9952
- {
9953
- href: "/main",
9954
- title: "Trang chủ"
9955
- },
9956
- {
9957
- href: "/category",
9958
- title: "Danh mục"
9959
- },
9960
- {
9961
- title: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "", children: "Danh mục thuộc tính" })
9962
- }
9963
- ];
9964
9951
  const HeadingTable = (props) => {
9965
9952
  const {
9966
9953
  setOpenStting,
9967
9954
  showSetting,
9968
9955
  renderHeadingSearch,
9969
- rightHeadingContent
9956
+ rightHeadingContent,
9957
+ breadCrumb
9970
9958
  } = props;
9971
9959
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
9972
9960
  Heading,
@@ -10303,6 +10291,7 @@ const Table = ({
10303
10291
  rightHeadingContent,
10304
10292
  status,
10305
10293
  schema,
10294
+ breadCrumb,
10306
10295
  ...rest
10307
10296
  }) => {
10308
10297
  //! State
@@ -10446,7 +10435,8 @@ const Table = ({
10446
10435
  rightHeadingContent,
10447
10436
  renderHeadingSearch,
10448
10437
  setOpenStting,
10449
- showSetting
10438
+ showSetting,
10439
+ breadCrumb
10450
10440
  }
10451
10441
  ),
10452
10442
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -16779,11 +16769,6 @@ const languageInfo = {
16779
16769
  flag: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Flag_of_Vietnam.svg/2560px-Flag_of_Vietnam.svg.png",
16780
16770
  label: "Tiếng việt"
16781
16771
  };
16782
- css`
16783
- .setting-icon {
16784
- color: white;
16785
- }
16786
- `;
16787
16772
  const bottomMenu = [
16788
16773
  {
16789
16774
  key: "user",
package/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Z as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from './chunks/index-Di9hmOdF.js';
1
+ export { Z as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from './chunks/index-7QiN9WJo.js';
2
2
  export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TINY_API, b as TinyMCE, T as Typography } from './chunks/Upload-D0erjks6.js';
3
3
  import 'react-router';
4
4
  export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TypeActionRowTable, u as useToast } from './chunks/table-B28OPA57.js';
package/es/ui/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Z as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from '../chunks/index-Di9hmOdF.js';
1
+ export { Z as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from '../chunks/index-7QiN9WJo.js';
2
2
  export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/Upload-D0erjks6.js';
3
3
  import 'react-router';
4
4
  export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TypeActionRowTable } from '../chunks/table-B28OPA57.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.53",
4
+ "version": "1.9.54",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",
package/types/index.d.ts CHANGED
@@ -699,7 +699,7 @@ declare type TabItem = {
699
699
  disabled?: boolean;
700
700
  };
701
701
 
702
- export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, status, schema, ...rest }: TableCommonProps<T>) => JSX.Element;
702
+ export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, status, schema, breadCrumb, ...rest }: TableCommonProps<T>) => JSX.Element;
703
703
 
704
704
  export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
705
705
 
@@ -732,6 +732,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
732
732
  rightHeadingContent: ReactNode;
733
733
  status?: number;
734
734
  schema?: yup.AnyObjectSchema;
735
+ breadCrumb?: ItemType[];
735
736
  }
736
737
 
737
738
  export declare const Tabs: default_2.FC<TabsProps>;
package/types/ui.d.ts CHANGED
@@ -541,7 +541,7 @@ declare type TabItem = {
541
541
  disabled?: boolean;
542
542
  };
543
543
 
544
- export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, status, schema, ...rest }: TableCommonProps<T>) => JSX.Element;
544
+ export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, status, schema, breadCrumb, ...rest }: TableCommonProps<T>) => JSX.Element;
545
545
 
546
546
  export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
547
547
 
@@ -574,6 +574,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
574
574
  rightHeadingContent: ReactNode;
575
575
  status?: number;
576
576
  schema?: yup.AnyObjectSchema;
577
+ breadCrumb?: ItemType[];
577
578
  }
578
579
 
579
580
  export declare const Tabs: default_2.FC<TabsProps>;