@pnkx-lib/ui 1.9.500 → 1.9.502

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.
@@ -11586,6 +11586,7 @@ function GenericUploadModal({
11586
11586
  return /* @__PURE__ */ jsx(Spin, { spinning: false, tip: texts?.uploading, children: /* @__PURE__ */ jsxs(
11587
11587
  Dragger,
11588
11588
  {
11589
+ action: void 0,
11589
11590
  ...props,
11590
11591
  listType,
11591
11592
  accept: ".pdf,.doc,.docx,.jpg,.jpeg,.png",
@@ -1,6 +1,5 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { T as TINY_API } from '../chunks/common-BcURBmQ-.js';
4
3
  import { get } from 'lodash';
5
4
  import { ErrorMessage } from '../ui/ErrorMessage.js';
6
5
  import { Label } from '../ui/Label.js';
@@ -1948,7 +1947,6 @@ const TinyMCE = (props) => {
1948
1947
  {
1949
1948
  value,
1950
1949
  tinymceScriptSrc: "https://cdnjs.cloudflare.com/ajax/libs/tinymce/6.8.3/tinymce.min.js",
1951
- apiKey: TINY_API,
1952
1950
  init: {
1953
1951
  height: height || 200,
1954
1952
  plugins: ["link", "image", "code", "advlist", "lists"],
package/es/index.js CHANGED
@@ -65,7 +65,7 @@ export { ViewPdf } from './ui/ViewPdf.js';
65
65
  export { Sidebar } from './ui/Sidebar/index.js';
66
66
  export { SelectTable } from './ui/SelectTable.js';
67
67
  export { SelectSingleTable } from './ui/SelectSingleTable.js';
68
- export { G as GenericUploadModal } from './chunks/GenericUploadModal-DxRzdkYF.js';
68
+ export { G as GenericUploadModal } from './chunks/GenericUploadModal-ZbJl3R2N.js';
69
69
  export { Descriptions } from './ui/Descriptions.js';
70
70
  export { Input } from './fields/Input.js';
71
71
  export { PnkxField } from './fields/PnkxField.js';
@@ -1,6 +1,6 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'antd';
3
- export { G as GenericUploadModal } from '../chunks/GenericUploadModal-DxRzdkYF.js';
3
+ export { G as GenericUploadModal } from '../chunks/GenericUploadModal-ZbJl3R2N.js';
4
4
  import '../chunks/index.esm-Dr5ZHcf7.js';
5
5
  import 'react';
6
6
  import '@pnkx-lib/core';
package/es/ui/index.js CHANGED
@@ -64,8 +64,8 @@ import { r as requireClassnames, c as classNames } from '../chunks/index-BLRvgOF
64
64
  import { F as FastColor, m as blue, n as blueDark, o as cyan, q as cyanDark, s as geekblue, t as geekblueDark, i as generate, v as gold, x as goldDark, y as gray, z as green, A as greenDark, B as grey, C as greyDark, D as lime, E as limeDark, G as magenta, H as magentaDark, J as orange, K as orangeDark, L as presetDarkPalettes, j as presetPalettes, p as presetPrimaryColors, M as purple, N as purpleDark, O as red, P as redDark, Q as volcano, R as volcanoDark, S as yellow, T as yellowDark, c as _slicedToArray, b as _objectSpread2, w as warningOnce, a as _objectWithoutProperties, _ as _extends$1 } from '../chunks/AntdIcon-Bve8mGNz.js';
65
65
  import { b as _defineProperty, _ as _typeof$1 } from '../chunks/defineProperty-CTLrw71t.js';
66
66
  import { z as lintWarning, A as toStyleStr, B as ATTR_CACHE_MAP, E as serialize, F as extract, G as CSS_VAR_PREFIX, H as STYLE_PREFIX, I as extract$1, T as TOKEN_PREFIX, J as extract$2, K as unitlessKeys, M as supportWhere, N as supportLogicProps, O as StyleContext, P as StyleProvider, Q as Theme, R as createCache, U as createTheme, V as getComputedToken, W as token2CSSVar, u as unit$1, X as useCSSVarRegister, Y as useCacheToken, Z as useStyleRegister, $ as genCalc$1, a0 as genStyleUtils$1, m as merge, a1 as statistic, a2 as statisticToken, a3 as MotionProvider, _ as _toConsumableArray, a4 as merge$1, a5 as get$1, a6 as set$1, a7 as isEqual$1, t as toArray$3 } from '../chunks/toArray-2LkvUaha.js';
67
- import { K as Keyframe, C as CSSMotion, a as CSSMotionList, T as Tooltip, P as Popup, _ as _asyncToGenerator, b as _regeneratorRuntime, c as Color, u as useEvent$2, d as useMergedState$1, r as requireReactIs, p as pickAttrs } from '../chunks/GenericUploadModal-DxRzdkYF.js';
68
- export { G as GenericUploadModal } from '../chunks/GenericUploadModal-DxRzdkYF.js';
67
+ import { K as Keyframe, C as CSSMotion, a as CSSMotionList, T as Tooltip, P as Popup, _ as _asyncToGenerator, b as _regeneratorRuntime, c as Color, u as useEvent$2, d as useMergedState$1, r as requireReactIs, p as pickAttrs } from '../chunks/GenericUploadModal-ZbJl3R2N.js';
68
+ export { G as GenericUploadModal } from '../chunks/GenericUploadModal-ZbJl3R2N.js';
69
69
  import { _ as _createClass, a as _classCallCheck, b as _inherits, c as _createSuper, d as _assertThisInitialized, e as _isNativeReflectConstruct, f as _setPrototypeOf, g as _getPrototypeOf } from '../chunks/createSuper-C9_dQ5Zr.js';
70
70
  import ReactDOM__default, { unstable_batchedUpdates, createPortal } from 'react-dom';
71
71
  import { isEmpty, isBoolean } from 'lodash';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.500",
4
+ "version": "1.9.502",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",
@@ -31,7 +31,7 @@ export interface TableCommonProps<T> extends Omit<TableProps<T>, "columns"> {
31
31
  size?: SizeType;
32
32
  defaultEllipsis?: boolean;
33
33
  handleSubmit?: FormEventHandler<any>;
34
- noPagination: boolean;
34
+ noPagination?: boolean;
35
35
  customPagination?: React.ReactNode;
36
36
  }
37
37
  export declare const Table: <T>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, showIndexColumn, size, defaultEllipsis, onDoubleClickRow, handleSubmit, customPagination, noPagination, ...rest }: TableCommonProps<T>) => import("react/jsx-runtime").JSX.Element;