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.
- package/dist/assets/index.7c93c282.css +1 -0
- package/dist/components.es.js +1742 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/Action/Switch.d.ts +6 -0
- package/dist/lib/Action/index.d.ts +5 -0
- package/dist/lib/Alerts/Init.d.ts +9 -0
- package/dist/lib/Alerts/index.d.ts +5 -0
- package/dist/lib/Browser/Browser.d.ts +5 -0
- package/dist/lib/Button/Button.d.ts +8 -0
- package/dist/lib/Component/Header.d.ts +6 -0
- package/dist/lib/Component/List.d.ts +5 -0
- package/dist/lib/Component/O.d.ts +6 -0
- package/dist/lib/Component/Section.d.ts +5 -0
- package/dist/lib/Component/U.d.ts +5 -0
- package/dist/lib/Header/Header.d.ts +5 -0
- package/dist/lib/Menu/Menu.d.ts +5 -0
- package/dist/lib/Modal/List.d.ts +1 -0
- package/dist/lib/Modal/Modal.d.ts +24 -0
- package/dist/lib/Modal/Scroll.d.ts +1 -0
- package/dist/lib/Notice/Init.d.ts +11 -0
- package/dist/lib/Notice/index.d.ts +9 -0
- package/dist/lib/Setting/Item/Accordion.d.ts +7 -0
- package/dist/lib/Setting/Item/Button.d.ts +8 -0
- package/dist/lib/Setting/Item/Info.d.ts +6 -0
- package/dist/lib/Setting/Item/Select.d.ts +11 -0
- package/dist/lib/Setting/Item/Switch.d.ts +7 -0
- package/dist/lib/Setting/Main.d.ts +6 -0
- package/dist/lib/Setting/Section.d.ts +13 -0
- package/dist/lib/Setting/Tabs.d.ts +26 -0
- package/dist/lib/Tabs/Tabs.d.ts +26 -0
- package/dist/lib/index.d.ts +9 -0
- package/dist/style.d.ts +2 -0
- package/dist/vite-env.d.ts +1 -0
- package/package.json +23 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./lib/index";
|
|
@@ -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,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,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/";
|
package/dist/style.d.ts
ADDED
|
@@ -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
|
+
}
|