@steedos/standard-ui 3.0.0-beta.25 → 3.0.0-beta.27

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.
@@ -42,42 +42,6 @@ module.exports = {
42
42
  return record.from_code_id;
43
43
  }
44
44
  },
45
- createOAuth2App: function (object_name) {
46
- // const fields = Creator.getObject(object_name).fields;
47
- // const oauthAppFields = {};
48
- // _.map(fields, function (v, k) {
49
- // if (k) {
50
- // if (_.include(['name', 'code', 'visible', 'description', 'is_creator', 'mobile', 'sort', 'is_use_iframe', 'is_new_window'], k) || k.startsWith("oauth2")) {
51
- // oauthAppFields[k] = v;
52
- // }
53
- // }
54
- // });
55
- // const onFinish = async (values = {}) => {
56
- // return new Promise((resolve, reject) => {
57
- // try {
58
- // console.log(`values`, values)
59
- // Creator.odata.insert(object_name, values)
60
- // setTimeout(function () { FlowRouter.reload() }, 100)
61
- // resolve(true);
62
- // } catch (error) {
63
- // console.error(`e2`, error);
64
- // reject(false);
65
- // }
66
- // })
67
- // }
68
- // SteedosUI.showModal(stores.ComponentRegistry.components.ObjectForm, {
69
- // name: "createOAuth2App",
70
- // title: '创建 OAuth 应用',
71
- // objectSchema: {
72
- // fields: oauthAppFields
73
- // },
74
- // // initialValues: initialValues,
75
- // onFinish: onFinish //onFinishByFrame
76
- // }, null, { iconPath: '/assets/icons' })
77
- },
78
- createOAuth2AppVisible: function () {
79
- return false && Steedos.Object.base.actions.standard_new.visible();
80
- },
81
45
  standard_editVisible: function(object_name, record_id, record_permissions, record){
82
46
  return false
83
47
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-ui",
3
- "version": "3.0.0-beta.25",
3
+ "version": "3.0.0-beta.27",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,7 +12,7 @@
12
12
  "description": "steedos package",
13
13
  "repository": {},
14
14
  "license": "MIT",
15
- "gitHead": "bcc2f288c4444202c4ec728beed73d00fe429841",
15
+ "gitHead": "fe5a3b939e02c85e644b84a03c4dc2d62d8af5e1",
16
16
  "dependencies": {
17
17
  "clone": "^2.1.2"
18
18
  }