cavalion-js 1.0.83 → 1.0.85
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 +5 -3
- package/CHANGELOG.md +199 -96
- package/chloggen.md +1263 -0
- package/package.json +1 -1
- package/src/console/node/vcl/Component.js +14 -6
- package/src/entities/EM.js +25 -14
- package/src/entities/expand.js +146 -0
- package/src/js/_js.js +30 -5
- package/src/js/extensions.js +217 -148
- package/src/js/extensions.js- +516 -0
- package/src/js/nameOf.js +15 -7
- package/src/js/serialize.js +92 -13
- package/src/locale.js +10 -3
- package/src/stylesheet.js +3 -3
- package/src/util/Browser.js +19 -0
- package/src/util/Clipboard.js +7 -1
- package/src/util/EventEmitter.js +32 -0
- package/src/util/HtmlElement.js +24 -0
- package/src/util/Queue.js +52 -0
package/.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
* [CHANGELOG.md]() - [README.md]() - [package.json]() - [PROMPT.md]()
|
|
2
|
+
* [chloggen.md]()
|
|
2
3
|
|
|
3
4
|
# cavalion-js
|
|
4
5
|
|
|
@@ -8,10 +9,10 @@
|
|
|
8
9
|
* [src](:/)
|
|
9
10
|
* **[console](src/:/)**
|
|
10
11
|
* **[data](src/:/)** - [design](src/:/)
|
|
11
|
-
* **[entities](src/:/)** - [entities.js](src/) - [features](src/:/)
|
|
12
|
+
* **[entities](src/:/)** - [entities.js](src/:) - [expand.js](src/entities/:) - [features](src/:/)
|
|
12
13
|
* [js](src/:/) / [\_js.js](src/js/:) - [extensions.js](src/js/:) - _[global.js](src/js/:)_? - _[define.js](src/js/:)?_
|
|
13
14
|
- [defineClass.js](src/js/:) - [referenceClass.js](src/js/:)
|
|
14
|
-
- **[JsObject.js](src/js/:) - [Class.js](src/js/:)
|
|
15
|
+
- **[JsObject.js](src/js/:)** - **[Class.js](src/js/:)**
|
|
15
16
|
- [json.js](src/:) - [locale.js](src/:) - [text.js](src/:)
|
|
16
17
|
- [script.js](src/:) - [relscript.js](src/:)
|
|
17
18
|
- [stylesheet.js](src/:)
|
|
@@ -26,10 +27,11 @@
|
|
|
26
27
|
- [Ajax.js](src/util/:) - [Command.js](src/util/:)
|
|
27
28
|
- [Browser.js](src/util/:) - [CssSelectorParser.js](src/util/:)
|
|
28
29
|
- [Clipboard.js](src/util/:)
|
|
29
|
-
- [DocumentHook.js](src/util/:) - [Event.js](src/util/:) - [Fullscreen.js](src/util/:)
|
|
30
|
+
- [DocumentHook.js](src/util/:) - [Event.js](src/util/:) - [EventEmitter.js](src/util/:) - [Fullscreen.js](src/util/:)
|
|
30
31
|
- [HotkeyManager.js](src/util/:) - [HtmlElement.js](src/util/:)
|
|
31
32
|
- [Hash.js](src/util/:)
|
|
32
33
|
- [Keyboard.js](src/util/:)
|
|
34
|
+
- [Queue.js](src/util/:)
|
|
33
35
|
- [Rest.js](src/util/:)
|
|
34
36
|
- [Stylesheet.js](src/util/:)
|
|
35
37
|
- [Text.js](src/util/:)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,91 +1,194 @@
|
|
|
1
|
-
###
|
|
1
|
+
### `2026/03/16` 1.0.85 Formatting and entity expansion updates
|
|
2
|
+
|
|
3
|
+
**console/node/vcl/Component.js**:
|
|
4
|
+
|
|
5
|
+
* Adds root-component console rendering with `uri#hashCode`
|
|
6
|
+
* Keeps non-root `Component` labels unchanged; still shows `:root` and `:selected` markers.
|
|
7
|
+
* **Breaking**: code using `expand.Entity(...)` must migrate to `expand.newEntity(...)`.
|
|
8
|
+
|
|
9
|
+
**entities/expand.js**:
|
|
10
|
+
|
|
11
|
+
* Renames `expand.Entity` to `expand.newEntity` in
|
|
12
|
+
* Adds `expand.DefaultEntity` for generic alias-based `join()` and `expand()` behavior.
|
|
13
|
+
* Improves `expand.attributes4()` fallback handling for unknown entity relations and single-item tuple paths.
|
|
14
|
+
* Extends `prefixId()` to preserve `count:id` selectors without prepending `id,`.
|
|
15
|
+
|
|
16
|
+
**js/_js.js**:
|
|
17
|
+
|
|
18
|
+
* Adds `js.qq(a, b)` for nullish fallback values.
|
|
19
|
+
* Fixes `String.format()` width and padding behavior for `%d`, including negative zero-padded numbers.
|
|
20
|
+
* Fixes `String.format()` float formatting for `%f`, including width, precision, and negative values.
|
|
21
|
+
* Fixes string alignment in `String.format()` for `%s`/`%H`/`%n`; left/right padding now behaves consistently.
|
|
22
|
+
* Improves `%` specifier parsing to stop safely at end-of-format input.
|
|
23
|
+
* Adjusts numeric formatting to return the original positive value when fixed `"0000"` formatting collapses to `"0"`.
|
|
24
|
+
|
|
25
|
+
**locale.js**:
|
|
26
|
+
|
|
27
|
+
* Adds `locale.prefixed(...).prefixed(...)` chaining in `src/locale.js`.
|
|
28
|
+
* Fixes prefixed locale fallback output so missing keys do not duplicate the prefix.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### `2026/02/05` Introducing entities.expand
|
|
32
|
+
|
|
33
|
+
It turns `expand.js` from a small “string builder” helper into a mini expansion/join framework.
|
|
34
|
+
|
|
35
|
+
* **Before:** the module essentially returned a function that, given an attribute (or list of attributes) plus a `path`, produced strings like `path.attr`, with some support for comma lists, aliases (`"id foo"`), and typed prefixes (`"Type:attr"`). Arrays were turned into a **comma-joined string**.
|
|
36
|
+
|
|
37
|
+
* **Now:** it exports a reusable `expand(expanderFn, as, path)` function plus an **`Entity` factory** (`expand.Entity(...)`) that builds an object representing an entity with:
|
|
38
|
+
|
|
39
|
+
* **Named expanders** generated from a `paths` map (so you can call `Entity.bedrijf("id")` and get `meetpunt.onderzoek.bedrijf.id`).
|
|
40
|
+
* A **`join(alias, attributes)`** method that resolves a join alias (case-insensitive) to one of those expanders via a mapping; unknown aliases now **throw an error**.
|
|
41
|
+
* An **`expand(...)`** convenience method that expands multiple attributes using `expand.attributes4(...)`.
|
|
42
|
+
|
|
43
|
+
* **Normalization changes:**
|
|
44
|
+
|
|
45
|
+
* Comma-separated strings are split and **trimmed**.
|
|
46
|
+
* If `as` is an array, it maps each item through the expander and returns an **array** (not a comma-joined string).
|
|
47
|
+
* There’s a helper that **auto-prefixes `"id"`** (e.g., ensures `"id"` is included in expansions) and supports mixed input shapes (strings and `[expanderName, attrs]` tuples).
|
|
48
|
+
|
|
49
|
+
Overall, it standardizes how “expand fields” and “join expansions” are defined and executed, moving from ad-hoc string concatenation to an entity-centric API with explicit alias resolution and stricter error handling.
|
|
50
|
+
|
|
51
|
+
### `2026/01/18` - 1.0.84
|
|
52
|
+
|
|
53
|
+
EM now uses the browser’s fetch API instead of jQuery.
|
|
54
|
+
|
|
55
|
+
Serialization/deserialization is reworked to support circular references via reference tracking, and small usability helpers were added for clipboard text access and synchronizing element CSS classes.
|
|
56
|
+
|
|
57
|
+
Several core methods were changed and/or expanded:
|
|
58
|
+
|
|
59
|
+
* grouping can be keyed by a function,
|
|
60
|
+
* identity lookups are supported,
|
|
61
|
+
* sorting and number formatting are more defensive,
|
|
62
|
+
* and naming heuristics recognize more label-like fields.
|
|
63
|
+
|
|
64
|
+
#### New
|
|
65
|
+
|
|
66
|
+
* **[entities/expand.js](src/:)** adds a helper that expands an “as” spec into a mapped string: it accepts a single value, a comma-list, or an array, and supports optional aliasing and `ns:path.field` formatting.
|
|
67
|
+
* **[util/Queue.js](src/:)** adds a promise-based FIFO queue with a **concurrency limit**, plus `whenIdle()` to await drain. z
|
|
68
|
+
* **[util/EventEmitter.js](src/:)** adds a lightweight event-emitter mixin (`on`, `un`, `once`, `emit`) that stores handlers on a configurable property (default `"handlers"`).
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
#### Label support + minor fallback tweak
|
|
72
|
+
|
|
73
|
+
- Improves [nameOf.js](src/js/:) value selection to also consider `label` alongside existing name/description fields.
|
|
74
|
+
- Keeps existing priority order (`id*` → remark → name-ish → title-ish), now including `label` in both lower/upper-case variants.
|
|
75
|
+
- Tweaks the no-constructor fallback string from `"<Native?>"` to `"<Native<?>>"`.
|
|
76
|
+
- Adds inline notes for a potential future recursion/cycle-safe naming helper (comment-only, no behavior change).
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
#### Safer generalized sorting + numeric formatting guard
|
|
80
|
+
|
|
81
|
+
- Makes `Array.sortValues` definition conditional (only defines it if not already present).
|
|
82
|
+
- Introduces explicit type-priority ordering for mixed-type sorts (undefined/null/boolean/number/string/object/function/symbol).
|
|
83
|
+
- Adds special-case comparison for arrays: sorts by `length` when both operands are arrays.
|
|
84
|
+
- Normalizes comparator return values to `-1/0/1` for stability and consistent ordering.
|
|
85
|
+
- Hardens object comparison by wrapping `stringify(...)` in try/catch and logging failures instead of throwing.
|
|
86
|
+
- Adds a fallback branch for unhandled types in `sortValues` (warns and returns equality).
|
|
87
|
+
- Updates `Math.f(n, d)` to only apply formatting heuristics when `n` is numeric; otherwise returns `n` unchanged.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
#### Changes
|
|
91
|
+
|
|
92
|
+
- Refactors `EM.query(...)` in `src/entities/EM.js` to use `fetch` + `URLSearchParams` instead of `jquery.ajax`.
|
|
93
|
+
- Extends `js.groupBy(arr, key)` to accept a key function in `src/js/_js.js`.
|
|
94
|
+
- Breaking: switches `js.sj` / `js.pj` from `JSON.stringify` / `JSON.parse` to `serialize.serialize` / `serialize.deserialize` (handles `$ref` circular references).
|
|
95
|
+
- Adds `js.get(".")` to return the input object unchanged (identity accessor).
|
|
96
|
+
- Makes `Array.sortValues` definition conditional and adds type-aware ordering + array-length comparison in `src/js/extensions.js`.
|
|
97
|
+
- Hardens `Math.f(n, d)` to only apply string-based formatting when `n` is numeric; otherwise returns input unchanged.
|
|
98
|
+
- Expands `js.nameOf(...)` matching to include `label` fields and adjusts “native” fallback string to `"<Native<?>>"`.
|
|
99
|
+
- Replaces `src/js/serialize.js` export with `{ serialize, deserialize, isKeyword, keyNeedsEscape }` and implements `$ref`-based encode/decode for repeated objects.
|
|
100
|
+
- Adds `Clipboard.getText()` / `Clipboard.setText()` aliases and extends `Clipboard.paste(cb)` to optionally callback with pasted text.
|
|
101
|
+
- Adds `HtmlElement.syncClasses(node, classes, values)` to toggle CSS classes from booleans/functions and return changed class names.
|
|
102
|
+
- Applies minor style/semicolon fixes in `src/stylesheet.js`; adds commented Chrome iframe resize hack in `src/util/Browser.js` (no runtime change).
|
|
103
|
+
|
|
104
|
+
### `2025/04/03` - 1.0.83
|
|
2
105
|
|
|
3
106
|
* Introduces Array.moveItem
|
|
4
107
|
* Updates js.set to handle escaped dots properly
|
|
5
108
|
* Adds a delay of 2750ms before refresing LESS definitions
|
|
6
109
|
|
|
7
|
-
### 2024/11/08 - 1.0.82
|
|
110
|
+
### `2024/11/08` - 1.0.82
|
|
8
111
|
|
|
9
112
|
* Service build in favor of cavalion-code
|
|
10
113
|
|
|
11
|
-
### 2024/11/01 - 1.0.81
|
|
114
|
+
### `2024/11/01` - 1.0.81
|
|
12
115
|
|
|
13
116
|
* Adds Array.sortValues
|
|
14
117
|
* Adds Date.format (USE IT! ;-))
|
|
15
118
|
* Fixes/prepares js.nameOf() for some exotic use case with dropped files
|
|
16
119
|
|
|
17
|
-
### 2024/07/07 - 1.0.79
|
|
120
|
+
### `2024/07/07` - 1.0.79
|
|
18
121
|
|
|
19
122
|
* Removes `Array.prototype.last` and -`first`
|
|
20
123
|
* Improves beautifying XML sources and error detection during (uhm)
|
|
21
124
|
|
|
22
|
-
### 2024/05/16 - 1.0.78
|
|
125
|
+
### `2024/05/16` - 1.0.78
|
|
23
126
|
|
|
24
127
|
* Adds Array.fn.nonNil
|
|
25
128
|
* Introduces js.eval
|
|
26
129
|
|
|
27
|
-
### 2024/03/24 - 1.0.77
|
|
130
|
+
### `2024/03/24` - 1.0.77
|
|
28
131
|
|
|
29
132
|
* Introduces util/Text
|
|
30
133
|
|
|
31
|
-
### 2023/09/30 - 1.0.76
|
|
134
|
+
### `2023/09/30` - 1.0.76
|
|
32
135
|
|
|
33
136
|
* Fixes a solid bug, in _JsObject.prototype.setProperties()_, sure why not?
|
|
34
137
|
|
|
35
|
-
### 2023/06/30 - 1.0.75
|
|
138
|
+
### `2023/06/30` - 1.0.75
|
|
36
139
|
|
|
37
140
|
* Introduces locales.mixIn, prefixed.has()
|
|
38
141
|
* Ensures that Printer.prottype.print returns the printed value
|
|
39
142
|
* Refactores String.escape to use JSON.stringify
|
|
40
143
|
|
|
41
|
-
### 2023/06/30 - 1.0.74
|
|
144
|
+
### `2023/06/30` - 1.0.74
|
|
42
145
|
|
|
43
146
|
* Introduces `locale.has()`
|
|
44
147
|
|
|
45
|
-
### 2023/03/01 - 1.0.73
|
|
148
|
+
### `2023/03/01` - 1.0.73
|
|
46
149
|
|
|
47
150
|
* Introduces `js.mi` alias for `js.mixIn`
|
|
48
151
|
* Fixes a bug in `js.sf` (ie. String.format) where specifiers where not handled correctly for %X.Yf like formats
|
|
49
152
|
|
|
50
|
-
### 2022/11/15 - 1.0.72
|
|
153
|
+
### `2022/11/15` - 1.0.72
|
|
51
154
|
|
|
52
155
|
* DocumentHook: Adds the events onmouseover and onmouseout
|
|
53
156
|
|
|
54
|
-
### 2022/11/07
|
|
157
|
+
### `2022/11/07`
|
|
55
158
|
|
|
56
159
|
* Adds `js.waitAll()`
|
|
57
160
|
|
|
58
|
-
### 2022/07/28 10/29 - 1.0.71
|
|
161
|
+
### `2022/07/28` 10/29 - 1.0.71
|
|
59
162
|
|
|
60
163
|
* Adjusts/enhances `js.groupBy()` to use js.get(key,obj) in case obj doesn't have key
|
|
61
164
|
* !!!???? Implements the support for falling back automatically ([CVLN-20220901-2-](/Dropbox-cavalion/Issues/:/))
|
|
62
165
|
fixes a bug where falling back on wildcarded terms was not working correctly
|
|
63
166
|
|
|
64
|
-
### 2022/07/28 - 1.0.70
|
|
167
|
+
### `2022/07/28` - 1.0.70
|
|
65
168
|
|
|
66
169
|
* 2bb8d17 - updates/commits code that has been shipped for months now
|
|
67
170
|
* dc8fb8d - enhances js.groupBy for grouping on multiple attributes
|
|
68
171
|
* caa9abc - adds hint parameter to js.nameOf
|
|
69
172
|
* 004cc0f - clogs the latest changes
|
|
70
173
|
|
|
71
|
-
### 2022/03/28 - 1.0.69
|
|
174
|
+
### `2022/03/28` - 1.0.69
|
|
72
175
|
|
|
73
176
|
* e3ce126 - Clogging
|
|
74
177
|
* 0d7badc - js/JsObject: Still refactoring [all !==> references (!)]
|
|
75
178
|
|
|
76
|
-
### 2022/03/28 - 1.0.68
|
|
179
|
+
### `2022/03/28` - 1.0.68
|
|
77
180
|
|
|
78
181
|
* Updating
|
|
79
182
|
|
|
80
|
-
### 2022/01/02 - 1.0.67
|
|
183
|
+
### `2022/01/02` - 1.0.67
|
|
81
184
|
|
|
82
185
|
* Introducing `js.nameOf.methods.set(name, impl)` - it allows for overriding/extending a certain method iteratively
|
|
83
186
|
|
|
84
|
-
### 2021/12/17 - 1.0.66
|
|
187
|
+
### `2021/12/17` - 1.0.66
|
|
85
188
|
|
|
86
189
|
- Enhancing `locale`, now supporting references with the ::-prefix
|
|
87
190
|
|
|
88
|
-
### 2021/10/09 - 1.0.65
|
|
191
|
+
### `2021/10/09` - 1.0.65
|
|
89
192
|
|
|
90
193
|
- Now supporting the following patterns:
|
|
91
194
|
|
|
@@ -94,84 +197,84 @@ fixes a bug where falling back on wildcarded terms was not working correctly
|
|
|
94
197
|
|
|
95
198
|
Not sure what todo with the default yet.
|
|
96
199
|
|
|
97
|
-
### 2021/09/18 - 1.0.64
|
|
200
|
+
### `2021/09/18` - 1.0.64
|
|
98
201
|
|
|
99
202
|
- Introducing `String.decamelize = String.decamelcase`
|
|
100
203
|
|
|
101
|
-
### 2021/06/21 - 1.0.63
|
|
204
|
+
### `2021/06/21` - 1.0.63
|
|
102
205
|
- Introducing `js.groupBy()`
|
|
103
206
|
|
|
104
|
-
### 2021/03/12 - 1.0.62
|
|
207
|
+
### `2021/03/12` - 1.0.62
|
|
105
208
|
- util/Xml: Introducing `jsonfy()`
|
|
106
209
|
|
|
107
|
-
### 2021/02/07 - 1.0.61
|
|
210
|
+
### `2021/02/07` - 1.0.61
|
|
108
211
|
- locale: Fix for using /-prefixed paths
|
|
109
212
|
|
|
110
|
-
### 2021/01/24 - 1.0.60
|
|
213
|
+
### `2021/01/24` - 1.0.60
|
|
111
214
|
- Adding extensions to Math in order to deal with floating points
|
|
112
215
|
|
|
113
|
-
### 2021/01/22 - 1.0.59
|
|
216
|
+
### `2021/01/22` - 1.0.59
|
|
114
217
|
* Introducing `js.trim()` - get rid of undefined keys
|
|
115
218
|
|
|
116
|
-
### 2020-11-11 - 1.0.58
|
|
219
|
+
### `2020-11-11` - 1.0.58
|
|
117
220
|
- Refactoring js.nameOf.methods => veldapps-xml /- also added some lamish debug/test feature to see which method is being used
|
|
118
221
|
|
|
119
|
-
### 2020-11-06 - 1.0.57
|
|
222
|
+
### `2020-11-06` - 1.0.57
|
|
120
223
|
- Adding minimal packing support through js/Packer.[un]pack(ace/string)
|
|
121
224
|
|
|
122
|
-
### 2020-10-28
|
|
225
|
+
### `2020-10-28`
|
|
123
226
|
- Editor<xml>/DetailViews: Working towards base class / integration .blocks features
|
|
124
227
|
|
|
125
|
-
### 2020-10-19 - 1.0.56
|
|
228
|
+
### `2020-10-19` - 1.0.56
|
|
126
229
|
- Added more `js.nameOf`-methods
|
|
127
230
|
|
|
128
|
-
### 2020-10-07 - 1.0.55
|
|
231
|
+
### `2020-10-07` - 1.0.55
|
|
129
232
|
- Introducing `js.nameOf.methods.after` (I guess we need priorities?)
|
|
130
233
|
|
|
131
|
-
### 2020-09-12 - 1.0.54
|
|
234
|
+
### `2020-09-12` - 1.0.54
|
|
132
235
|
- Adding JSON-shortcuts to `js`, ie. `js.sj` & `js.pj`
|
|
133
236
|
|
|
134
|
-
### 2020-08-29 - 1.0.53
|
|
237
|
+
### `2020-08-29` - 1.0.53
|
|
135
238
|
- Fixing uri display of vcl/Component-s in console
|
|
136
239
|
- Developing console features, working on vcl/Component.uri property
|
|
137
240
|
|
|
138
|
-
### 2020-08-27 - 1.0.52
|
|
241
|
+
### `2020-08-27` - 1.0.52
|
|
139
242
|
|
|
140
243
|
src/console/node/Function.js
|
|
141
244
|
src/console/node/OnlyKey.js
|
|
142
245
|
src/util/HotkeyManager.js
|
|
143
246
|
|
|
144
|
-
### 2020-08-18 - 1.0.51
|
|
247
|
+
### `2020-08-18` - 1.0.51
|
|
145
248
|
- Adding Array.as
|
|
146
249
|
|
|
147
|
-
### 2020-08-05 - 1.0.50
|
|
250
|
+
### `2020-08-05` - 1.0.50
|
|
148
251
|
- Adding default js.nameOf() method
|
|
149
252
|
|
|
150
|
-
### 2020-07-05 - 1.0.48 `#local-changes`
|
|
253
|
+
### `2020-07-05` - 1.0.48 `#local-changes`
|
|
151
254
|
- Welcoming `ArrayFactory` to the family (_well yeah, hey, every drop counts and besides, now it's always there_)
|
|
152
255
|
- Prefixed `locale` functions now return their prefix by calling without arguments
|
|
153
256
|
|
|
154
|
-
### 2020-06-16 - 1.0.47
|
|
257
|
+
### `2020-06-16` - 1.0.47
|
|
155
258
|
|
|
156
259
|
- Fixing `js.str2obj()` so it accepts just a key and it's value set to true - not sure whether the semi-colon should be obligated...
|
|
157
260
|
|
|
158
|
-
### 2020-06-12 - 1.0.46
|
|
261
|
+
### `2020-06-12` - 1.0.46
|
|
159
262
|
|
|
160
263
|
- Enhancing `js.str2obj()` so it accepts just a key and it's value set to true - not sure whether the semi-colon should be obligated...
|
|
161
264
|
|
|
162
|
-
### 2020-06-10 - 1.0.45
|
|
265
|
+
### `2020-06-10` - 1.0.45
|
|
163
266
|
- Decided not to mess with Array's prototype (1.0.34 cancelled)
|
|
164
267
|
|
|
165
|
-
### 2020-06-02 - 1.0.44
|
|
268
|
+
### `2020-06-02` - 1.0.44
|
|
166
269
|
- Having some trouble with the HexaQuad due to Vectorklic.app (hoe heeft het ooit kunnen werken? - werd dus niet (meer) gebruikt!)
|
|
167
270
|
- Bugfix in EM.arrayOfAll
|
|
168
271
|
|
|
169
|
-
### 2020-05-13 - 1.0.42
|
|
272
|
+
### `2020-05-13` - 1.0.42
|
|
170
273
|
- Improving locale so that arrays are used to wrap object values (which otherwise would be parsed out)
|
|
171
274
|
|
|
172
275
|
>> 
|
|
173
276
|
|
|
174
|
-
### 2020-05-10 - 1.0.40
|
|
277
|
+
### `2020-05-10` - 1.0.40
|
|
175
278
|
- Promise: Featuring new class definition pattern
|
|
176
279
|
|
|
177
280
|
>> 
|
|
@@ -180,92 +283,92 @@ Not sure what todo with the default yet.
|
|
|
180
283
|
- js.nameOf: Now specifically handling Window
|
|
181
284
|
- locale: Paving the way for formatting
|
|
182
285
|
|
|
183
|
-
### 2020-04-28
|
|
286
|
+
### `2020-04-28`
|
|
184
287
|
- js.copy_args: callee optional added
|
|
185
288
|
|
|
186
|
-
### 2020-04-14 - 1.0.38
|
|
289
|
+
### `2020-04-14` - 1.0.38
|
|
187
290
|
- js/nameOf: adding `@_name` as default name attribute"
|
|
188
291
|
|
|
189
|
-
### 2020-04-09 - 1.0.37
|
|
292
|
+
### `2020-04-09` - 1.0.37
|
|
190
293
|
- json.js: Fix for: Error: Loader plugin did not call the load callback in the build
|
|
191
|
-
### 2020-01-27 - 1.0.36
|
|
294
|
+
### `2020-01-27` - 1.0.36
|
|
192
295
|
- Introducing 'yell'
|
|
193
296
|
|
|
194
|
-
### 2020-01-22 - 1.0.35
|
|
297
|
+
### `2020-01-22` - 1.0.35
|
|
195
298
|
- Introducing parameter `include_q` for static `util/net/Url.obj2qs`
|
|
196
299
|
|
|
197
|
-
### 2019-11-29 [1.0.33]
|
|
300
|
+
### `2019-11-29` [1.0.33]
|
|
198
301
|
- Fixed Alt+Click in console/Node
|
|
199
302
|
|
|
200
|
-
### 2019-10-22 [1.0.32]
|
|
303
|
+
### `2019-10-22` [1.0.32]
|
|
201
304
|
- Adding locale.slashDotRepl option (default: false)
|
|
202
305
|
|
|
203
|
-
### 2019-07-18 [1.0.30]
|
|
306
|
+
### `2019-07-18` [1.0.30]
|
|
204
307
|
- Making nl the default locale
|
|
205
308
|
- Fighting the localStorage.locale bug, removed feature - apps should do this seperately (AND FOOLPROOF! ;-)
|
|
206
309
|
|
|
207
|
-
### 2019-07-14 [1.0.29]
|
|
310
|
+
### `2019-07-14` [1.0.29]
|
|
208
311
|
- Enhancing `js.get()`, 1st argument can be an array of strings or a string which will be splitted by dot (`.`)
|
|
209
312
|
|
|
210
|
-
### 2019-06-07 [1.0.27]
|
|
313
|
+
### `2019-06-07` [1.0.27]
|
|
211
314
|
- Working on ES6 module support
|
|
212
315
|
|
|
213
|
-
### 2019-05-25 [1.0.26]
|
|
316
|
+
### `2019-05-25` [1.0.26]
|
|
214
317
|
- `locale!/` implemented in order to prevent locale_base
|
|
215
318
|
|
|
216
|
-
### 2019-05-18 [1.0.22]
|
|
319
|
+
### `2019-05-18` [1.0.22]
|
|
217
320
|
- Introducing locale.prefixed
|
|
218
321
|
|
|
219
|
-
### 2019-05-09 [1.0.21]
|
|
322
|
+
### `2019-05-09` [1.0.21]
|
|
220
323
|
- Introducing js.ctx and js.sf
|
|
221
324
|
|
|
222
|
-
### 2019-03-31 [1.0.19]
|
|
325
|
+
### `2019-03-31` [1.0.19]
|
|
223
326
|
- Fixed a typo/bug, in destroy() method, wtf...
|
|
224
327
|
- Added support for distinct and raw queries (entities/EM)
|
|
225
328
|
|
|
226
|
-
### 2019-02-18 [1.0.18]
|
|
329
|
+
### `2019-02-18` [1.0.18]
|
|
227
330
|
- Improving console (in another dimension vcl:ui)
|
|
228
331
|
|
|
229
|
-
### 2019-02-17 [1.0.17]
|
|
332
|
+
### `2019-02-17` [1.0.17]
|
|
230
333
|
- Fixed a bug in `js.get()` [OMG!]
|
|
231
334
|
|
|
232
|
-
### 2018-12-15 [1.0.16]
|
|
335
|
+
### `2018-12-15` [1.0.16]
|
|
233
336
|
- Fix in locale.js (for building cavalion-code)
|
|
234
337
|
|
|
235
|
-
### 2018-12 [1
|
|
338
|
+
### `2018-12 [1`.0.14]
|
|
236
339
|
- Fix in js/Scaffold (like a temp hack)
|
|
237
340
|
- Fix in locale.js (for building cavalion-code)
|
|
238
341
|
|
|
239
|
-
### 2018-10-10
|
|
342
|
+
### `2018-10-10`
|
|
240
343
|
- Introducing json!
|
|
241
344
|
|
|
242
|
-
### 2018-08-22 [1.0.6]
|
|
345
|
+
### `2018-08-22` [1.0.6]
|
|
243
346
|
- locale: Always looking for prototype
|
|
244
347
|
|
|
245
|
-
### 2018-05-21
|
|
348
|
+
### `2018-05-21`
|
|
246
349
|
- Fix for normalizing relative to /-paths
|
|
247
350
|
- Fix for class names with dashes
|
|
248
351
|
- Finetuning DocumentHook's wheelEvents
|
|
249
352
|
|
|
250
|
-
### 2018-03-21
|
|
353
|
+
### `2018-03-21`
|
|
251
354
|
- Springly commit
|
|
252
355
|
|
|
253
|
-
### 2018-02-28
|
|
356
|
+
### `2018-02-28`
|
|
254
357
|
- Fixed a bug which caused `specializer_classes` not be applied on components. Eg. `devtools/Workspace<Veldoffice.ralph>` would only apply `devtools/Workspace<Veldoffice>`)
|
|
255
358
|
- Fixed a bug where `vcl/Component.getImplicitBaseByUri()` would return duplicate bases
|
|
256
359
|
|
|
257
|
-
### 2018-02-27
|
|
360
|
+
### `2018-02-27`
|
|
258
361
|
- Introducing `Component.prototype.vars`
|
|
259
362
|
- Minor fix for Component.query
|
|
260
363
|
- Fix for vcl-ui/Node performance
|
|
261
364
|
|
|
262
|
-
### 2018-02-12
|
|
365
|
+
### `2018-02-12`
|
|
263
366
|
- Fixing expanded/expandable bugs for vcl-ui/Node
|
|
264
367
|
- Looking into performance of vcl-ui/Node and vcl-ui/List
|
|
265
368
|
- Introducing **vcl-ui/Console.evaluate**
|
|
266
369
|
- Adding onEvent style to Component.properties.handlers
|
|
267
370
|
|
|
268
|
-
### 2018-02-07 [1.0.2]
|
|
371
|
+
### `2018-02-07` [1.0.2]
|
|
269
372
|
* **vcl/Factory** - Removed Method.trace-ing
|
|
270
373
|
* **vcl-ui/List* ** - Worked on List-classes - not really improved, lacks speed
|
|
271
374
|
* Fixed now longer functioning cavalion.org/databind
|
|
@@ -278,29 +381,29 @@ Not sure what todo with the default yet.
|
|
|
278
381
|
|
|
279
382
|
>
|
|
280
383
|
|
|
281
|
-
### 2018-02-04
|
|
384
|
+
### `2018-02-04`
|
|
282
385
|
|
|
283
386
|
* "vcl-ui/List" == "vcl/ui/List"
|
|
284
387
|
|
|
285
388
|

