meixioacomponent 0.6.41 → 0.6.42-alpha-ts-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.
Files changed (36) hide show
  1. package/README.md +1 -1
  2. package/babel.config.js +4 -11
  3. package/index.d.ts +32 -0
  4. package/jsconfig.json +19 -0
  5. package/lib/components/index.d.ts +67 -0
  6. package/lib/components/index.d.ts.map +1 -0
  7. package/lib/config/LinkViewClass.d.ts +50 -0
  8. package/lib/config/LinkViewClass.d.ts.map +1 -0
  9. package/lib/demo.html +1 -8
  10. package/lib/meixioacomponent.common.js +79452 -110762
  11. package/lib/meixioacomponent.umd.js +79453 -110762
  12. package/lib/meixioacomponent.umd.min.js +102 -93
  13. package/package.json +26 -21
  14. package/packages/components/base/baseAnchor/baseAnchor.vue +15 -11
  15. package/packages/components/base/baseAnchor/index.js +6 -6
  16. package/packages/components/index.js +199 -205
  17. package/packages/components/index.ts +205 -0
  18. package/packages/components/proPageTable/oa_pro_table.vue +2 -0
  19. package/packages/config/LinkViewClass.js +91 -116
  20. package/packages/config/LinkViewClass.ts +163 -0
  21. package/packages/typings/.d.ts +5 -0
  22. package/public/favicon.ico +0 -0
  23. package/public/index.html +17 -0
  24. package/tsconfig.json +118 -0
  25. package/vue.config.js +30 -21
  26. package/.idea/inspectionProfiles/Project_Default.xml +0 -10
  27. package/.idea/meixioacomponent.iml +0 -12
  28. package/.idea/modules.xml +0 -8
  29. package/.idea/vcs.xml +0 -6
  30. package/.idea/watcherTasks.xml +0 -4
  31. package/lib/fonts/element-icons.535877f5.woff +0 -0
  32. package/lib/fonts/element-icons.732389de.ttf +0 -0
  33. package/types/Icon.ts +0 -21
  34. package/types/components.d.ts +0 -5
  35. package/types/index.d.ts +0 -3
  36. package/types/meixioacomponent.d.ts +0 -17
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # meixioacomponent
1
+ # meixigoodstablecontrol
2
2
 
3
3
  ## Project setup
