elcrm 0.0.1

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.
@@ -0,0 +1 @@
1
+ export * from "./lib/index";
@@ -0,0 +1,6 @@
1
+ interface Switch {
2
+ onClick: Function;
3
+ active: any;
4
+ }
5
+ declare const Switch: ({ active, onClick }: Switch) => import("react/jsx-runtime").JSX.Element;
6
+ export default Switch;
@@ -0,0 +1,5 @@
1
+ import Switch from "./Switch";
2
+ declare const _default: {
3
+ Switch: ({ active, onClick }: Switch) => import("react/jsx-runtime").JSX.Element;
4
+ };
5
+ export default _default;
@@ -0,0 +1,9 @@
1
+ interface Alerts {
2
+ text: String;
3
+ title: String;
4
+ color: String;
5
+ button: String;
6
+ }
7
+ export declare function Init(): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Send(data: Alerts, callback: Function): void;
9
+ export {};
@@ -0,0 +1,5 @@
1
+ import { Send } from "./Init";
2
+ declare const _default: {
3
+ Send: typeof Send;
4
+ };
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ interface Browser {
2
+ children?: any;
3
+ }
4
+ declare const Browser: ({ children, ...restProps }: Browser) => import("react/jsx-runtime").JSX.Element;
5
+ export default Browser;
@@ -0,0 +1,8 @@
1
+ declare const Button: ({ children, disabled, label, onClick, }: {
2
+ children?: any;
3
+ disabled?: boolean | undefined;
4
+ onClick?: Function | undefined;
5
+ onSend?: Function | undefined;
6
+ label: string;
7
+ }) => JSX.Element;
8
+ export default Button;
@@ -0,0 +1,6 @@
1
+ interface Header {
2
+ title?: String;
3
+ children?: any;
4
+ }
5
+ declare const Header: ({ title, children }: Header) => import("react/jsx-runtime").JSX.Element;
6
+ export default Header;
@@ -0,0 +1,5 @@
1
+ interface Menu {
2
+ children?: any;
3
+ }
4
+ declare const Menu: ({ children, ...restProps }: Menu) => import("react/jsx-runtime").JSX.Element;
5
+ export default Menu;
@@ -0,0 +1,6 @@
1
+ interface Section {
2
+ children?: any;
3
+ title?: String;
4
+ }
5
+ declare const O: ({ children, title }: Section) => import("react/jsx-runtime").JSX.Element;
6
+ export default O;
@@ -0,0 +1,5 @@
1
+ interface Section {
2
+ children?: any;
3
+ }
4
+ declare const Section: ({ children }: Section) => import("react/jsx-runtime").JSX.Element;
5
+ export default Section;
@@ -0,0 +1,5 @@
1
+ interface Section {
2
+ children?: any;
3
+ }
4
+ declare const U: ({ children }: Section) => import("react/jsx-runtime").JSX.Element;
5
+ export default U;
@@ -0,0 +1,5 @@
1
+ interface Header {
2
+ children?: any;
3
+ }
4
+ declare const Header: ({ children, ...restProps }: Header) => import("react/jsx-runtime").JSX.Element;
5
+ export default Header;
@@ -0,0 +1,5 @@
1
+ interface Menu {
2
+ children?: any;
3
+ }
4
+ declare const Menu: ({ children, ...restProps }: Menu) => import("react/jsx-runtime").JSX.Element;
5
+ export default Menu;
@@ -0,0 +1 @@
1
+ export default function List({ children }: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import Button from "../Button/Button";
3
+ interface Main {
4
+ children: React.JSX.Element;
5
+ title?: String;
6
+ button?: Button;
7
+ tabs?: any[];
8
+ size?: String;
9
+ menu?: React.JSX.Element;
10
+ }
11
+ interface Button {
12
+ onClick: Function;
13
+ name: string;
14
+ }
15
+ export declare const Init: () => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Main: ({ children, title, button, tabs, size, menu, }: Main) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const Add: (e: React.JSX.Element) => void;
18
+ interface Params {
19
+ type: string;
20
+ name: string;
21
+ params: any;
22
+ }
23
+ export declare const Icon: ({ type, name, params }: Params) => import("react/jsx-runtime").JSX.Element;
24
+ export {};
@@ -0,0 +1 @@
1
+ export default function Scroll({ children }: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ interface Notice {
2
+ type: string;
3
+ text: string;
4
+ }
5
+ export declare function Init(): any;
6
+ export declare function Send(e: Notice): void;
7
+ export declare function Error(text: string): void;
8
+ export declare function Success(text: string): void;
9
+ export declare function Remark(text: string): void;
10
+ export declare function Copy(text: string): void;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import { Send, Error, Remark, Success, Copy } from "./Init";
2
+ declare const _default: {
3
+ Send: typeof Send;
4
+ Error: typeof Error;
5
+ Remark: typeof Remark;
6
+ Success: typeof Success;
7
+ Copy: typeof Copy;
8
+ };
9
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ interface Accordion {
3
+ children: React.ReactNode;
4
+ label: String;
5
+ }
6
+ declare const Accordion: ({ label, children }: Accordion) => import("react/jsx-runtime").JSX.Element;
7
+ export default Accordion;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface Main {
3
+ button: React.ReactNode;
4
+ onClick: Function;
5
+ label: String;
6
+ }
7
+ declare const Button: ({ label, onClick, button }: Main) => import("react/jsx-runtime").JSX.Element;
8
+ export default Button;
@@ -0,0 +1,6 @@
1
+ interface Info {
2
+ label: String;
3
+ info: String;
4
+ }
5
+ declare const Info: ({ label, info }: Info) => import("react/jsx-runtime").JSX.Element;
6
+ export default Info;
@@ -0,0 +1,11 @@
1
+ interface Select {
2
+ label: string;
3
+ active: string;
4
+ options: Array<Options>;
5
+ }
6
+ interface Options {
7
+ id: string;
8
+ label: string;
9
+ }
10
+ declare const Select: ({ label, active, options }: Select) => import("react/jsx-runtime").JSX.Element;
11
+ export default Select;
@@ -0,0 +1,7 @@
1
+ interface Switch {
2
+ onClick: Function;
3
+ active: any;
4
+ label: String;
5
+ }
6
+ declare const Switch: ({ label, onClick, active }: Switch) => import("react/jsx-runtime").JSX.Element;
7
+ export default Switch;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ interface Main {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const Section: ({ children }: Main) => import("react/jsx-runtime").JSX.Element;
6
+ export default Section;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ interface Section1 {
3
+ children: React.ReactNode;
4
+ title?: string;
5
+ button?: Button;
6
+ description?: string;
7
+ }
8
+ interface Button {
9
+ onClick: Function;
10
+ label: string;
11
+ }
12
+ declare const Section: ({ title, button, description, children, }: Section1) => import("react/jsx-runtime").JSX.Element;
13
+ export default Section;
@@ -0,0 +1,26 @@
1
+ interface Tabs {
2
+ list: Array<Tab>;
3
+ active: string;
4
+ size?: string;
5
+ view?: string;
6
+ onClick: (link: string) => void;
7
+ }
8
+ interface Tab {
9
+ label: string;
10
+ link: string;
11
+ }
12
+ interface TabItems {
13
+ label: string;
14
+ link: string;
15
+ active: string;
16
+ onClick: (link: string) => void;
17
+ }
18
+ declare function Tabs({ list, onClick, active, size, view }: Tabs): import("react/jsx-runtime").JSX.Element;
19
+ declare namespace Tabs {
20
+ var defaultProps: {
21
+ size: string;
22
+ view: string;
23
+ };
24
+ }
25
+ export default Tabs;
26
+ declare const Tab: ({ onClick, label, link, active }: TabItems) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,26 @@
1
+ interface Tabs {
2
+ list: Array<Tab>;
3
+ active: string;
4
+ size?: string;
5
+ view?: string;
6
+ onClick: (link: string) => void;
7
+ }
8
+ interface Tab {
9
+ label: string;
10
+ link: string;
11
+ }
12
+ interface TabItems {
13
+ label: string;
14
+ link: string;
15
+ active: string;
16
+ onClick: (link: string) => void;
17
+ }
18
+ declare const Tabs: {
19
+ ({ list, onClick, active, size, view }: Tabs): import("react/jsx-runtime").JSX.Element;
20
+ defaultProps: {
21
+ size: string;
22
+ view: string;
23
+ };
24
+ };
25
+ declare const Tab: ({ onClick, label, link, active }: TabItems) => import("react/jsx-runtime").JSX.Element;
26
+ export default Tabs;
@@ -0,0 +1,9 @@
1
+ export { default as Browser } from "./Browser/Browser";
2
+ export { default as Button } from "./Button/Button";
3
+ export { default as Tabs } from "./Tabs/Tabs";
4
+ export { default as Setting } from "./Setting/";
5
+ export { default as Action } from "./Action/";
6
+ export { default as Component } from "./Component/";
7
+ export { default as Notice } from "./Notice/";
8
+ export { default as Alerts } from "./Alerts/";
9
+ export { default as Modal } from "./Modal/";
@@ -0,0 +1,2 @@
1
+ declare const classNames: {};
2
+ export = classNames;
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "elcrm",
3
+ "version": "0.0.1",
4
+ "scripts": {
5
+ "dev": "vite",
6
+ "build": "tsc && vite build",
7
+ "preview": "vite preview",
8
+ "prepack": "json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\""
9
+ },
10
+ "license": "MIT",
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "main": "./dist/components.umd.js",
15
+ "module": "./dist/components.es.js",
16
+ "types": "./dist/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "import": "./dist/components.es.js",
20
+ "require": "./dist/components.umd.js"
21
+ }
22
+ }
23
+ }