cavalion-vcl 1.1.75 → 1.1.77

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/.js ADDED
@@ -0,0 +1,37 @@
1
+ var require = window.require;
2
+ var Factory = require("vcl/Factory");
3
+ var Factory_require = Factory.require;
4
+
5
+ Factory.unreq = (name) => {
6
+ // var factory;
7
+ // try {
8
+ var factory = require(String.format("vcl/Factory!%s", name));
9
+ // } catch(e) {
10
+ // this.print(e);
11
+ // return;
12
+ // }
13
+
14
+ requirejs.undef(Factory.makeTextUri(factory._uri));
15
+ requirejs.undef(String.format("vcl/Factory!%s", factory._uri));
16
+
17
+ this.print("unreq'd", factory);
18
+
19
+ var factories = factory._root.inherits;
20
+ factories && factories.forEach(function(name) {
21
+ Factory.unreq(name);
22
+ });
23
+
24
+ return [name].concat(factories);
25
+ };
26
+
27
+ Factory.require = (name, callback, failback) => {
28
+ Factory_require(name, callback, failback);
29
+ if(typeof name === "string") {
30
+ this.print("req'd", name);
31
+ }
32
+ };
33
+
34
+ ({
35
+ texts: Object.keys(window.require.s.contexts._.defined).filter(s => s.startsWith("text!") && s.includes("devtools")),
36
+ factories: Object.keys(window.require.s.contexts._.defined).filter(s => s.startsWith("vcl/Factory!") && s.includes("devtools"))
37
+ });
package/.md CHANGED
@@ -1,19 +1,10 @@
1
1
  * [CHANGELOG.md]() - [README.md]() -[SNIPPETS.md]()
2
2
  * [.js]() - [src](:/) - [package.json]()
3
3
 
4
- # `2023/06/22` No dragend event?
5
-
6
- ![9wFwme](https://raw.githubusercontent.com/relluf/screenshots/master/uPic/9wFwme.png)
7
-
8
- # `2023/05/12` Gelijk trekken textRenders en rendering
9
-
10
- * Control vs ListColumn?
4
+ > * [sampleapp](#workspace-open::)
5
+ * [index.md]()
11
6
 
12
- # `2023/05/11` up() does not find closeable nodes
13
-
14
- Sigh! The infamous vcl/ui/Node.closeable seems to bite me in the ass.
15
-
16
- * **Solution**: Use [Node-closeable](src/vcl/ui/:.js) instead
7
+ * `textRenders` vs `rendering` - properties
17
8
 
18
9
  # cavalion-vcl / classes
19
10
 
@@ -66,6 +57,24 @@ Sigh! The infamous vcl/ui/Node.closeable seems to bite me in the ass.
66
57
  * [Query](src/prototypes/ui/entities/:.js) - [.scaffold](src/prototypes/ui/entities/Query:.js) - [scaffold.future](src/prototypes/ui/entities/Query:.js)
67
58
  * [QueryFilters](src/prototypes/ui/entities/:.js)
68
59
 
60
+ # `2023/07/06` Factory.unreq
61
+
62
+ * [.js]()
63
+
64
+ # `2023/06/22` No dragend event?
65
+
66
+ ![9wFwme](https://raw.githubusercontent.com/relluf/screenshots/master/uPic/9wFwme.png)
67
+
68
+ # `2023/05/12` Gelijk trekken textRenders en rendering
69
+
70
+ * Control vs ListColumn?
71
+
72
+ # `2023/05/11` up() does not find closeable nodes
73
+
74
+ Sigh! The infamous vcl/ui/Node.closeable seems to bite me in the ass.
75
+
76
+ * **Solution**: Use [Node-closeable](src/vcl/ui/:.js) instead
77
+
69
78
  # cavalion-entities // va-objects
70
79
 
71
80
  * Interpret, modify, kvp via a model