@pnkx-lib/ui 1.9.509 → 1.9.510
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/es/constants/index.js +6 -1
- package/es/index.js +1 -1
- package/es/ui/index.js +1 -1
- package/package.json +1 -1
- package/types/constants/table.d.ts +4 -0
package/es/constants/index.js
CHANGED
|
@@ -25,6 +25,11 @@ var TypeBulkActions = /* @__PURE__ */ ((TypeBulkActions2) => {
|
|
|
25
25
|
TypeBulkActions2["DROPLIST"] = "droplist";
|
|
26
26
|
return TypeBulkActions2;
|
|
27
27
|
})(TypeBulkActions || {});
|
|
28
|
+
var TypeCategoryBulkActions = /* @__PURE__ */ ((TypeCategoryBulkActions2) => {
|
|
29
|
+
TypeCategoryBulkActions2[TypeCategoryBulkActions2["CATEGORY"] = 0] = "CATEGORY";
|
|
30
|
+
TypeCategoryBulkActions2[TypeCategoryBulkActions2["PRICE_SERVICE"] = 1] = "PRICE_SERVICE";
|
|
31
|
+
return TypeCategoryBulkActions2;
|
|
32
|
+
})(TypeCategoryBulkActions || {});
|
|
28
33
|
var TypeStatusTable = /* @__PURE__ */ ((TypeStatusTable2) => {
|
|
29
34
|
TypeStatusTable2["ALL"] = "ALL";
|
|
30
35
|
TypeStatusTable2[TypeStatusTable2["DRAFT"] = 0] = "DRAFT";
|
|
@@ -42,4 +47,4 @@ const ListStatusApproved = [
|
|
|
42
47
|
5 /* DELETED */
|
|
43
48
|
];
|
|
44
49
|
|
|
45
|
-
export { ListStatusApproved, PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeActionRowTable, TypeBulkActions, TypeStatusTable };
|
|
50
|
+
export { ListStatusApproved, PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeActionRowTable, TypeBulkActions, TypeCategoryBulkActions, TypeStatusTable };
|
package/es/index.js
CHANGED
|
@@ -51,7 +51,7 @@ export { ConfirmModal } from './ui/ConfirmModal.js';
|
|
|
51
51
|
export { ErrorBoundary } from './ui/ErrorBoundary.js';
|
|
52
52
|
export { CATEGORY_LIST_ENUM, CATEGORY_PRICE_LIST_ENUM, COUNT_LEVEL, CategoryStatus, badgeStatusCategoryConfig } from './ui/CategoryStatus.js';
|
|
53
53
|
export { I as ID_TABLE_WRAPPER, a as MAX_TAG_COUNT, M as MAX_TAG_TEXT_LENGTH, T as TINY_API } from './chunks/common-BcURBmQ-.js';
|
|
54
|
-
export { ListStatusApproved, PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeActionRowTable, TypeBulkActions, TypeStatusTable } from './constants/index.js';
|
|
54
|
+
export { ListStatusApproved, PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeActionRowTable, TypeBulkActions, TypeCategoryBulkActions, TypeStatusTable } from './constants/index.js';
|
|
55
55
|
export { BreadcrumbHeading } from './ui/BreadcrumbHeading.js';
|
|
56
56
|
export { Card } from './ui/Card.js';
|
|
57
57
|
export { ConfigProvider } from './ui/ConfigProvider.js';
|
package/es/ui/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Select, Input, Pagination, Table as Table$1, Tooltip as Tooltip$2 } fro
|
|
|
10
10
|
import { I as ID_TABLE_WRAPPER } from '../chunks/common-BcURBmQ-.js';
|
|
11
11
|
export { a as MAX_TAG_COUNT, M as MAX_TAG_TEXT_LENGTH, T as TINY_API } from '../chunks/common-BcURBmQ-.js';
|
|
12
12
|
import { TypeStatusTable, TypeActionRowTable, TypeBulkActions as TypeBulkActions$1, ListStatusApproved } from '../constants/index.js';
|
|
13
|
-
export { PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE } from '../constants/index.js';
|
|
13
|
+
export { PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeCategoryBulkActions } from '../constants/index.js';
|
|
14
14
|
import { Modal } from './Modal.js';
|
|
15
15
|
import { Tooltip as Tooltip$1 } from './Tooltip.js';
|
|
16
16
|
export { Tabs } from './Tabs.js';
|
package/package.json
CHANGED
|
@@ -21,6 +21,10 @@ export declare enum TypeBulkActions {
|
|
|
21
21
|
BULKACTION = "bulkaction",
|
|
22
22
|
DROPLIST = "droplist"
|
|
23
23
|
}
|
|
24
|
+
export declare enum TypeCategoryBulkActions {
|
|
25
|
+
CATEGORY = 0,
|
|
26
|
+
PRICE_SERVICE = 1
|
|
27
|
+
}
|
|
24
28
|
export declare enum TypeStatusTable {
|
|
25
29
|
ALL = "ALL",// Tất cả
|
|
26
30
|
DRAFT = 0,// Tạo mới
|