@pnkx-lib/ui 1.9.142 → 1.9.146
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/{PageNotFound-_zHfY9aE.js → PageNotFound-CwB9QL3G.js} +1 -1
- package/es/chunks/{Switch-Bzik3pas.js → Switch-C87zdzNW.js} +1 -1
- package/es/chunks/{index-BJTIu5Xs.js → index-E0vjqVeH.js} +4 -4
- package/es/fields/index.js +2 -2
- package/es/index.js +3 -3
- package/es/ui/index.js +2 -2
- package/package.json +1 -1
- package/types/components/fields/DatePicker.d.ts +2 -3
@@ -1,4 +1,4 @@
|
|
1
|
-
import { j as jsxRuntimeExports, h as Icon, _ as _extends, P as PnkxField, C as Checkbox, u as useSortable, k as CSS, t as twMerge, l as useForm, m as DndContext, n as closestCenter, o as SortableContext, v as verticalListSortingStrategy, p as arrayMove, i as className, a as Tooltip, q as lodashExports, r as distExports, s as useTabStore, w as distExports$1, I as Input, T as Typography$1 } from './index-
|
1
|
+
import { j as jsxRuntimeExports, h as Icon, _ as _extends, P as PnkxField, C as Checkbox, u as useSortable, k as CSS, t as twMerge, l as useForm, m as DndContext, n as closestCenter, o as SortableContext, v as verticalListSortingStrategy, p as arrayMove, i as className, a as Tooltip, q as lodashExports, r as distExports, s as useTabStore, w as distExports$1, I as Input, T as Typography$1 } from './index-E0vjqVeH.js';
|
2
2
|
import { Button as Button$1, Cascader, Modal as Modal$1, Badge as Badge$1, Breadcrumb as Breadcrumb$1, Divider as Divider$1, Table as Table$1, Tabs as Tabs$1, Space, Card as Card$1, Skeleton as Skeleton$1, Popover as Popover$1, Col as Col$1, Row as Row$1, Dropdown as Dropdown$1, Flex as Flex$1, Pagination as Pagination$1, Tag as Tag$1, Alert as Alert$1, Spin as Spin$1, Drawer as Drawer$1, Popconfirm as Popconfirm$1, QRCode as QRCode$1, Result as Result$1, Rate as Rate$1, Segmented as Segmented$1, Statistic as Statistic$1, Timeline as Timeline$1, Tour as Tour$1, Tree as Tree$1, Typography, Watermark as Watermark$1, Anchor as Anchor$1, Affix, AutoComplete as AutoComplete$1, Input as Input$1, Collapse as Collapse$1, ColorPicker as ColorPicker$1, Empty as Empty$1, Image as Image$1, ConfigProvider as ConfigProvider$1 } from 'antd';
|
3
3
|
import * as React from 'react';
|
4
4
|
import { useState, useEffect, Component } from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as get, j as jsxRuntimeExports, L as Label, t as twMerge, E as ErrorMessage, T as Typography, h as Icon, _ as _extends, i as className } from './index-
|
1
|
+
import { g as get, j as jsxRuntimeExports, L as Label, t as twMerge, E as ErrorMessage, T as Typography, h as Icon, _ as _extends, i as className } from './index-E0vjqVeH.js';
|
2
2
|
import { Select as Select$1, Radio, Upload, Image, Switch as Switch$1 } from 'antd';
|
3
3
|
import * as React from 'react';
|
4
4
|
import { useState } from 'react';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default, { useRef, useState, useEffect, useLayoutEffect as useLayoutEffect$1, useMemo as useMemo$1, forwardRef, useCallback, createElement, Component, createRef, createContext, useContext, version as version$1, isValidElement, memo, useReducer } from 'react';
|
3
|
-
import { Typography as Typography$1, Input as Input$1, Checkbox as Checkbox$1, DatePicker, Tooltip as Tooltip$1, Space as Space$1, Splitter as Splitter$1, Menu as Menu$1, Steps as Steps$1 } from 'antd';
|
3
|
+
import { Typography as Typography$1, Input as Input$1, Checkbox as Checkbox$1, DatePicker as DatePicker$1, Tooltip as Tooltip$1, Space as Space$1, Splitter as Splitter$1, Menu as Menu$1, Steps as Steps$1 } from 'antd';
|
4
4
|
import 'react-router';
|
5
5
|
import * as ReactDOM from 'react-dom';
|
6
6
|
import ReactDOM__default, { findDOMNode as findDOMNode$1, unstable_batchedUpdates, createPortal } from 'react-dom';
|
@@ -48684,7 +48684,7 @@ function cleanEscapedString(input) {
|
|
48684
48684
|
}
|
48685
48685
|
|
48686
48686
|
Ue("vi", vi);
|
48687
|
-
const
|
48687
|
+
const DatePicker = (props) => {
|
48688
48688
|
const {
|
48689
48689
|
field,
|
48690
48690
|
formState,
|
@@ -48864,7 +48864,7 @@ const sizeStyle = (size) => {
|
|
48864
48864
|
return styles.get(size);
|
48865
48865
|
};
|
48866
48866
|
|
48867
|
-
const { RangePicker: RangePickerPnkx } = DatePicker;
|
48867
|
+
const { RangePicker: RangePickerPnkx } = DatePicker$1;
|
48868
48868
|
const RangePicker = (props) => {
|
48869
48869
|
//! State
|
48870
48870
|
const {
|
@@ -61019,4 +61019,4 @@ React keys must be passed directly to JSX without using spread:
|
|
61019
61019
|
|
61020
61020
|
var distExports = requireDist();
|
61021
61021
|
|
61022
|
-
export { Checkbox as C,
|
61022
|
+
export { Checkbox as C, DatePicker as D, ErrorMessage as E, Input as I, Label as L, Menu as M, PnkxField as P, RangePicker as R, Space as S, Typography as T, _extends as _, Tooltip as a, Layout as b, Splitter as c, Steps as d, TINY_API as e, TinyMCE as f, get$6 as g, Icon as h, className as i, jsxRuntimeExports as j, CSS as k, useForm as l, DndContext as m, closestCenter as n, SortableContext as o, arrayMove as p, lodashExports as q, distExports$1 as r, useTabStore as s, twMerge as t, useSortable as u, verticalListSortingStrategy as v, distExports as w };
|
package/es/fields/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { C as Checkbox, D as
|
2
|
-
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from '../chunks/Switch-
|
1
|
+
export { C as Checkbox, D as DatePicker, I as Input, P as PnkxField, R as RangePicker, f as TinyMCE } from '../chunks/index-E0vjqVeH.js';
|
2
|
+
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from '../chunks/Switch-C87zdzNW.js';
|
package/es/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { O as ActionRowTable, A as Alert, v as Anchor, w as Appfix, x as AutoComplete, d as Badge, f as Breadcrumb, a3 as BreadcrumbHeading, a2 as BulkActions, B as Button, K as CATEGORY_LIST_ENUM, a4 as Card, C as CascaderField, N as CategoryStatus, e as Col, y as Collapse, z as ColorPicker, a5 as ConfigProvider, G as ConfirmModal, c as Container, j as Divider, l as Drawer, D as Dropdown, E as Empty, J as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, X as PAGE_NUMBER, Y as PAGE_SIZE, a6 as PageNotFound, g as Pagination, m as Popconfirm, P as Popover, Q as QRCode, o as Rate, n as Result, R as Row, Z as SORT_BY, _ as SORT_DESC, U as START_PAGE, V as START_PAGE_SIZE, b as SearchFiltersForm, p as Segmented, h as Sidebar, S as Skeleton, k as Spin, q as Statistic, T as Table, a as Tabs, i as Tag, r as Timeline, s as Tour, u as Tree, $ as TypeActionRowTable, a0 as TypeBulkActions, a1 as TypeStatusTable, W as Watermark, L as badgeStatusCategoryConfig, t as typeColorMap } from './chunks/PageNotFound-
|
2
|
-
export { C as Checkbox, D as
|
3
|
-
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-
|
1
|
+
export { O as ActionRowTable, A as Alert, v as Anchor, w as Appfix, x as AutoComplete, d as Badge, f as Breadcrumb, a3 as BreadcrumbHeading, a2 as BulkActions, B as Button, K as CATEGORY_LIST_ENUM, a4 as Card, C as CascaderField, N as CategoryStatus, e as Col, y as Collapse, z as ColorPicker, a5 as ConfigProvider, G as ConfirmModal, c as Container, j as Divider, l as Drawer, D as Dropdown, E as Empty, J as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, X as PAGE_NUMBER, Y as PAGE_SIZE, a6 as PageNotFound, g as Pagination, m as Popconfirm, P as Popover, Q as QRCode, o as Rate, n as Result, R as Row, Z as SORT_BY, _ as SORT_DESC, U as START_PAGE, V as START_PAGE_SIZE, b as SearchFiltersForm, p as Segmented, h as Sidebar, S as Skeleton, k as Spin, q as Statistic, T as Table, a as Tabs, i as Tag, r as Timeline, s as Tour, u as Tree, $ as TypeActionRowTable, a0 as TypeBulkActions, a1 as TypeStatusTable, W as Watermark, L as badgeStatusCategoryConfig, t as typeColorMap } from './chunks/PageNotFound-CwB9QL3G.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, c as Splitter, d as Steps, e as TINY_API, f as TinyMCE, a as Tooltip, T as Typography } from './chunks/index-E0vjqVeH.js';
|
3
|
+
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-C87zdzNW.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 { O as ActionRowTable, A as Alert, v as Anchor, w as Appfix, x as AutoComplete, d as Badge, f as Breadcrumb, a3 as BreadcrumbHeading, a2 as BulkActions, B as Button, K as CATEGORY_LIST_ENUM, a4 as Card, C as CascaderField, N as CategoryStatus, e as Col, y as Collapse, z as ColorPicker, a5 as ConfigProvider, G as ConfirmModal, c as Container, j as Divider, l as Drawer, D as Dropdown, E as Empty, J as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, X as PAGE_NUMBER, Y as PAGE_SIZE, a6 as PageNotFound, g as Pagination, m as Popconfirm, P as Popover, Q as QRCode, o as Rate, n as Result, R as Row, Z as SORT_BY, _ as SORT_DESC, U as START_PAGE, V as START_PAGE_SIZE, b as SearchFiltersForm, p as Segmented, h as Sidebar, S as Skeleton, k as Spin, q as Statistic, T as Table, a as Tabs, i as Tag, r as Timeline, s as Tour, u as Tree, $ as TypeActionRowTable, a0 as TypeBulkActions, a1 as TypeStatusTable, W as Watermark, L 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, c as Splitter, d as Steps, e as TINY_API, a as Tooltip, T as Typography } from '../chunks/index-
|
1
|
+
export { O as ActionRowTable, A as Alert, v as Anchor, w as Appfix, x as AutoComplete, d as Badge, f as Breadcrumb, a3 as BreadcrumbHeading, a2 as BulkActions, B as Button, K as CATEGORY_LIST_ENUM, a4 as Card, C as CascaderField, N as CategoryStatus, e as Col, y as Collapse, z as ColorPicker, a5 as ConfigProvider, G as ConfirmModal, c as Container, j as Divider, l as Drawer, D as Dropdown, E as Empty, J as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, X as PAGE_NUMBER, Y as PAGE_SIZE, a6 as PageNotFound, g as Pagination, m as Popconfirm, P as Popover, Q as QRCode, o as Rate, n as Result, R as Row, Z as SORT_BY, _ as SORT_DESC, U as START_PAGE, V as START_PAGE_SIZE, b as SearchFiltersForm, p as Segmented, h as Sidebar, S as Skeleton, k as Spin, q as Statistic, T as Table, a as Tabs, i as Tag, r as Timeline, s as Tour, u as Tree, $ as TypeActionRowTable, a0 as TypeBulkActions, a1 as TypeStatusTable, W as Watermark, L as badgeStatusCategoryConfig, t as typeColorMap } from '../chunks/PageNotFound-CwB9QL3G.js';
|
2
|
+
export { E as ErrorMessage, L as Label, b as Layout, M as Menu, S as Space, c as Splitter, d as Steps, e as TINY_API, a as Tooltip, T as Typography } from '../chunks/index-E0vjqVeH.js';
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
2
|
import { ReactDatePickerProps } from 'react-datepicker';
|
3
3
|
import { ControllerRenderProps, UseFormSetValue, UseFormStateReturn } from 'react-hook-form';
|
4
|
-
type TSize = "small" | "medium" | "large";
|
4
|
+
export type TSize = "small" | "medium" | "large";
|
5
5
|
export interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "onChange"> {
|
6
6
|
field?: ControllerRenderProps<any, any>;
|
7
7
|
formState?: UseFormStateReturn<any>;
|
@@ -18,5 +18,4 @@ export interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "onChange
|
|
18
18
|
customValue?: Date | null;
|
19
19
|
size?: TSize;
|
20
20
|
}
|
21
|
-
export declare const
|
22
|
-
export {};
|
21
|
+
export declare const DatePicker: (props: DatePickerDMYProps) => import("react/jsx-runtime").JSX.Element;
|