4
4
  ```
package/babel.config.js CHANGED
@@ -1,13 +1,6 @@
1
1
  module.exports = {
2
- presets: ["@vue/cli-plugin-babel/preset"],
3
- plugins: [
4
- [
5
- "component",
6
- {
7
- libraryName: "element-ui",
8
- styleLibraryName: "theme-chalk",
9
- },
2
+ presets: [
3
+ '@vue/cli-plugin-babel/preset'
10
4
  ],
11
- ['@babel/plugin-proposal-optional-chaining']
12
- ],
13
- };
5
+ plugins: [['@babel/plugin-proposal-optional-chaining']]
6
+ }
package/index.d.ts ADDED
@@ -0,0 +1,32 @@
1
+ export declare type pagePropsType= {
2
+ total: number;
3
+ size: number,
4
+ current: number,
5
+ }
6
+
7
+ export declare type pageConfigType = {
8
+ size: string,
9
+ page: string,
10
+ total: string,
11
+ }
12
+
13
+ export declare interface LinkViewClassInterface {
14
+ delFn: null | Function;
15
+ exportFn: null | Function;
16
+ pageProps: pagePropsType;
17
+ activeIndex: number;
18
+ pageConfig: null | pageConfigType
19
+ tablePermission: { value: boolean; key: string };
20
+ editPermission: { value: boolean; key: string };
21
+ delPermission: { value: boolean; key: string };
22
+ addPermission: { value: boolean; key: string };
23
+ refreshTableData: null | Function;
24
+
25
+
26
+ }
27
+
28
+
29
+
30
+
31
+
32
+
package/jsconfig.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "module": "esnext",
5
+ "baseUrl": "./",
6
+ "moduleResolution": "node",
7
+ "paths": {
8
+ "@/*": [
9
+ "src/*"
10
+ ]
11
+ },
12
+ "lib": [
13
+ "esnext",
14
+ "dom",
15
+ "dom.iterable",
16
+ "scripthost"
17
+ ]
18
+ }
19
+ }
@@ -0,0 +1,67 @@
1
+ import LinkViewClass from "../config/LinkViewClass";
2
+ declare const _default: {
3
+ install: (Vue: any) => void;
4
+ componentConfig: any;
5
+ meixicomponents: any[];
6
+ baseAnchor: any;
7
+ baseAppendix: any;
8
+ baseArea: any;
9
+ baseAvatar: any;
10
+ baseButtonHandle: any;
11
+ baseDefaultSvg: any;
12
+ baseDialog: any;
13
+ baseDialogTable: any;
14
+ baseDrawer: any;
15
+ baseEdito: any;
16
+ baseFixedHeader: any;
17
+ Icon: any;
18
+ baseImageViewer: any;
19
+ baseImg: any;
20
+ baseInforWrap: any;
21
+ baseLineInfoGroup: any;
22
+ baseLineInfoItem: any;
23
+ basePageHeader: any;
24
+ basePagination: any;
25
+ basePlainTable: any;
26
+ baseSection: any;
27
+ baseSkeleton: any;
28
+ baseSvg: any;
29
+ baseTimeTypeSelect: any;
30
+ baseToggle: any;
31
+ baseUploadItem: any;
32
+ baseUpload: any;
33
+ upload: any;
34
+ baseDialogForm: any;
35
+ baseForm: any;
36
+ baseFormWrap: any;
37
+ baseProTable: any;
38
+ baseMoverVerifiBar: any;
39
+ baseTimeLine: any;
40
+ basePopoverButton: any;
41
+ baseTreeSelect: any;
42
+ baseUploadTemplate: any;
43
+ baseNumberInput: any;
44
+ baseStoreSelect: any;
45
+ baseFormItem: any;
46
+ baseSingleImgUpload: any;
47
+ baseGuide: any;
48
+ baseText: any;
49
+ baseTag: any;
50
+ oaProTableSearch: any;
51
+ baseWait: any;
52
+ Theme: any;
53
+ SelectStore: any;
54
+ useImg: any;
55
+ UseDrag: any;
56
+ UseResize: any;
57
+ useUpload: any;
58
+ useFixedHeader: any;
59
+ useCropper: any;
60
+ useViewVideo: any;
61
+ useGuide: any;
62
+ DynamicMountClass: any;
63
+ useWait: any;
64
+ LinkViewClass: typeof LinkViewClass;
65
+ };
66
+ export default _default;
67
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/index.ts"],"names":[],"mappings":"AAiEA,OAAO,aAAa,MAAM,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EpD,wBA+DC"}
@@ -0,0 +1,50 @@
1
+ import { LinkViewClassInterface, pageConfigType } from "../../index";
2
+ declare class LinkViewClass implements LinkViewClassInterface {
3
+ delFn: null | Function;
4
+ exportFn: null;
5
+ tableData: any[];
6
+ pageProps: {
7
+ total: number;
8
+ size: number;
9
+ current: number;
10
+ };
11
+ pageConfig: null | pageConfigType;
12
+ activeIndex: number;
13
+ tablePermission: {
14
+ value: boolean;
15
+ key: string;
16
+ };
17
+ editPermission: {
18
+ value: boolean;
19
+ key: string;
20
+ };
21
+ delPermission: {
22
+ value: boolean;
23
+ key: string;
24
+ };
25
+ addPermission: {
26
+ value: boolean;
27
+ key: string;
28
+ };
29
+ refreshTableData: null;
30
+ constructor(params: any);
31
+ setPermissions(param: any): void;
32
+ jugePermission(): void;
33
+ init(): void;
34
+ onHandNextData(): void;
35
+ onHandPreData(): void;
36
+ hasNextTableData(): boolean;
37
+ hasPreTableData(): boolean;
38
+ getTableDataForActiveIndex(): any;
39
+ getPageProps(): {
40
+ total: number;
41
+ size: number;
42
+ current: number;
43
+ };
44
+ getTableData(): {};
45
+ getPageConfig(): pageConfigType | null;
46
+ getPermission(key: any): any;
47
+ setActiveIndex(index: any): void;
48
+ }
49
+ export default LinkViewClass;
50
+ //# sourceMappingURL=LinkViewClass.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkViewClass.d.ts","sourceRoot":"","sources":["../../packages/config/LinkViewClass.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,aAAa,CAAC;AAGnE,cAAM,aAAc,YAAW,sBAAsB;IAC1C,KAAK,EAAE,IAAI,GAAG,QAAQ,CAAC;IACvB,QAAQ,EAAE,IAAI,CAAC;IACf,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACK,UAAU,EAAE,IAAI,GAAG,cAAc,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,cAAc,EAAE;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,aAAa,EAAE;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/C,aAAa,EAAE;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/C,gBAAgB,EAAE,IAAI,CAAC;gBAElB,MAAM,KAAA;IAgClB,cAAc,CAAC,KAAK,KAAA;IAYpB,cAAc;IA0Bd,IAAI;IAgBJ,cAAc;IAQd,aAAa;IAQb,gBAAgB;IAMhB,eAAe;IAIf,0BAA0B;IAI1B,YAAY;;;;;IAIZ,YAAY,IAAI,EAAE;IAOlB,aAAa;IAIb,aAAa,CAAC,GAAG,KAAA;IAIjB,cAAc,CAAC,KAAK,KAAA;CAGvB;AAED,eAAe,aAAa,CAAA"}
package/lib/demo.html CHANGED
@@ -1,8 +1 @@
1
- <meta charset="utf-8">
2
- <title>meixioacomponent demo</title>
3
- <script src="./meixioacomponent.umd.js"></script>
4
-
5
-
6
- <script>
7
- console.log(meixioacomponent)
8
- </script>
1
+ <!doctype html><meta charset="utf-8"><title>meixioacomponent demo</title><script src="./meixioacomponent.umd.js"></script><script>console.log(meixioacomponent)</script>