dom-render 1.0.92 → 1.0.93
Sign up to get free protection for your applications and to get access to all the features.
- package/DomRenderProxy.js +7 -7
- package/components/ComponentSet.d.ts +1 -1
- package/configs/Config.d.ts +4 -1
- package/configs/TargetAttr.d.ts +1 -1
- package/configs/TargetElement.d.ts +1 -1
- package/dist/bundle.js +224 -293
- package/events/EventManager.d.ts +1 -0
- package/events/EventManager.js +42 -54
- package/messenger/Messenger.d.ts +4 -4
- package/operators/Dr.js +1 -1
- package/operators/DrAppender.js +2 -4
- package/operators/DrFor.js +2 -4
- package/operators/DrForOf.js +2 -4
- package/operators/DrForm.js +1 -1
- package/operators/DrIf.js +2 -4
- package/operators/DrInnerHTML.js +1 -1
- package/operators/DrInnerText.js +1 -1
- package/operators/DrPre.js +2 -4
- package/operators/DrRepeat.js +2 -4
- package/operators/DrTargetAttr.js +2 -4
- package/operators/DrTargetElement.js +2 -4
- package/operators/DrThis.js +1 -1
- package/operators/OperatorExecuter.d.ts +5 -5
- package/operators/OperatorExecuter.js +1 -1
- package/operators/OperatorExecuterAttrRequire.js +1 -1
- package/package.json +1 -1
- package/rawsets/AttrInitCallBack.d.ts +1 -1
- package/rawsets/Attrs.d.ts +1 -1
- package/rawsets/CreatorMetaData.d.ts +1 -1
- package/rawsets/ElementInitCallBack.d.ts +1 -1
- package/rawsets/RawSet.js +1 -1
- package/rawsets/Render.d.ts +1 -1
- package/routers/Router.d.ts +1 -1
- package/utils/dom/DomUtils.d.ts +1 -1
- package/utils/node/NodeUtils.d.ts +1 -1
- package/validators/EmptyValidator.js +2 -2
- package/validators/NotEmptyValidator.js +2 -2
- package/validators/ValidMultipleValidator.d.ts +1 -1
- package/validators/Validator.d.ts +2 -2
- package/validators/ValidatorArray.d.ts +1 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
export
|
2
|
-
export
|
1
|
+
export type Valid<T = any, E = Element> = (value?: T, target?: E, event?: Event) => boolean;
|
2
|
+
export type ValidAction<T = any, E = Element> = (valid: boolean, value?: T, target?: E, event?: Event) => void;
|
3
3
|
export declare abstract class Validator<T = any, E = Element> {
|
4
4
|
protected _value?: T | undefined;
|
5
5
|
private _target?;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Validator } from './Validator';
|
2
|
-
export
|
2
|
+
export type MakeValidator<T = any, E = Element> = (value: T, target: E, event?: Event) => Validator<T, E>;
|
3
3
|
export declare abstract class ValidatorArray<T = any, E = Element> extends Validator<Validator<T, E>[], E> {
|
4
4
|
private _makeValidatorFactory;
|
5
5
|
constructor(value?: Validator<T, E>[], target?: E, event?: Event, autoValid?: boolean);
|