jcore-ui
Version:
jcore-ui - components for building an interface
81 lines • 2.7 kB
TypeScript
/*!
* Jcore-ui v1.1
* Native javascript ui components
* https://github.com/concore-dev/jcore-ui
*
* Copyright 2021 Eryomin Nickolay
* Published under MIT License
*
*/
import Accordion from './lib/components/Accordion';
import Collapse from './lib/components/Collapse';
import Dropdown from './lib/components/Dropdown';
import Modal from './lib/components/Modal';
import Progress from './lib/components/Progress';
import Select from './lib/components/Select';
import Tab from './lib/components/Tab';
import Tooltip from './lib/components/Tooltip';
import Component from './lib/core/Component';
import createElement from './lib/utils/createElement';
import EventEmitter from './lib/utils/EventEmitter';
import waitFor from './lib/utils/waitFor';
import { JDom, $ } from './lib/core/JDom';
import numberFormat from './lib/utils/numberFormat';
import declension from './lib/utils/declension';
import isMobile from './lib/utils/isMobile';
import isTouchDevice from './lib/utils/isTouchDevice';
declare const _default: {
Accordion: typeof Accordion;
Collapse: typeof Collapse;
Dropdown: typeof Dropdown;
Modal: typeof Modal;
Progress: typeof Progress;
Select: typeof Select;
Tab: typeof Tab;
Tooltip: typeof Tooltip;
Component: typeof Component;
createElement: typeof createElement;
event: {
transitionEnd(): any;
animationEnd(): any;
};
EventEmitter: typeof EventEmitter;
dataScroll: (polyfill?: () => any) => void;
dataHref: () => void;
waitFor: typeof waitFor;
$: typeof $;
JDom: typeof JDom;
form: {
getFields(form: HTMLElement, selector?: string): any;
getField(element: any): {
container: any;
input: any;
name: any;
value: any;
};
handlerChange(element: any, options?: any): void;
validate(element: any, options?: any, result?: any): any;
checkError(error: any): boolean;
clear(element: any): void;
};
mask: {
string(element: any): any;
number(element: any): any;
float(element: any): any;
phone(element: any): any;
};
numberFormat: typeof numberFormat;
cookie: {
set: (name: string, value: any, opt: import("./lib/interfaces").IObject) => void;
get: (name: string) => string;
};
declension: typeof declension;
digit: {
add: (value: number) => string;
remove: (value: string) => string;
};
isMobile: typeof isMobile;
isTouchDevice: typeof isTouchDevice;
};
export = _default;
//# sourceMappingURL=index.d.ts.map