@pnkx-lib/ui 1.9.170 → 1.9.172
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/style.css +2 -2
- package/es/chunks/{PageNotFound-CXVV6fhQ.js → PageNotFound-M6slgOjo.js} +208 -333
- package/es/chunks/{SliderRanger-CGlfMdKG.js → SliderRanger-DACURCtz.js} +1 -1
- package/es/chunks/{UploadImage-DKx4iHpK.js → UploadImage-uMEN6CjN.js} +7318 -590
- package/es/fields/index.js +2 -2
- package/es/index.js +3 -3
- package/es/ui/index.js +2 -2
- package/package.json +3 -3
- package/types/App.d.ts +2 -1
- package/types/DemoTable/FiltersCategoryDemo/components/RenderFilterFields.d.ts +1 -1
- package/types/DemoTable/FiltersCategoryDemo/components/TagsFilter.d.ts +2 -2
- package/types/DemoTable/hooks/useConvertGroupButton.d.ts +1 -1
- package/types/component-test/category-city.d.ts +2 -0
- package/types/component-test/category-manager.d.ts +2 -0
- package/types/component-test/default-layout.d.ts +6 -0
- package/types/component-test/detail-user.d.ts +2 -0
- package/types/component-test/permistion-user.d.ts +2 -0
- package/types/component-test/user-list.d.ts +2 -0
- package/types/components/ui/BulkActions/BulkAction.d.ts +1 -1
- package/types/components/ui/BulkActions/index.d.ts +1 -1
- package/types/components/ui/Table/ActionRowTable/index.d.ts +1 -1
- package/types/components/ui/Table/HeadingTable/components/GroupHeadingButton.d.ts +1 -1
- package/types/components/ui/Table/index.d.ts +1 -1
- package/types/components/ui/UploadFIle.d.ts +3 -0
package/es/fields/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { C as Checkbox, D as DatePicker, I as Input, P as PnkxField, R as RangePicker, h as Textarea, g as TinyMCE } from '../chunks/UploadImage-
|
2
|
-
export { R as RadioGroup, S as Select, c as SliderRange, b as SliderSingle, a as Switch, U as UploadField } from '../chunks/SliderRanger-
|
1
|
+
export { C as Checkbox, D as DatePicker, I as Input, P as PnkxField, R as RangePicker, h as Textarea, g as TinyMCE } from '../chunks/UploadImage-uMEN6CjN.js';
|
2
|
+
export { R as RadioGroup, S as Select, c as SliderRange, b as SliderSingle, a as Switch, U as UploadField } from '../chunks/SliderRanger-DACURCtz.js';
|
package/es/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { N as ActionRowTable, A as Alert, u as Anchor, v as Appfix, w as AutoComplete, d as Badge, f as Breadcrumb, a2 as BreadcrumbHeading, a1 as BulkActions, B as Button, J as CATEGORY_LIST_ENUM, a3 as Card, C as CascaderField, L as CategoryStatus, e as Col, x as Collapse, y as ColorPicker, a4 as ConfigProvider, z as ConfirmModal, c as Container, j as Divider, k as Drawer, D as Dropdown, E as Empty, G as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, V as PAGE_NUMBER, X as PAGE_SIZE, a5 as PageNotFound, g as Pagination, l as Popconfirm, P as Popover, Q as QRCode, n as Rate, m as Result, R as Row, Y as SORT_BY, Z as SORT_DESC, O as START_PAGE, U as START_PAGE_SIZE, b as SearchFiltersForm, o as Segmented, h as Sidebar, S as Skeleton, p as Statistic, T as Table, a as Tabs, i as Tag, q as Timeline, r as Tour, s as Tree, _ as TypeActionRowTable, $ as TypeBulkActions, a0 as TypeStatusTable, W as Watermark, K as badgeStatusCategoryConfig, t as typeColorMap } from './chunks/PageNotFound-
|
2
|
-
export { C as Checkbox, D as DatePicker, E as ErrorMessage, I as Input, L as Label, b as Layout, M as Menu, P as PnkxField, R as RangePicker, S as Space, e as Spin, c as Splitter, d as Steps, f as TINY_API, h as Textarea, g as TinyMCE, a as Tooltip, T as Typography, U as UploadImage } from './chunks/UploadImage-
|
3
|
-
export { R as RadioGroup, S as Select, c as SliderRange, b as SliderSingle, a as Switch, U as UploadField } from './chunks/SliderRanger-
|
1
|
+
export { N as ActionRowTable, A as Alert, u as Anchor, v as Appfix, w as AutoComplete, d as Badge, f as Breadcrumb, a2 as BreadcrumbHeading, a1 as BulkActions, B as Button, J as CATEGORY_LIST_ENUM, a3 as Card, C as CascaderField, L as CategoryStatus, e as Col, x as Collapse, y as ColorPicker, a4 as ConfigProvider, z as ConfirmModal, c as Container, j as Divider, k as Drawer, D as Dropdown, E as Empty, G as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, V as PAGE_NUMBER, X as PAGE_SIZE, a5 as PageNotFound, g as Pagination, l as Popconfirm, P as Popover, Q as QRCode, n as Rate, m as Result, R as Row, Y as SORT_BY, Z as SORT_DESC, O as START_PAGE, U as START_PAGE_SIZE, b as SearchFiltersForm, o as Segmented, h as Sidebar, S as Skeleton, p as Statistic, T as Table, a as Tabs, i as Tag, q as Timeline, r as Tour, s as Tree, _ as TypeActionRowTable, $ as TypeBulkActions, a0 as TypeStatusTable, W as Watermark, K as badgeStatusCategoryConfig, t as typeColorMap } from './chunks/PageNotFound-M6slgOjo.js';
|
2
|
+
export { C as Checkbox, D as DatePicker, E as ErrorMessage, I as Input, L as Label, b as Layout, M as Menu, P as PnkxField, R as RangePicker, S as Space, e as Spin, c as Splitter, d as Steps, f as TINY_API, h as Textarea, g as TinyMCE, a as Tooltip, T as Typography, U as UploadImage } from './chunks/UploadImage-uMEN6CjN.js';
|
3
|
+
export { R as RadioGroup, S as Select, c as SliderRange, b as SliderSingle, a as Switch, U as UploadField } from './chunks/SliderRanger-DACURCtz.js';
|
4
4
|
export { a as useMessage, u as useToast } from './chunks/useMessage-CUPcOtIS.js';
|
package/es/ui/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { N as ActionRowTable, A as Alert, u as Anchor, v as Appfix, w as AutoComplete, d as Badge, f as Breadcrumb, a2 as BreadcrumbHeading, a1 as BulkActions, B as Button, J as CATEGORY_LIST_ENUM, a3 as Card, C as CascaderField, L as CategoryStatus, e as Col, x as Collapse, y as ColorPicker, a4 as ConfigProvider, z as ConfirmModal, c as Container, j as Divider, k as Drawer, D as Dropdown, E as Empty, G as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, V as PAGE_NUMBER, X as PAGE_SIZE, a5 as PageNotFound, g as Pagination, l as Popconfirm, P as Popover, Q as QRCode, n as Rate, m as Result, R as Row, Y as SORT_BY, Z as SORT_DESC, O as START_PAGE, U as START_PAGE_SIZE, b as SearchFiltersForm, o as Segmented, h as Sidebar, S as Skeleton, p as Statistic, T as Table, a as Tabs, i as Tag, q as Timeline, r as Tour, s as Tree, _ as TypeActionRowTable, $ as TypeBulkActions, a0 as TypeStatusTable, W as Watermark, K as badgeStatusCategoryConfig, t as typeColorMap } from '../chunks/PageNotFound-
|
2
|
-
export { E as ErrorMessage, L as Label, b as Layout, M as Menu, S as Space, e as Spin, c as Splitter, d as Steps, f as TINY_API, a as Tooltip, T as Typography, U as UploadImage } from '../chunks/UploadImage-
|
1
|
+
export { N as ActionRowTable, A as Alert, u as Anchor, v as Appfix, w as AutoComplete, d as Badge, f as Breadcrumb, a2 as BreadcrumbHeading, a1 as BulkActions, B as Button, J as CATEGORY_LIST_ENUM, a3 as Card, C as CascaderField, L as CategoryStatus, e as Col, x as Collapse, y as ColorPicker, a4 as ConfigProvider, z as ConfirmModal, c as Container, j as Divider, k as Drawer, D as Dropdown, E as Empty, G as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, V as PAGE_NUMBER, X as PAGE_SIZE, a5 as PageNotFound, g as Pagination, l as Popconfirm, P as Popover, Q as QRCode, n as Rate, m as Result, R as Row, Y as SORT_BY, Z as SORT_DESC, O as START_PAGE, U as START_PAGE_SIZE, b as SearchFiltersForm, o as Segmented, h as Sidebar, S as Skeleton, p as Statistic, T as Table, a as Tabs, i as Tag, q as Timeline, r as Tour, s as Tree, _ as TypeActionRowTable, $ as TypeBulkActions, a0 as TypeStatusTable, W as Watermark, K as badgeStatusCategoryConfig, t as typeColorMap } from '../chunks/PageNotFound-M6slgOjo.js';
|
2
|
+
export { E as ErrorMessage, L as Label, b as Layout, M as Menu, S as Space, e as Spin, c as Splitter, d as Steps, f as TINY_API, a as Tooltip, T as Typography, U as UploadImage } from '../chunks/UploadImage-uMEN6CjN.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.
|
4
|
+
"version": "1.9.172",
|
5
5
|
"type": "module",
|
6
6
|
"main": "./es/index.js",
|
7
7
|
"module": "./es/index.js",
|
@@ -104,8 +104,8 @@
|
|
104
104
|
"@headlessui/react": "^2.2.2",
|
105
105
|
"@heroicons/react": "^2.2.0",
|
106
106
|
"@hookform/resolvers": "^5.0.1",
|
107
|
-
"@pnkx-lib/core": "^1.1.
|
108
|
-
"@pnkx-lib/icon": "^0.0.
|
107
|
+
"@pnkx-lib/core": "^1.1.13",
|
108
|
+
"@pnkx-lib/icon": "^0.0.35",
|
109
109
|
"@tailwindcss/cli": "^4.1.6",
|
110
110
|
"@tinymce/miniature": "^6.0.0",
|
111
111
|
"@tinymce/tinymce-react": "^6.0.0",
|
package/types/App.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { MenuType } from './components/ui/Sidebar';
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
2
3
|
export declare const CATEGORY_PATH = "/danh-muc";
|
3
4
|
export declare const menuRouter: MenuType[];
|
4
|
-
declare function App():
|
5
|
+
declare function App(): JSX.Element;
|
5
6
|
export default App;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Control, UseFormReset } from 'node_modules/react-hook-form/dist/types';
|
2
|
-
import { IValueSearch } from '
|
2
|
+
import { IValueSearch } from '../../../../../../../../../../../src/components/ui/Table/HeadingTable';
|
3
3
|
interface RenderFilterFieldsProps {
|
4
4
|
control: Control<IValueSearch>;
|
5
5
|
handleSubmit?: React.FormEventHandler<IValueSearch>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { UseFormReset } from 'node_modules/react-hook-form/dist/types';
|
2
|
-
import { IValueSearch } from '
|
3
|
-
import { InitialFiltersSearch } from '
|
2
|
+
import { IValueSearch } from '../../../../../../../../../../../src/components/ui/Table/HeadingTable';
|
3
|
+
import { InitialFiltersSearch } from '../../../../../../../../../../../src/components';
|
4
4
|
interface TagsFilterProps {
|
5
5
|
advanceSearch: any;
|
6
6
|
resetToInitialFilters: () => void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { GroupHeadingButtonItem } from '
|
1
|
+
import { GroupHeadingButtonItem } from '../../../../../../../../../../src/components/ui/Table/HeadingTable/components/GroupHeadingButton';
|
2
2
|
export interface LabelGroupHeadingButtonItem {
|
3
3
|
label: string;
|
4
4
|
is_status: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ConfirmModalProps } from '../ConfirmModal';
|
2
2
|
import { TListIcon } from '.';
|
3
|
-
import { TypeStatusTable } from '
|
3
|
+
import { TypeStatusTable } from '../../../../../../../../../../../src/constants';
|
4
4
|
export interface BulkActionProps {
|
5
5
|
quantity?: number;
|
6
6
|
listIcon?: TListIcon[];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ConfirmModalProps } from '../ConfirmModal';
|
2
|
-
import { TypeBulkActions, TypeStatusTable } from '
|
2
|
+
import { TypeBulkActions, TypeStatusTable } from '../../../../../../../../../../../src/constants';
|
3
3
|
import { CATEGORY_LIST_ENUM } from '../CategoryStatus';
|
4
4
|
interface IBulkActionsProps {
|
5
5
|
quantity?: number;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
import { TypeActionRowTable } from '
|
2
|
+
import { TypeActionRowTable } from '../../../../../../../../../../../../src/constants/table';
|
3
3
|
export interface ActionRowTableProps {
|
4
4
|
type: TypeActionRowTable;
|
5
5
|
handleClick?: () => void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { InitialFiltersSearch } from '@pnkx-lib/core';
|
2
|
-
import { TFilters, TypeStatusTable } from '
|
2
|
+
import { TFilters, TypeStatusTable } from '../../../../../../../../../../../../../src/components/ui';
|
3
3
|
export interface GroupHeadingButtonItem {
|
4
4
|
label: string;
|
5
5
|
quantity: number;
|
@@ -5,7 +5,7 @@ import { SorterResult } from 'antd/es/table/interface';
|
|
5
5
|
import { InitialFiltersSearch } from '@pnkx-lib/core';
|
6
6
|
import { MenuType } from '../Sidebar';
|
7
7
|
import { GroupHeadingButtonItem } from './HeadingTable/components/GroupHeadingButton';
|
8
|
-
import { TypeStatusTable } from '
|
8
|
+
import { TypeStatusTable } from '../../../../../../../../../../../src/constants';
|
9
9
|
interface RowCommon {
|
10
10
|
[x: string]: any;
|
11
11
|
}
|