@pnkx-lib/ui 1.9.516 → 1.9.519
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/ui/Tabs.js
CHANGED
|
@@ -23,7 +23,7 @@ const createStoreImpl = (createState) => {
|
|
|
23
23
|
const initialState = state = createState(setState, getState, api);
|
|
24
24
|
return api;
|
|
25
25
|
};
|
|
26
|
-
const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
26
|
+
const createStore = ((createState) => createState ? createStoreImpl(createState) : createStoreImpl);
|
|
27
27
|
|
|
28
28
|
const identity = (arg) => arg;
|
|
29
29
|
function useStore(api, selector = identity) {
|
|
@@ -41,7 +41,7 @@ const createImpl = (createState) => {
|
|
|
41
41
|
Object.assign(useBoundStore, api);
|
|
42
42
|
return useBoundStore;
|
|
43
43
|
};
|
|
44
|
-
const create = (createState) => createState ? createImpl(createState) : createImpl;
|
|
44
|
+
const create = ((createState) => createState ? createImpl(createState) : createImpl);
|
|
45
45
|
|
|
46
46
|
const useTabStore = create((set) => ({
|
|
47
47
|
activeTabKey: void 0,
|
package/es/ui/index.js
CHANGED
|
@@ -23665,6 +23665,7 @@ const TableCategory = ({
|
|
|
23665
23665
|
bulkActionHandlers,
|
|
23666
23666
|
setRowsSelected,
|
|
23667
23667
|
isApproved,
|
|
23668
|
+
showBulkAction = true,
|
|
23668
23669
|
...rest
|
|
23669
23670
|
}) => {
|
|
23670
23671
|
const status = filters?.status;
|
|
@@ -23713,7 +23714,7 @@ const TableCategory = ({
|
|
|
23713
23714
|
setDefaultSettingColumnItems: setColumns
|
|
23714
23715
|
}
|
|
23715
23716
|
),
|
|
23716
|
-
rowsSelected && !isEmpty(rowsSelected) && /* @__PURE__ */ jsx("div", { id: "bulkaction_table", className: "bulkActionsContainer", children: /* @__PURE__ */ jsx(
|
|
23717
|
+
showBulkAction && rowsSelected && !isEmpty(rowsSelected) && /* @__PURE__ */ jsx("div", { id: "bulkaction_table", className: "bulkActionsContainer", children: /* @__PURE__ */ jsx(
|
|
23717
23718
|
BulkActions,
|
|
23718
23719
|
{
|
|
23719
23720
|
typeBulkaction: TypeBulkActions$1.BULKACTION,
|
package/package.json
CHANGED
|
@@ -17,5 +17,6 @@ export interface TableCategoryProps<T> extends TableCommonProps<T> {
|
|
|
17
17
|
bulkActionHandlers?: BulkActionHandlers;
|
|
18
18
|
setRowsSelected?: (newSelectedRowKeys: React.Key[]) => void;
|
|
19
19
|
isApproved?: boolean;
|
|
20
|
+
showBulkAction?: boolean;
|
|
20
21
|
}
|
|
21
|
-
export declare const TableCategory: <T extends RowCommon>({ columns, filters, rowsSelected, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, setFilters, noBreadcum, bulkActionHandlers, setRowsSelected, isApproved, ...rest }: TableCategoryProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const TableCategory: <T extends RowCommon>({ columns, filters, rowsSelected, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, setFilters, noBreadcum, bulkActionHandlers, setRowsSelected, isApproved, showBulkAction, ...rest }: TableCategoryProps<T>) => import("react/jsx-runtime").JSX.Element;
|