cavalion-vcl 1.1.62 → 1.1.63

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/.md CHANGED
@@ -1,13 +1,22 @@
1
1
  * [CHANGELOG.md]() - [README.md]() - [package.json]()
2
2
  * [Workspace<vcl>](/Library/vcl-comps/devtools/Workspace$/vcl.js)
3
3
 
4
+ # `0519` vcl/Factory
5
+
6
+ * how is the implicit base determined in `["", {}, []]`
7
+
8
+ >> require("vcl/Factory!devtools/App<code>");
9
+ => Factory.load
10
+ => Factory.prototype.load
11
+
4
12
  # `0417` prototypes
5
13
 
6
- > * [App](src/prototypes/:.js) - << _#window is instantiated here (weirdly not in .desktop)_
14
+ > * [App](src/prototypes/:.js) - <= _#window is instantiated here (weirdly not in .desktop)_
7
15
  * [.console](src/prototypes/App:.js) << _hotkeys_ _probably deprecated_
8
16
  * [.desktop](src/prototypes/App:.js) << _#client [ui/forms/Portal<>]()_ _used at all?_
9
17
  * [.framework7](src/prototypes/App:.js) -[.scaffold](src/prototypes/App:.js)
10
- * [.v1](src/prototypes/App:.js) - << _#client [ui/forms/Portal<>]()_ _(used by cavalion-code and veldoffice-vcl-comps)_
18
+ * [.v1](src/prototypes/App:.js) - <= _#client [ui/forms/Portal<>]()_ _(used by cavalion-code and veldoffice-vcl-comps)_
19
+ * [.v2](src/prototypes/App:.js) - <= _Main<>_
11
20
  * [.glassy](src/prototypes/App:.js) [.openform](src/prototypes/App:.js) [.toast](src/prototypes/App:.js)
12
21
  * [ui](src/prototypes/:/)
13
22
  * [Form](src/prototypes/ui/:.js) - [forms](src/prototypes/ui/:/)
package/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 2022/05/31 - 1.1.63
2
+
3
+ * 837510b - fixes document.title bug
4
+ * [prototypes/ui/forms/Portal](src/:.js)
5
+
1
6
  ### 2022/05/02 - 1.1.62
2
7
 
3
8
  * 4de4125 - Clogging
@@ -7,7 +12,6 @@
7
12
  ### 2022/04/25 - 1.1.61
8
13
 
9
14
  * √ CVLN-20220429-2
10
-
11
15
  * 3a78624 - ui/List: onNodeCreated was triggered while visible=false
12
16
  * c7288af - prototypes/App<>: further implementing/refactoring App.glassy
13
17
  * 849fc6c - vcl/Application: Making sure app is #0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cavalion-vcl",
3
- "version": "1.1.62",
3
+ "version": "1.1.63",
4
4
  "description": "Visual Component Library for vcl-comps",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Control.js CHANGED
@@ -1642,7 +1642,7 @@ this._updateCalls = this._updateCalls || 0; this._updateCalls++;
1642
1642
  if(value) {
1643
1643
  this.setFocus();
1644
1644
  } else {
1645
- this.blur();
1645
+ this.blur(); // setFocus(false) - this seems broken
1646
1646
  }
1647
1647
  },
1648
1648
  getDraggable: function() {
@@ -10,6 +10,9 @@ var FormContainer = require("vcl/ui/FormContainer");
10
10
  var img = document.body.childNodes[0];
11
11
  if(img && img.nodeName === "IMG") {
12
12
  img.parentNode.removeChild(img);
13
+ } else {
14
+ img = document.body.querySelector("img.loading_");
15
+ img && img.parentNode.removeChild(img);
13
16
  }
14
17
 
15
18
  var scope = this.scope(), delegate;
@@ -176,13 +176,7 @@ var Component = require("vcl/Component");
176
176
 
177
177
  this.override({
178
178
  setCaption: function (value) {
179
- this.setTimeout("updateCaption", function() {
180
- if(value.indexOf("<i") === 0) {
181
- // alert(value);
182
- value = value.substring(value.indexOf("</i>") + 5);
183
- }
184
- document.title = String.format("%s", value);
185
- }, 250);
179
+ this.setTimeout("updateCaption", () => document.title = String.format("%s", value), 250);
186
180
  return this.inherited(arguments);
187
181
  }
188
182
  });
@@ -292,6 +286,7 @@ var Component = require("vcl/Component");
292
286
  uri = uri.replace(/<>/, "<" + keys.specializer + ">");
293
287
  }
294
288
 
289
+ tab.setTextReflects("innerHTML");
295
290
  tab.override({
296
291
  setText: function () {
297
292
  var r = this.inherited(arguments);
package/src/ui/Tabs.js CHANGED
@@ -16,7 +16,7 @@ define(function(require) {
16
16
  'padding-left': "2px",
17
17
  'padding-bottom': "0",
18
18
 
19
- 'z-index': "999", // Ace really f's things up
19
+ // 'z-index': "999", // Ace really f's things up
20
20
 
21
21
  "&.gradient":{
22
22
  "background-image": "-webkit-gradient(linear, 0% 0%, 0% 100%, from(#F5F5F5), to(#E5E5E5))",