@ajaxjs/ui 1.2.3 → 1.2.4
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/api-helper2/api-helper.d.ts +194 -0
- package/dist/api-helper2/api-helper.vue +144 -0
- package/dist/api-helper2/bookmark.vue +168 -0
- package/dist/api-helper2/common/arg.vue +46 -0
- package/dist/api-helper2/common/http-method.vue +53 -0
- package/dist/api-helper2/document/document-render.vue +189 -0
- package/dist/api-helper2/document/document.vue +130 -0
- package/dist/api-helper2/document/perview.vue +0 -0
- package/dist/api-helper2/env.vue +140 -0
- package/dist/api-helper2/history.vue +116 -0
- package/dist/api-helper2/main.vue +70 -0
- package/dist/api-helper2/request-body.vue +68 -0
- package/dist/api-helper2/table.vue +116 -0
- package/dist/data-source/data-source.d.ts +14 -0
- package/dist/data-source/data-source.js +96 -95
- package/dist/data-source/data-source.js.map +1 -0
- package/dist/data-source/data-source.less +46 -0
- package/dist/data-source/data-source.ts +95 -0
- package/dist/data-source/data-source.vue +59 -0
- package/dist/iView-ext/tips.vue +14 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.js +2 -39
- package/dist/index.js.map +1 -1
- package/dist/index.ts +2 -45
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6,51 +6,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
6
6
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
// import DataSource from './components/data-service/datasource/datasource.vue';
|
|
10
|
-
// import DataService from './components/data-service/data-service.vue';
|
|
11
|
-
// import DataServiceInfo from './components/data-service/info/info.vue';
|
|
12
|
-
// import FactoryFormAdmin from './components/factory-form/list.vue';
|
|
13
|
-
// import FactoryFormAdminInfo from './components/factory-form/form-factory.vue';
|
|
14
|
-
// import FactoryFormLoader from './components/factory-form/loader.vue';
|
|
15
|
-
// import FactoryListAdmin from './components/factory-list/list.vue';
|
|
16
|
-
// import FactoryListAdminInfo from './components/factory-list/list-factory.vue';
|
|
17
|
-
// import FactoryListLoader from './components/factory-list/list-loader.vue';
|
|
18
9
|
const list_1 = __importDefault(require("./iView-ext/fast-iview-table/list"));
|
|
19
10
|
const fast_iview_table_vue_1 = __importDefault(require("./iView-ext/fast-iview-table/fast-iview-table.vue"));
|
|
20
11
|
const index_vue_1 = __importDefault(require("./api-selector/index.vue"));
|
|
21
|
-
|
|
22
|
-
// import SysConfig from './components/admin-page/system/config.vue';
|
|
23
|
-
// import DataDict from './components/admin-page/system/data-dict.vue';
|
|
24
|
-
// import OrgIndex from './components/admin-page/user/org/index.vue';
|
|
25
|
-
// import RBAC from './components/admin-page/user/rbac/rbac.vue';
|
|
26
|
-
// import WebsiteConfig from './components/admin-page/website/config.vue';
|
|
27
|
-
// import FormDesigner from './components/form-designer/demo.vue';
|
|
28
|
-
// import WorkflowDesigner from './components/work-flow/index.vue';
|
|
29
|
-
/**
|
|
30
|
-
* API 统一前缀
|
|
31
|
-
*/
|
|
32
|
-
let API_BASE_URL;
|
|
12
|
+
const index_vue_2 = __importDefault(require("./api-helper/index.vue"));
|
|
33
13
|
/**
|
|
34
14
|
* 暴露各个组件
|
|
35
15
|
*/
|
|
36
16
|
exports.default = {
|
|
37
|
-
|
|
38
|
-
// /**
|
|
39
|
-
// * 设置 API 统一前缀
|
|
40
|
-
// *
|
|
41
|
-
// * @param perfix API 统一前缀
|
|
42
|
-
// */
|
|
43
|
-
// setApiBaseUrl(perfix: string): void {
|
|
44
|
-
// API_BASE_URL = perfix;
|
|
45
|
-
// },
|
|
46
|
-
// /**
|
|
47
|
-
// * 获取 API 统一前缀
|
|
48
|
-
// *
|
|
49
|
-
// * @returns API 统一前缀
|
|
50
|
-
// */
|
|
51
|
-
// getApiBaseUrl(): string {
|
|
52
|
-
// return API_BASE_URL;
|
|
53
|
-
// },
|
|
54
|
-
ApiSelector: index_vue_1.default, Fast_iViewTable: list_1.default, iViewListCommon: fast_iview_table_vue_1.default
|
|
17
|
+
ApiHelper: index_vue_2.default, ApiSelector: index_vue_1.default, Fast_iViewTable: list_1.default, iViewListCommon: fast_iview_table_vue_1.default
|
|
55
18
|
};
|
|
56
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,wCAAwC;AACxC,kDAAkD;;;;;AAElD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,wCAAwC;AACxC,kDAAkD;;;;;AAElD,6EAAgE;AAChE,6GAAgF;AAChF,yEAAmD;AACnD,uEAA+C;AAE/C;;GAEG;AACH,kBAAe;IACX,SAAS,EAAT,mBAAS,EAAE,WAAW,EAAX,mBAAW,EAAE,eAAe,EAAf,cAAe,EAAE,eAAe,EAAf,8BAAe;CAC3D,CAAC"}
|
package/dist/index.ts
CHANGED
|
@@ -2,57 +2,14 @@
|
|
|
2
2
|
// import * as util from './util/utils';
|
|
3
3
|
// import { setBaseHeadParams } from './util/xhr';
|
|
4
4
|
|
|
5
|
-
// import DataSource from './components/data-service/datasource/datasource.vue';
|
|
6
|
-
// import DataService from './components/data-service/data-service.vue';
|
|
7
|
-
// import DataServiceInfo from './components/data-service/info/info.vue';
|
|
8
|
-
|
|
9
|
-
// import FactoryFormAdmin from './components/factory-form/list.vue';
|
|
10
|
-
// import FactoryFormAdminInfo from './components/factory-form/form-factory.vue';
|
|
11
|
-
// import FactoryFormLoader from './components/factory-form/loader.vue';
|
|
12
|
-
|
|
13
|
-
// import FactoryListAdmin from './components/factory-list/list.vue';
|
|
14
|
-
// import FactoryListAdminInfo from './components/factory-list/list-factory.vue';
|
|
15
|
-
// import FactoryListLoader from './components/factory-list/list-loader.vue';
|
|
16
|
-
|
|
17
5
|
import Fast_iViewTable from './iView-ext/fast-iview-table/list';
|
|
18
6
|
import iViewListCommon from './iView-ext/fast-iview-table/fast-iview-table.vue';
|
|
19
7
|
import ApiSelector from './api-selector/index.vue';
|
|
20
|
-
|
|
21
|
-
// import SysConfig from './components/admin-page/system/config.vue';
|
|
22
|
-
// import DataDict from './components/admin-page/system/data-dict.vue';
|
|
23
|
-
// import OrgIndex from './components/admin-page/user/org/index.vue';
|
|
24
|
-
// import RBAC from './components/admin-page/user/rbac/rbac.vue';
|
|
25
|
-
// import WebsiteConfig from './components/admin-page/website/config.vue';
|
|
26
|
-
// import FormDesigner from './components/form-designer/demo.vue';
|
|
27
|
-
// import WorkflowDesigner from './components/work-flow/index.vue';
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* API 统一前缀
|
|
31
|
-
*/
|
|
32
|
-
let API_BASE_URL: string;
|
|
8
|
+
import ApiHelper from './api-helper/index.vue';
|
|
33
9
|
|
|
34
10
|
/**
|
|
35
11
|
* 暴露各个组件
|
|
36
12
|
*/
|
|
37
13
|
export default {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
// /**
|
|
41
|
-
// * 设置 API 统一前缀
|
|
42
|
-
// *
|
|
43
|
-
// * @param perfix API 统一前缀
|
|
44
|
-
// */
|
|
45
|
-
// setApiBaseUrl(perfix: string): void {
|
|
46
|
-
// API_BASE_URL = perfix;
|
|
47
|
-
// },
|
|
48
|
-
|
|
49
|
-
// /**
|
|
50
|
-
// * 获取 API 统一前缀
|
|
51
|
-
// *
|
|
52
|
-
// * @returns API 统一前缀
|
|
53
|
-
// */
|
|
54
|
-
// getApiBaseUrl(): string {
|
|
55
|
-
// return API_BASE_URL;
|
|
56
|
-
// },
|
|
57
|
-
ApiSelector, Fast_iViewTable, iViewListCommon
|
|
14
|
+
ApiHelper, ApiSelector, Fast_iViewTable, iViewListCommon
|
|
58
15
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ajaxjs/ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Widgets based on iView.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"vue-codemirror": "^4.0.6",
|
|
26
26
|
"vuedraggable": "^2.24.3",
|
|
27
|
-
"@ajaxjs/util": "1.1.
|
|
27
|
+
"@ajaxjs/util": "1.1.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@vue/cli-plugin-babel": "~4.5.0",
|