profoundjs 7.14.1 → 7.15.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/htdocs/profoundui/proddata/js/designer.js +3658 -3656
- package/htdocs/profoundui/proddata/js/key_management.js +2 -0
- package/htdocs/profoundui/proddata/js/rich-display-react-component.js +1 -0
- package/htdocs/profoundui/proddata/js/runtime.js +1486 -1486
- package/htdocs/profoundui/userdata/custom/themes/enhanced.js +15 -18
- package/htdocs/profoundui/userdata/custom/themes/hybrid.js +14 -17
- package/htdocs/profoundui/userdata/custom/themes/standard.js +12 -15
- package/htdocs/profoundui/userdata/custom/widgets/googlemaps.js +26 -42
- package/htdocs/profoundui/userdata/custom/widgets/listbox.js +6 -10
- package/htdocs/profoundui/userdata/custom/widgets/panel.js +20 -29
- package/htdocs/profoundui/userdata/custom/widgets/styled_button.js +19 -26
- package/htdocs/profoundui/userdata/custom/widgets/tabpanel.js +23 -30
- package/htdocs/profoundui/userdata/genie skins/Classic/custom.js +3 -3
- package/htdocs/profoundui/userdata/genie skins/Gradient/adjusted columns custom.js +57 -57
- package/htdocs/profoundui/userdata/genie skins/Gradient/custom.js +57 -57
- package/htdocs/profoundui/userdata/genie skins/Hybrid/custom.js +135 -143
- package/htdocs/profoundui/userdata/genie skins/Plain/custom.js +1 -3
- package/htdocs/profoundui/userdata/genie skins/Skyline/adjusted columns custom.js +70 -70
- package/htdocs/profoundui/userdata/genie skins/Skyline/custom.js +69 -69
- package/htdocs/profoundui/userdata/genie skins/Tablet/custom.js +20 -56
- package/htdocs/profoundui/userdata/samples/ordentry/OrdEntry.js +26 -27
- package/htdocs/vlog/rpglog.js +47 -46
- package/htdocs/vlog/vlog.js +50 -50
- package/package.json +1 -2
- package/profound.jse +1 -1
- package/setup/pjsdist.savf +0 -0
|
@@ -1,61 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
1
|
// Example - creating a custom tab panel
|
|
4
2
|
|
|
5
|
-
|
|
6
3
|
// Add a new tab style
|
|
7
4
|
// This will appear as an option in the "tab panel style" property of a tab panel
|
|
8
5
|
pui.widgets.tabStyles["Custom Tab Panel"] = {
|
|
9
6
|
// determines if images are provided in the /images/tabs/ folder for drawing the tabs
|
|
10
7
|
useImages: false,
|
|
11
|
-
|
|
8
|
+
|
|
12
9
|
// determines the tab height in pixels
|
|
13
10
|
height: 15,
|
|
14
|
-
|
|
11
|
+
|
|
15
12
|
// default background color
|
|
16
|
-
defaultBackColor: "#FAE5AF",
|
|
17
|
-
|
|
13
|
+
defaultBackColor: "#FAE5AF",
|
|
14
|
+
|
|
18
15
|
// highlight color
|
|
19
16
|
hiColor: "#666699"
|
|
20
|
-
|
|
21
|
-
// optional parameters...
|
|
22
|
-
//hiImages: // determines if hover highlight images are provided (true/false)
|
|
23
|
-
//leftWidth: // width of the image of the left side of the tab
|
|
24
|
-
//rightWidth: // width of the image of the right side of the tab
|
|
25
|
-
//selColor: // selected color
|
|
26
|
-
//borderColor:
|
|
27
|
-
//leftMargin:
|
|
28
|
-
//hiUnderline: // true or false
|
|
29
|
-
//selBold: // bold when selected (true/false)
|
|
30
|
-
//separated: // true or false
|
|
31
|
-
//backBar: // true or false
|
|
32
|
-
//backBarColor:
|
|
33
|
-
//borderSize:
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
17
|
|
|
18
|
+
// optional parameters...
|
|
19
|
+
// hiImages: // determines if hover highlight images are provided (true/false)
|
|
20
|
+
// leftWidth: // width of the image of the left side of the tab
|
|
21
|
+
// rightWidth: // width of the image of the right side of the tab
|
|
22
|
+
// selColor: // selected color
|
|
23
|
+
// borderColor:
|
|
24
|
+
// leftMargin:
|
|
25
|
+
// hiUnderline: // true or false
|
|
26
|
+
// selBold: // bold when selected (true/false)
|
|
27
|
+
// separated: // true or false
|
|
28
|
+
// backBar: // true or false
|
|
29
|
+
// backBarColor:
|
|
30
|
+
// borderSize:
|
|
31
|
+
};
|
|
38
32
|
|
|
39
33
|
// Now, add an entry to the Widgets Toolbox
|
|
40
34
|
pui.toolbox.add({
|
|
41
35
|
// specifies category - this can be an existing category or a new one
|
|
42
36
|
// if the category does not exist, it is created on the fly
|
|
43
37
|
category: "Custom Widgets",
|
|
44
|
-
|
|
38
|
+
|
|
45
39
|
widget: "tab panel",
|
|
46
40
|
text: "Custom Tab Panel",
|
|
47
41
|
icon: "/profoundui/proddata/images/tabs/custom/icon.png",
|
|
48
|
-
|
|
42
|
+
|
|
49
43
|
// this determines the look of the drag/drop proxy as we drag the widget element off the toolbox
|
|
50
44
|
// in this case, an image of the tab panel is used
|
|
51
45
|
proxyHeight: 202,
|
|
52
46
|
proxyWidth: 302,
|
|
53
47
|
proxyHTML: '<img src="/profoundui/proddata/images/tabs/custom/proxy.png" style="height: 202px; width: 302px;">',
|
|
54
|
-
|
|
48
|
+
|
|
55
49
|
// additional default property values can be specified here
|
|
56
50
|
defaults: {
|
|
57
51
|
"tab panel style": "Custom Tab Panel"
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
});
|
|
52
|
+
}
|
|
61
53
|
|
|
54
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// eslint-disable-next-line no-unused-vars
|
|
2
2
|
function customize() {
|
|
3
|
-
|
|
4
|
-
}
|
|
3
|
+
pui["loading animation"]["css"] = "pui-classic-animation";
|
|
4
|
+
}
|
|
@@ -1,74 +1,75 @@
|
|
|
1
|
-
|
|
1
|
+
// eslint-disable-next-line no-unused-vars
|
|
2
2
|
function customize() {
|
|
3
|
-
|
|
4
3
|
// Customize Sign-On Screen
|
|
5
|
-
if (detectScreen(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
hideElements(
|
|
10
|
-
|
|
11
|
-
changeElementValue(
|
|
12
|
-
changeElementClass(
|
|
13
|
-
changeElementValue(
|
|
14
|
-
changeElementClass(
|
|
15
|
-
setDOMAttribute("D_7_16", "transparent", true);
|
|
16
|
-
setDOMAttribute("D_6_16", "transparent", true);
|
|
17
|
-
moveElement(
|
|
18
|
-
moveElement(
|
|
19
|
-
moveElement(
|
|
20
|
-
moveElement(
|
|
21
|
-
if (getObj(
|
|
22
|
-
if (getObj(
|
|
23
|
-
|
|
24
|
-
loginButton.onclick = function() {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
4
|
+
if (detectScreen("D_1_22", " Sign On",
|
|
5
|
+
"D_2_47", "System . . . . . :",
|
|
6
|
+
"D_3_47", "Subsystem . . . . :",
|
|
7
|
+
"D_4_47", "Display . . . . . :")) {
|
|
8
|
+
hideElements("D_1_22", "D_2_47", "D_3_47", "D_4_47", "D_2_69", "D_3_69", "D_4_69", "I_11_52", "I_12_52", "D_11_16", "D_12_16",
|
|
9
|
+
"D_8_16", "D_9_16", "D_10_16", "I_8_52", "I_9_52", "I_10_52", "D_24_39");
|
|
10
|
+
changeElementValue("D_6_16", " User:");
|
|
11
|
+
changeElementClass("D_6_16", "BigText");
|
|
12
|
+
changeElementValue("D_7_16", "Password:");
|
|
13
|
+
changeElementClass("D_7_16", "BigText");
|
|
14
|
+
setDOMAttribute("D_7_16", "transparent", true);
|
|
15
|
+
setDOMAttribute("D_6_16", "transparent", true);
|
|
16
|
+
moveElement("D_6_16", 9, 15);
|
|
17
|
+
moveElement("D_7_16", 11, 15);
|
|
18
|
+
moveElement("I_6_52", 8.9, 49);
|
|
19
|
+
moveElement("I_7_52", 10.9, 49);
|
|
20
|
+
if (getObj("I_6_52") != null) getObj("I_6_52").style.width = "90px";
|
|
21
|
+
if (getObj("I_7_52") != null) getObj("I_7_52").style.width = "90px";
|
|
22
|
+
const loginButton = newElement(12.7, 49, "button", "Login", "login_button");
|
|
23
|
+
loginButton.onclick = function() {
|
|
24
|
+
pressKey("Enter");
|
|
25
|
+
};
|
|
26
|
+
moveElement("quit_button", 12.7, 57);
|
|
27
|
+
changeElementValue("quit_button", "Exit");
|
|
28
|
+
const backdrop = newElement(5, 15, "img", "/profoundui/proddata/images/login.gif", "backdrop_image");
|
|
28
29
|
backdrop.style.zIndex = 5;
|
|
29
|
-
|
|
30
|
+
|
|
30
31
|
// Format signon differently when using 128 char passwords:
|
|
31
|
-
if (getObj("I_7_52")!=null
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
32
|
+
if (getObj("I_7_52") != null &&
|
|
33
|
+
getObj("I_8_0") != null &&
|
|
34
|
+
getObj("I_9_0") != null) {
|
|
35
|
+
let pwlength = 0;
|
|
36
|
+
pwlength = getObj("I_7_52").fieldInfo.size;
|
|
37
|
+
pwlength += getObj("I_8_0").fieldInfo.size;
|
|
38
|
+
pwlength += getObj("I_9_0").fieldInfo.size;
|
|
39
|
+
if (pwlength == 128) {
|
|
40
|
+
moveElement("D_6_16", 6.9, 15);
|
|
41
|
+
moveElement("D_7_16", 8.9, 15);
|
|
42
|
+
moveElement("I_6_52", 6.9, 49);
|
|
43
|
+
moveElement("I_7_52", 8.9, 49);
|
|
44
|
+
moveElement("I_8_0", 10, 49);
|
|
45
|
+
moveElement("I_9_0", 11.1, 49);
|
|
46
|
+
getObj("I_7_52").style.width = "150px";
|
|
47
|
+
getObj("I_8_0").style.width = "150px";
|
|
48
|
+
getObj("I_9_0").style.width = "150px";
|
|
49
|
+
}
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
if (msg!=
|
|
51
|
+
|
|
52
|
+
const msg = get("D_24_0");
|
|
53
|
+
if (msg != "" && pui.genie.alertMsg == "") {
|
|
53
54
|
pui.genie.alertMsg = msg;
|
|
54
|
-
if (pui.genie.alertMsg.substr(0,3) ==
|
|
55
|
-
if (pui.genie.alertMsg.substr(0,1) ==
|
|
55
|
+
if (pui.genie.alertMsg.substr(0, 3) == "CPF") pui.genie.alertMsg = pui.genie.alertMsg.substr(8);
|
|
56
|
+
if (pui.genie.alertMsg.substr(0, 1) == "-") pui.genie.alertMsg = pui.genie.alertMsg.substr(1);
|
|
56
57
|
}
|
|
57
|
-
hideElement(
|
|
58
|
+
hideElement("D_24_0");
|
|
58
59
|
}
|
|
59
60
|
else {
|
|
60
|
-
// Otherwise place currently signed on user name into header.
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
// Otherwise place currently signed on user name into header.
|
|
62
|
+
const userSpan = getObj("userSpan");
|
|
63
|
+
let user = pui["appJob"]["user"];
|
|
63
64
|
if (user == null) user = "";
|
|
64
65
|
userSpan.innerHTML = "Welcome " + user;
|
|
65
66
|
}
|
|
66
|
-
|
|
67
|
+
|
|
67
68
|
// Customize 132x27 mode
|
|
68
|
-
if (pui.genie.displaySize==132 && !pui.genie.config.useAjax) {
|
|
69
|
+
if (pui.genie.displaySize == 132 && !pui.genie.config.useAjax) {
|
|
69
70
|
pui.genie.middleDiv.style.height = "640px";
|
|
70
71
|
getObj("5250").style.position = "absolute";
|
|
71
|
-
|
|
72
|
+
let position = (screen.width - 1060) / 2;
|
|
72
73
|
if (position < 0) position = 0;
|
|
73
74
|
getObj("5250").style.left = position + "px";
|
|
74
75
|
}
|
|
@@ -79,5 +80,4 @@ function customize() {
|
|
|
79
80
|
getObj("5250").style.left = "";
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
|
|
83
83
|
}
|
|
@@ -1,74 +1,75 @@
|
|
|
1
|
-
|
|
1
|
+
// eslint-disable-next-line no-unused-vars
|
|
2
2
|
function customize() {
|
|
3
|
-
|
|
4
3
|
// Customize Sign-On Screen
|
|
5
|
-
if (detectScreen(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
hideElements(
|
|
10
|
-
|
|
11
|
-
changeElementValue(
|
|
12
|
-
changeElementClass(
|
|
13
|
-
changeElementValue(
|
|
14
|
-
changeElementClass(
|
|
15
|
-
setDOMAttribute("D_7_17", "transparent", true);
|
|
16
|
-
setDOMAttribute("D_6_17", "transparent", true);
|
|
17
|
-
moveElement(
|
|
18
|
-
moveElement(
|
|
19
|
-
moveElement(
|
|
20
|
-
moveElement(
|
|
21
|
-
if (getObj(
|
|
22
|
-
if (getObj(
|
|
23
|
-
|
|
24
|
-
loginButton.onclick = function() {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
4
|
+
if (detectScreen("D_1_23", " Sign On",
|
|
5
|
+
"D_2_48", "System . . . . . :",
|
|
6
|
+
"D_3_48", "Subsystem . . . . :",
|
|
7
|
+
"D_4_48", "Display . . . . . :")) {
|
|
8
|
+
hideElements("D_1_23", "D_2_48", "D_3_48", "D_4_48", "D_2_70", "D_3_70", "D_4_70", "I_11_53", "I_12_53", "D_11_17", "D_12_17",
|
|
9
|
+
"D_8_17", "D_9_17", "D_10_17", "I_8_53", "I_9_53", "I_10_53", "D_24_40");
|
|
10
|
+
changeElementValue("D_6_17", " User:");
|
|
11
|
+
changeElementClass("D_6_17", "BigText");
|
|
12
|
+
changeElementValue("D_7_17", "Password:");
|
|
13
|
+
changeElementClass("D_7_17", "BigText");
|
|
14
|
+
setDOMAttribute("D_7_17", "transparent", true);
|
|
15
|
+
setDOMAttribute("D_6_17", "transparent", true);
|
|
16
|
+
moveElement("D_6_17", 8.9, 15);
|
|
17
|
+
moveElement("D_7_17", 10.9, 15);
|
|
18
|
+
moveElement("I_6_53", 8.9, 49);
|
|
19
|
+
moveElement("I_7_53", 10.9, 49);
|
|
20
|
+
if (getObj("I_6_53") != null) getObj("I_6_53").style.width = "90px";
|
|
21
|
+
if (getObj("I_7_53") != null) getObj("I_7_53").style.width = "90px";
|
|
22
|
+
const loginButton = newElement(12.7, 49, "button", "Login", "login_button");
|
|
23
|
+
loginButton.onclick = function() {
|
|
24
|
+
pressKey("Enter");
|
|
25
|
+
};
|
|
26
|
+
moveElement("quit_button", 12.7, 57);
|
|
27
|
+
changeElementValue("quit_button", "Exit");
|
|
28
|
+
const backdrop = newElement(5, 15, "img", "/profoundui/proddata/images/login.gif", "backdrop_image");
|
|
28
29
|
backdrop.style.zIndex = 5;
|
|
29
|
-
|
|
30
|
+
|
|
30
31
|
// Format signon differently when using 128 char passwords:
|
|
31
|
-
if (getObj("I_7_53")!=null
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
32
|
+
if (getObj("I_7_53") != null &&
|
|
33
|
+
getObj("I_8_1") != null &&
|
|
34
|
+
getObj("I_9_1") != null) {
|
|
35
|
+
let pwlength = 0;
|
|
36
|
+
pwlength = getObj("I_7_53").fieldInfo.size;
|
|
37
|
+
pwlength += getObj("I_8_1").fieldInfo.size;
|
|
38
|
+
pwlength += getObj("I_9_1").fieldInfo.size;
|
|
39
|
+
if (pwlength == 128) {
|
|
40
|
+
moveElement("D_6_17", 6.9, 15);
|
|
41
|
+
moveElement("D_7_17", 8.9, 15);
|
|
42
|
+
moveElement("I_6_53", 6.9, 49);
|
|
43
|
+
moveElement("I_7_53", 8.9, 49);
|
|
44
|
+
moveElement("I_8_1", 10, 49);
|
|
45
|
+
moveElement("I_9_1", 11.1, 49);
|
|
46
|
+
getObj("I_7_53").style.width = "150px";
|
|
47
|
+
getObj("I_8_1").style.width = "150px";
|
|
48
|
+
getObj("I_9_1").style.width = "150px";
|
|
49
|
+
}
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
if (msg!=
|
|
51
|
+
|
|
52
|
+
const msg = get("D_24_1");
|
|
53
|
+
if (msg != "" && pui.genie.alertMsg == "") {
|
|
53
54
|
pui.genie.alertMsg = msg;
|
|
54
|
-
if (pui.genie.alertMsg.substr(0,3) ==
|
|
55
|
-
if (pui.genie.alertMsg.substr(0,1) ==
|
|
55
|
+
if (pui.genie.alertMsg.substr(0, 3) == "CPF") pui.genie.alertMsg = pui.genie.alertMsg.substr(8);
|
|
56
|
+
if (pui.genie.alertMsg.substr(0, 1) == "-") pui.genie.alertMsg = pui.genie.alertMsg.substr(1);
|
|
56
57
|
}
|
|
57
|
-
hideElement(
|
|
58
|
+
hideElement("D_24_1");
|
|
58
59
|
}
|
|
59
60
|
else {
|
|
60
|
-
// Otherwise place currently signed on user name into header.
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
// Otherwise place currently signed on user name into header.
|
|
62
|
+
const userSpan = getObj("userSpan");
|
|
63
|
+
let user = pui["appJob"]["user"];
|
|
63
64
|
if (user == null) user = "";
|
|
64
65
|
userSpan.innerHTML = "Welcome " + user;
|
|
65
66
|
}
|
|
66
|
-
pui["loading animation"]["css"] =
|
|
67
|
+
pui["loading animation"]["css"] = "pui-gradient-animation";
|
|
67
68
|
// Customize 132x27 mode
|
|
68
|
-
if (pui.genie.displaySize==132 && !pui.genie.config.useAjax) {
|
|
69
|
+
if (pui.genie.displaySize == 132 && !pui.genie.config.useAjax) {
|
|
69
70
|
pui.genie.middleDiv.style.height = "640px";
|
|
70
71
|
getObj("5250").style.position = "absolute";
|
|
71
|
-
|
|
72
|
+
let position = (screen.width - 1060) / 2;
|
|
72
73
|
if (position < 0) position = 0;
|
|
73
74
|
getObj("5250").style.left = position + "px";
|
|
74
75
|
}
|
|
@@ -79,5 +80,4 @@ function customize() {
|
|
|
79
80
|
getObj("5250").style.left = "";
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
|
|
83
83
|
}
|