|
|
286
389
|
|
|
287
|
-
### 2018-02-02
|
|
390
|
+
### `2018-02-02`
|
|
288
391
|
- Improving vcl/ui/Tree: Vertical alignment, removed bottom padding for the selected item
|
|
289
392
|
|
|
290
393
|

|
|
291
394
|
|
|
292
|
-
### 2018-01-26
|
|
395
|
+
### `2018-01-26`
|
|
293
396
|
- Exploring Git
|
|
294
397
|
|
|
295
|
-
### 2018-01-21
|
|
398
|
+
### `2018-01-21`
|
|
296
399
|
- Developing vcl/entities/Query and descendants
|
|
297
400
|
- Start developing ListOf
|
|
298
401
|
- Finetuning code structures and styles (standard library?)
|
|
299
402
|
|
|
300
|
-
### 2018-01-08
|
|
403
|
+
### `2018-01-08`
|
|
301
404
|
- Developing Veldoffice entities client
|
|
302
405
|
|
|
303
|
-
### 2018-01-02
|
|
406
|
+
### `2018-01-02`
|
|
304
407
|
- Giving some love to vcl/Component::handlers and ::overrides
|
|
305
408
|
- vcl/Factory now catching eval errors
|
|
306
409
|
- vcl/ui/Printer now supports native Promise (js/Deferred.prototype.then())
|
|
@@ -309,30 +412,30 @@ Not sure what todo with the default yet.
|
|
|
309
412
|
- Developing veldoffice/Session, veldoffice/EM and veldoffice/models
|
|
310
413
|
- Adding locale
|
|
311
414
|
|
|
312
|
-
### 2017-11-04
|
|
415
|
+
### `2017-11-04`
|
|
313
416
|
- devtools/Workspace: Added query close for tabs
|
|
314
417
|
- devtools/Editor<html>: First steps to specific [uri=*.\.page/\.html] editor
|
|
315
418
|
|
|
316
|
-
### 2017-10-18
|
|
419
|
+
### `2017-10-18`
|
|
317
420
|
- Improved context handling with Pages and App7.loadPage (basically it's all back to url_query again, but that's a good thing :-))
|
|
318
421
|
- EM.query: When omitted pagesize will default to 50
|
|
319
422
|
|
|
320
|
-
### 2017-10-15
|
|
423
|
+
### `2017-10-15`
|
|
321
424
|
- Pages: Removing obligatory less resource. It seems these are hardly used and can always be required by the conroller module
|
|
322
425
|
- Commiting in favor of V7
|
|
323
426
|
|
|
324
|
-
### 2017-10-11
|
|
427
|
+
### `2017-10-11`
|
|
325
428
|
- Code: new release
|
|
326
429
|
|
|
327
|
-
### 2017-10-08
|
|
430
|
+
### `2017-10-08`
|
|
328
431
|
- V7: Releasing build 126
|
|
329
432
|
- stylesheet! - now supporting less
|
|
330
433
|
- Embracing Template7, setting up context before loading page
|
|
331
434
|
|
|
332
|
-
### 2017-10-02
|
|
435
|
+
### `2017-10-02`
|
|
333
436
|
- Editor<html>: Restoring scroll position upon changes in the source code
|
|
334
437
|
|
|
335
|
-
### 2017-08-11
|
|
438
|
+
### `2017-08-11`
|
|
336
439
|
- Component.query: Added toggleClass()
|
|
337
440
|
- Query.events: Added "event"
|
|
338
441
|
- vcl/data/Pouch: Finetuning, developing...
|
|
@@ -341,21 +444,21 @@ Not sure what todo with the default yet.
|
|
|
341
444
|
- entities/EM: Developing, finetuning
|
|
342
445
|
- Resolved: #1297
|
|
343
446
|
|
|
344
|
-
### 2017-07-01
|
|
447
|
+
### `2017-07-01`
|
|
345
448
|
- Introducing vcl/ui/Panel (might move upwards in the class hierarchy) zoom (cool feature!!)
|
|
346
449
|
|
|
347
|
-
### 2017-06-24
|
|
450
|
+
### `2017-06-24`
|
|
348
451
|
- Adding vcl/data/Pouch in the mix
|
|
349
452
|
- Optmizing performance for vcl/ui/List icw vcl/data/Array
|
|
350
453
|
- Fixing (workaround) some weird bug with Function.prototype.toString
|
|
351
454
|
|
|
352
|
-
### 2017-06-20
|
|
455
|
+
### `2017-06-20`
|
|
353
456
|
- Updating code base
|
|
354
457
|
|
|
355
|
-
### 2017-04-23
|
|
458
|
+
### `2017-04-23`
|
|
356
459
|
- Improving make/Build
|
|
357
460
|
|
|
358
|
-
### 2017-03-16
|
|
461
|
+
### `2017-03-16`
|
|
359
462
|
- Reorganized JavaScript libraries
|
|
360
463
|
- Conformed code/devtools to new struture
|
|
361
464
|
- Currently working on:
|
|
@@ -365,21 +468,21 @@ Not sure what todo with the default yet.
|
|
|
365
468
|
- veldapps.com/V7
|
|
366
469
|
- veldapps.com/vcl-rapportage-module
|
|
367
470
|
|
|
368
|
-
### 2017-03-11
|
|
471
|
+
### `2017-03-11`
|
|
369
472
|
- Getting rid of cavalion.org/... module requires, now using relative paths within cavalion.org sources/modules
|
|
370
473
|
|
|
371
|
-
### 2017-03-07
|
|
474
|
+
### `2017-03-07`
|
|
372
475
|
- Removed [id^=vcl-] from Control CSSRules selector
|
|
373
476
|
- Making FormContainer work with relative formUris
|
|
374
477
|
|
|
375
|
-
### 2017-03-04
|
|
478
|
+
### `2017-03-04`
|
|
376
479
|
- Optimizing code for folding features in Ace
|
|
377
480
|
- Fixing bugs for not being comptabile with IE
|
|
378
481
|
- Refresh button in ui/entities/Query
|
|
379
482
|
- Time for cavalion.org/Command to go away - jquery.ajax should be sufficient
|
|
380
483
|
- Deprecating App.scaffold
|
|
381
484
|
|
|
382
|
-
### 2017-02-28
|
|
485
|
+
### `2017-02-28`
|
|
383
486
|
- Working on entities/Instance <--> model, how to receive sets/one-to-many collections from server?
|
|
384
487
|
- Fixing scaffolding issues. No longer a-synchronous. All scaffold code should run *before* onLoad.
|
|
385
488
|
- Explicit express in code that an certain component should be scaffolded, eg.:
|
|
@@ -392,33 +495,33 @@ Not sure what todo with the default yet.
|
|
|
392
495
|
- Improving vcl/ui/FormContainer with new API swapForm()
|
|
393
496
|
- Simplyfing CSS fonts
|
|
394
497
|
|
|
395
|
-
### 2017-02-25
|
|
498
|
+
### `2017-02-25`
|
|
396
499
|
- Bug fixed where parent could not be nulled in a vcl resource
|
|
397
500
|
- Refactoring/bugfixing scaffolding
|
|
398
501
|
|
|
399
502
|
$(["View<Logger>.select"]);
|
|
400
503
|
|
|
401
|
-
### 2017-02-24
|
|
504
|
+
### `2017-02-24`
|
|
402
505
|
- Bugfixing vcl/Control.update, where controls could be updated while not anticipated for and leave them in a inconsistent state in relation to the DOM (mailny they would be removed from the DOM)
|
|
403
506
|
- Implementing scaffolding in vcl/Factory
|
|
404
507
|
- Added nesting operator (<) to vcl/Component.query, indicating to parent/child relationship
|
|
405
508
|
|
|
406
|
-
### 2017-02-23
|
|
509
|
+
### `2017-02-23`
|
|
407
510
|
- Integrated Dygraphs for visualizing measurements in a interactive timeline
|
|
408
511
|
- Keeping UI as simple as possible
|
|
409
512
|
- Refactoring vcl/prototypes/App.v1 to multiple classes, like .openform, .console (developing)
|
|
410
513
|
- Adding component name in DOM node classes, prefixed by a #-sign
|
|
411
514
|
- Refer to component names in css definitions (# --> \\#)
|
|
412
515
|
|
|
413
|
-
### 2017-02-17
|
|
516
|
+
### `2017-02-17`
|
|
414
517
|
- Developing ui/entities/Query, ./QueryFilters, ./AttributeInput
|
|
415
518
|
- Finetuning Component.qs, still need a good operator for controls
|
|
416
519
|
|
|
417
|
-
### 2017-02-14
|
|
520
|
+
### `2017-02-14`
|
|
418
521
|
- Working on vcl/ui/Input
|
|
419
522
|
- toInputValue/fromInputValue
|
|
420
523
|
|
|
421
|
-
### 2017-02-02
|
|
524
|
+
### `2017-02-02`
|
|
422
525
|
- Reformatting code to be better suited for folding features in the editor
|
|
423
526
|
- Console: Introducing req()
|
|
424
527
|
- vcl/Component.prototype.setVars: Now allowing a string as input (js.str2obj)
|