@scbt-ecom/ui 0.38.1 → 0.38.2
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/dist/{CustomLink-BQOhJbbq.js → CustomLink-Cqhmw5ZU.js} +36 -36
- package/dist/CustomLink-Cqhmw5ZU.js.map +1 -0
- package/dist/shared/ui/floatButton/FloatButton.d.ts +1 -1
- package/dist/shared/ui/formElements/controlled/index.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/dayPicker/DayPicker.d.ts +1 -1
- package/dist/shared/ui/formElements/uncontrolled/index.d.ts +1 -1
- package/dist/ui.js +3 -3
- package/dist/ui.js.map +1 -1
- package/dist/widget.js +1 -1
- package/package.json +2 -1
- package/dist/CustomLink-BQOhJbbq.js.map +0 -1
- package/dist/types.d.ts +0 -2
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
|
@@ -94,7 +94,7 @@ export declare const Controlled: {
|
|
|
94
94
|
dadataBaseUrl: string;
|
|
95
95
|
formatter?: (item: import('./dadata/types').IDadataOrganizationOption) => import('..').SelectItemOption;
|
|
96
96
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
97
|
-
SliderControl: ({ control, name, defaultValue, disabled, rules, shouldUnregister, classes, ...props }: Omit<import('../uncontrolled/slider/SliderBase').SliderBaseProps, "onChange" | "
|
|
97
|
+
SliderControl: ({ control, name, defaultValue, disabled, rules, shouldUnregister, classes, ...props }: Omit<import('../uncontrolled/slider/SliderBase').SliderBaseProps, "onChange" | "classes" | "value"> & import('react-hook-form').UseControllerProps<import('react-hook-form').FieldValues, string> & {
|
|
98
98
|
control: import('react-hook-form').Control<import('react-hook-form').FieldValues>;
|
|
99
99
|
classes?: import('../uncontrolled/slider/SliderBase').SliderBaseClasses & {
|
|
100
100
|
container?: string;
|
|
@@ -32,7 +32,7 @@ export type DayPickerProps = Omit<MaskInputProps, 'value' | 'onChange' | 'mask'
|
|
|
32
32
|
*/
|
|
33
33
|
externalHandlers?: ExternalHandlers;
|
|
34
34
|
};
|
|
35
|
-
export declare const DayPickerBase: import('react').ForwardRefExoticComponent<Omit<MaskInputProps, "onChange" | "
|
|
35
|
+
export declare const DayPickerBase: import('react').ForwardRefExoticComponent<Omit<MaskInputProps, "onChange" | "classes" | "mask" | "value"> & {
|
|
36
36
|
/**
|
|
37
37
|
* Указывает, открыт ли календарь по умолчанию
|
|
38
38
|
*/
|
|
@@ -69,7 +69,7 @@ export declare const Uncontrolled: {
|
|
|
69
69
|
onFocus?: (event: React.FocusEvent<HTMLButtonElement>) => void;
|
|
70
70
|
};
|
|
71
71
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
72
|
-
DayPickerBase: import('react').ForwardRefExoticComponent<Omit<import('./maskInput').MaskInputProps, "onChange" | "
|
|
72
|
+
DayPickerBase: import('react').ForwardRefExoticComponent<Omit<import('./maskInput').MaskInputProps, "onChange" | "classes" | "mask" | "value"> & {
|
|
73
73
|
defaultOpen?: boolean;
|
|
74
74
|
value?: string;
|
|
75
75
|
onChange?: (value: string) => void;
|
package/dist/ui.js
CHANGED
|
@@ -3,8 +3,8 @@ var ch = (t) => {
|
|
|
3
3
|
};
|
|
4
4
|
var wc = (t, e, n) => e.has(t) || ch("Cannot " + n);
|
|
5
5
|
var pe = (t, e, n) => (wc(t, e, "read from private field"), n ? n.call(t) : e.get(t)), et = (t, e, n) => e.has(t) ? ch("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), Ve = (t, e, n, r) => (wc(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), dt = (t, e, n) => (wc(t, e, "access private method"), n);
|
|
6
|
-
import { j as P, c as Rl, R as tS, B as Tv, I as ze, e as yt, f as Ar, g as Ov, u as pn, h as nS, i as qe, k as Nl, D as rS, l as iS, m as oS, n as sS, o as hf, p as Si, q as aS, r as Mv, s as Il, t as lS, A as cS, H as uS, d as dS, v as fS, w as No, x as pS, y as Dv, z as kc, E as Sc, F as hS, G as mS, J as gS, K as yS, M as vS, N as bS, O as jl, _ as Ei, L as xS, a as Ll } from "./CustomLink-
|
|
7
|
-
import { C as ZH, P as e5, S as t5, b as n5 } from "./CustomLink-
|
|
6
|
+
import { j as P, c as Rl, R as tS, B as Tv, I as ze, e as yt, f as Ar, g as Ov, u as pn, h as nS, i as qe, k as Nl, D as rS, l as iS, m as oS, n as sS, o as hf, p as Si, q as aS, r as Mv, s as Il, t as lS, A as cS, H as uS, d as dS, v as fS, w as No, x as pS, y as Dv, z as kc, E as Sc, F as hS, G as mS, J as gS, K as yS, M as vS, N as bS, O as jl, _ as Ei, L as xS, a as Ll } from "./CustomLink-Cqhmw5ZU.js";
|
|
7
|
+
import { C as ZH, P as e5, S as t5, b as n5 } from "./CustomLink-Cqhmw5ZU.js";
|
|
8
8
|
import * as B from "react";
|
|
9
9
|
import oe, { forwardRef as ot, createContext as st, useContext as _e, useState as Ae, useEffect as Fe, useMemo as De, useCallback as Oe, useRef as we, useId as Ut, useInsertionEffect as Pv, Children as Ki, isValidElement as oo, useLayoutEffect as js, Fragment as un, createElement as mf, Component as wS, cloneElement as gf, useReducer as yf, useSyncExternalStore as kS, createRef as SS, memo as Av, useImperativeHandle as ES, useDebugValue as Rv } from "react";
|
|
10
10
|
import { c as ee } from "./cn-DIfn7EPB.js";
|
|
@@ -35480,7 +35480,7 @@ function Vr(t, e) {
|
|
|
35480
35480
|
i && n.push(i);
|
|
35481
35481
|
}), !t || t.replace($W, "").match(new RegExp(
|
|
35482
35482
|
// eslint-disable-next-line no-useless-escape
|
|
35483
|
-
`^(?:(?:${n.join("|")}):|[^a-z]|[a-
|
|
35483
|
+
`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,
|
|
35484
35484
|
"i"
|
|
35485
35485
|
));
|
|
35486
35486
|
}
|