@pnkx-lib/ui 1.9.489 → 1.9.490
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/chunks/{AntdIcon-BBkWK3Bh.js → AntdIcon-Bve8mGNz.js} +1 -1
- package/es/chunks/{CloseCircleFilled-BhIoQ_jl.js → CloseCircleFilled-Bo29sDEQ.js} +1 -1
- package/es/chunks/{CloseOutlined-DxdeeI1r.js → CloseOutlined-CZUJ_3tW.js} +1 -1
- package/es/chunks/{DownOutlined-D1mgHG6N.js → DownOutlined-O2mPkovb.js} +1 -1
- package/es/chunks/GenericUploadModal-ncG7n1M5.js +11582 -0
- package/es/chunks/{InboxOutlined-DuYhXnaV.js → InboxOutlined-BBuIJe6u.js} +1 -1
- package/es/chunks/{LoadingOutlined-CcWeOS8h.js → LoadingOutlined-DCtDXz9K.js} +1 -1
- package/es/chunks/{toArray-wIHGfaHk.js → toArray-2LkvUaha.js} +1 -1
- package/es/constants/index.js +7 -1
- package/es/fields/Select.js +2 -2
- package/es/fields/Upload.js +1 -1
- package/es/index.js +13 -2
- package/es/ui/ExportFile.js +2 -2
- package/es/ui/GenericUploadModal.js +7 -6542
- package/es/ui/ImportFile.js +2 -2
- package/es/ui/Layout.js +2 -2
- package/es/ui/SearchFilterForm.js +1 -1
- package/es/ui/Sidebar/index.js +2 -2
- package/es/ui/UploadComponent.js +1 -1
- package/es/ui/UploadMultiple.js +1 -1
- package/es/ui/index.js +4818 -30
- package/package.json +1 -1
- package/types/components/ui/TableCategory/HeadingTable/components/GroupHeadingButton.d.ts +15 -0
- package/types/components/ui/TableCategory/HeadingTable/index.d.ts +18 -0
- package/types/components/ui/TableCategory/SettingTable/IconSettingTable.d.ts +6 -0
- package/types/components/ui/TableCategory/SettingTable/SettingColumnItem.d.ts +7 -0
- package/types/components/ui/TableCategory/SettingTable/SortTableItem.d.ts +7 -0
- package/types/components/ui/TableCategory/SettingTable/index.d.ts +11 -0
- package/types/components/ui/TableCategory/index.d.ts +19 -0
- package/types/components/ui/index.d.ts +14 -0
- package/types/constants/table.d.ts +1 -0
- package/es/chunks/pickAttrs-BGdvT1iE.js +0 -5051
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useContext, createContext } from 'react';
|
|
3
3
|
import { _ as _typeof, c as _arrayLikeToArray, a as _unsupportedIterableToArray, b as _defineProperty } from './defineProperty-CTLrw71t.js';
|
|
4
|
-
import { w as warningOnce,
|
|
4
|
+
import { w as warningOnce, a as _objectWithoutProperties, b as _objectSpread2, c as _slicedToArray, d as warning$1, e as canUseDom, u as updateCSS, r as removeCSS, _ as _extends, f as _arrayWithHoles, g as _nonIterableRest, h as resetWarned$1, F as FastColor, i as generate, p as presetPrimaryColors, j as presetPalettes, k as IconContext } from './AntdIcon-Bve8mGNz.js';
|
|
5
5
|
import { _ as _createClass, a as _classCallCheck, b as _inherits, c as _createSuper, d as _assertThisInitialized } from './createSuper-C9_dQ5Zr.js';
|
|
6
6
|
|
|
7
7
|
function useMemo(getValue, condition, shouldUpdate) {
|
package/es/constants/index.js
CHANGED
|
@@ -35,5 +35,11 @@ var TypeStatusTable = /* @__PURE__ */ ((TypeStatusTable2) => {
|
|
|
35
35
|
TypeStatusTable2[TypeStatusTable2["DELETED"] = 5] = "DELETED";
|
|
36
36
|
return TypeStatusTable2;
|
|
37
37
|
})(TypeStatusTable || {});
|
|
38
|
+
const ListStatusApproved = [
|
|
39
|
+
"ALL" /* ALL */,
|
|
40
|
+
2 /* ACTIVE */,
|
|
41
|
+
3 /* INACTIVE */,
|
|
42
|
+
5 /* DELETED */
|
|
43
|
+
];
|
|
38
44
|
|
|
39
|
-
export { PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeActionRowTable, TypeBulkActions, TypeStatusTable };
|
|
45
|
+
export { ListStatusApproved, PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeActionRowTable, TypeBulkActions, TypeStatusTable };
|
package/es/fields/Select.js
CHANGED
|
@@ -4,8 +4,8 @@ import { g as get } from '../chunks/get-DPccfEM4.js';
|
|
|
4
4
|
import { ErrorMessage } from '../ui/ErrorMessage.js';
|
|
5
5
|
import { Label } from '../ui/Label.js';
|
|
6
6
|
import { t as twMerge } from '../chunks/bundle-mjs-BME7zF0Z.js';
|
|
7
|
-
import { R as RefIcon } from '../chunks/CloseOutlined-
|
|
8
|
-
import { R as RefIcon$1 } from '../chunks/DownOutlined-
|
|
7
|
+
import { R as RefIcon } from '../chunks/CloseOutlined-CZUJ_3tW.js';
|
|
8
|
+
import { R as RefIcon$1 } from '../chunks/DownOutlined-O2mPkovb.js';
|
|
9
9
|
import { useRef } from 'react';
|
|
10
10
|
import { w as wrapWithTooltip } from '../chunks/wapper-Bk3PQCcg.js';
|
|
11
11
|
import { M as MAX_TAG_TEXT_LENGTH, a as MAX_TAG_COUNT } from '../chunks/common-BcURBmQ-.js';
|
package/es/fields/Upload.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Upload, Image } from 'antd';
|
|
|
5
5
|
import { g as get } from '../chunks/get-DPccfEM4.js';
|
|
6
6
|
import { ErrorMessage } from '../ui/ErrorMessage.js';
|
|
7
7
|
import { Label } from '../ui/Label.js';
|
|
8
|
-
import { I as Icon, _ as _extends } from '../chunks/AntdIcon-
|
|
8
|
+
import { I as Icon, _ as _extends } from '../chunks/AntdIcon-Bve8mGNz.js';
|
|
9
9
|
|
|
10
10
|
// This icon file is generated automatically.
|
|
11
11
|
var PlusOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
|
package/es/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { Button } from './ui/Button.js';
|
|
|
2
2
|
export { CascaderField } from './ui/Cascader.js';
|
|
3
3
|
export { ErrorMessage } from './ui/ErrorMessage.js';
|
|
4
4
|
export { Typography } from './ui/Typography.js';
|
|
5
|
-
export { ActionRowTable, BulkActions, Table } from './ui/index.js';
|
|
5
|
+
export { ActionRowTable, BulkActions, Table, TableCategory } from './ui/index.js';
|
|
6
6
|
export { Modal } from './ui/Modal.js';
|
|
7
7
|
export { Tooltip } from './ui/Tooltip.js';
|
|
8
8
|
export { Tabs } from './ui/Tabs.js';
|
|
@@ -50,11 +50,22 @@ export { ConfirmModal } from './ui/ConfirmModal.js';
|
|
|
50
50
|
export { ErrorBoundary } from './ui/ErrorBoundary.js';
|
|
51
51
|
export { CATEGORY_LIST_ENUM, CategoryStatus, badgeStatusCategoryConfig } from './ui/CategoryStatus.js';
|
|
52
52
|
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';
|
|
53
|
-
export { PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeActionRowTable, TypeBulkActions, TypeStatusTable } from './constants/index.js';
|
|
53
|
+
export { ListStatusApproved, PAGE_NUMBER, PAGE_SIZE, SORT, START_PAGE, START_PAGE_SIZE, TypeActionRowTable, TypeBulkActions, TypeStatusTable } from './constants/index.js';
|
|
54
54
|
export { BreadcrumbHeading } from './ui/BreadcrumbHeading.js';
|
|
55
55
|
export { Card } from './ui/Card.js';
|
|
56
56
|
export { ConfigProvider } from './ui/ConfigProvider.js';
|
|
57
57
|
export { PageNotFound } from './ui/PageNotFound.js';
|
|
58
|
+
export { UploadImage } from './ui/UploadImage.js';
|
|
59
|
+
export { UploadMultiple } from './ui/UploadMultiple.js';
|
|
60
|
+
export { ImportFile } from './ui/ImportFile.js';
|
|
61
|
+
export { ExportFile } from './ui/ExportFile.js';
|
|
62
|
+
export { UploadComponent } from './ui/UploadComponent.js';
|
|
63
|
+
export { useAppMessage } from './ui/Message.js';
|
|
64
|
+
export { ViewPdf } from './ui/ViewPdf.js';
|
|
65
|
+
export { Sidebar } from './ui/Sidebar/index.js';
|
|
66
|
+
export { SelectTable } from './ui/SelectTable.js';
|
|
67
|
+
export { SelectSingleTable } from './ui/SelectSingleTable.js';
|
|
68
|
+
export { G as GenericUploadModal } from './chunks/GenericUploadModal-ncG7n1M5.js';
|
|
58
69
|
export { Input } from './fields/Input.js';
|
|
59
70
|
export { PnkxField } from './fields/PnkxField.js';
|
|
60
71
|
export { Select } from './fields/Select.js';
|
package/es/ui/ExportFile.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import { Spin } from './Spin.js';
|
|
3
|
-
import { R as RefIcon$1 } from '../chunks/LoadingOutlined-
|
|
3
|
+
import { R as RefIcon$1 } from '../chunks/LoadingOutlined-DCtDXz9K.js';
|
|
4
4
|
import { PnkxField } from '../fields/PnkxField.js';
|
|
5
5
|
import { RadioGroup } from '../fields/Radio.js';
|
|
6
|
-
import { I as Icon, _ as _extends } from '../chunks/AntdIcon-
|
|
6
|
+
import { I as Icon, _ as _extends } from '../chunks/AntdIcon-Bve8mGNz.js';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
|
|
9
9
|
// This icon file is generated automatically.
|