@steedos/standard-ui 2.5.5 → 2.5.6-beta.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.
|
@@ -7,42 +7,42 @@
|
|
|
7
7
|
var buttonTriggerHistoryPathsChange;
|
|
8
8
|
; (function () {
|
|
9
9
|
try {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
10
|
+
Meteor.startup(function () {
|
|
11
|
+
var rootId = "steedosHistoryPathsRoot";
|
|
12
|
+
var modalRoot = document.getElementById(rootId);
|
|
13
|
+
if (!modalRoot) {
|
|
14
|
+
modalRoot = document.createElement('div');
|
|
15
|
+
modalRoot.setAttribute('id', rootId);
|
|
16
|
+
$("body")[0].appendChild(modalRoot);
|
|
17
|
+
}
|
|
18
|
+
const page = {
|
|
19
|
+
name: "pageSteedosHistoryPaths",
|
|
20
|
+
render_engine: "amis",
|
|
21
|
+
schema: {
|
|
22
|
+
name: "serviceSteedosHistoryPaths",
|
|
23
|
+
id: "serviceSteedosHistoryPaths",
|
|
24
|
+
type: "service",
|
|
25
|
+
className: "service-steedos-history-paths",
|
|
26
|
+
body: [{
|
|
27
|
+
"type": "button",
|
|
28
|
+
"label": "触发@history_paths.changed",
|
|
29
|
+
"name": "buttonTriggerHistoryPathsChange",
|
|
30
|
+
"className": "button-trigger-history-paths-change hidden",
|
|
31
|
+
"onEvent": {
|
|
32
|
+
"click": {
|
|
33
|
+
"actions": [
|
|
34
|
+
{
|
|
35
|
+
"actionType": "broadcast",
|
|
36
|
+
"args": {
|
|
37
|
+
"eventName": "@history_paths.changed"
|
|
38
|
+
}
|
|
37
39
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
]
|
|
41
|
+
}
|
|
40
42
|
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
Meteor.startup(function () {
|
|
43
|
+
}]
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
46
|
const root = $("#" + rootId)[0];
|
|
47
47
|
Tracker.autorun(function (c) {
|
|
48
48
|
if (Creator.steedosInit.get() && Creator.validated.get()) {
|
|
@@ -61,7 +61,8 @@ fields:
|
|
|
61
61
|
type: grid
|
|
62
62
|
blackbox: true
|
|
63
63
|
is_wide: true
|
|
64
|
-
hidden: true
|
|
64
|
+
# hidden: true
|
|
65
|
+
visible_on: "{{false}}"
|
|
65
66
|
tab_groups.$.group_name:
|
|
66
67
|
type: text
|
|
67
68
|
tab_groups.$.default_open:
|
|
@@ -89,25 +90,7 @@ fields:
|
|
|
89
90
|
# tab_items.$.group:
|
|
90
91
|
# label: Group
|
|
91
92
|
# type: text
|
|
92
|
-
|
|
93
|
-
label: Desktop Menu(Invalid)
|
|
94
|
-
type: lookup
|
|
95
|
-
multiple: true
|
|
96
|
-
group: Tabs
|
|
97
|
-
optionsFunction: !!js/function |
|
|
98
|
-
function () {
|
|
99
|
-
return Steedos.getObjectsOptions()
|
|
100
|
-
}
|
|
101
|
-
# filterable: true
|
|
102
|
-
mobile_objects:
|
|
103
|
-
label: Mobile Menus(Invalid)
|
|
104
|
-
type: lookup
|
|
105
|
-
multiple: true
|
|
106
|
-
group: Tabs
|
|
107
|
-
optionsFunction: !!js/function |
|
|
108
|
-
function () {
|
|
109
|
-
return Steedos.getObjectsOptions()
|
|
110
|
-
}
|
|
93
|
+
|
|
111
94
|
# filterable: true
|
|
112
95
|
is_creator:
|
|
113
96
|
type: boolean
|
|
@@ -130,10 +113,7 @@ fields:
|
|
|
130
113
|
label: 显示左侧导航
|
|
131
114
|
type: boolean
|
|
132
115
|
defaultValue: false
|
|
133
|
-
|
|
134
|
-
label: 启用自定义导航
|
|
135
|
-
type: boolean
|
|
136
|
-
required: false
|
|
116
|
+
|
|
137
117
|
nav_schema:
|
|
138
118
|
label: 自定义导航
|
|
139
119
|
type: code
|
|
@@ -193,6 +173,30 @@ fields:
|
|
|
193
173
|
max: 16
|
|
194
174
|
min: 16
|
|
195
175
|
group: External Application
|
|
176
|
+
objects:
|
|
177
|
+
label: Desktop Menu(Invalid)
|
|
178
|
+
type: lookup
|
|
179
|
+
multiple: true
|
|
180
|
+
group: 其它
|
|
181
|
+
optionsFunction: !!js/function |
|
|
182
|
+
function () {
|
|
183
|
+
return Steedos.getObjectsOptions()
|
|
184
|
+
}
|
|
185
|
+
# filterable: true
|
|
186
|
+
mobile_objects:
|
|
187
|
+
label: Mobile Menus(Invalid)
|
|
188
|
+
type: lookup
|
|
189
|
+
multiple: true
|
|
190
|
+
group: 其它
|
|
191
|
+
optionsFunction: !!js/function |
|
|
192
|
+
function () {
|
|
193
|
+
return Steedos.getObjectsOptions()
|
|
194
|
+
}
|
|
195
|
+
enable_nav_schema:
|
|
196
|
+
label: 启用自定义导航
|
|
197
|
+
type: boolean
|
|
198
|
+
required: false
|
|
199
|
+
group: 其它
|
|
196
200
|
|
|
197
201
|
oauth2_enabled:
|
|
198
202
|
group: OAuth2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-ui",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.6-beta.4",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"repository": {},
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "865682da22058bd2a954753eeeab891612e6b529"
|
|
16
16
|
}
|