@yomotech/view-toolkit 1.0.64 → 1.0.66

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/README.md CHANGED
@@ -1,64 +1,64 @@
1
- # ViewToolkit
2
-
3
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
8
-
9
- ```bash
10
- ng generate component component-name
11
- ```
12
-
13
- For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
14
-
15
- ```bash
16
- ng generate --help
17
- ```
18
-
19
- ## Building
20
-
21
- To build the library, run:
22
-
23
- ```bash
24
- ng build view-toolkit
25
- ```
26
-
27
- This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
-
29
- ### Publishing the Library
30
-
31
- Once the project is built, you can publish your library by following these steps:
32
-
33
- 1. Navigate to the `dist` directory:
34
-
35
- ```bash
36
- cd dist/view-toolkit
37
- ```
38
-
39
- 2. Run the `npm publish` command to publish your library to the npm registry:
40
- ```bash
41
- npm publish
42
- ```
43
-
44
- ## Running unit tests
45
-
46
- To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
47
-
48
- ```bash
49
- ng test
50
- ```
51
-
52
- ## Running end-to-end tests
53
-
54
- For end-to-end (e2e) testing, run:
55
-
56
- ```bash
57
- ng e2e
58
- ```
59
-
60
- Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
61
-
62
- ## Additional Resources
63
-
64
- For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
1
+ # ViewToolkit
2
+
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
8
+
9
+ ```bash
10
+ ng generate component component-name
11
+ ```
12
+
13
+ For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
14
+
15
+ ```bash
16
+ ng generate --help
17
+ ```
18
+
19
+ ## Building
20
+
21
+ To build the library, run:
22
+
23
+ ```bash
24
+ ng build view-toolkit
25
+ ```
26
+
27
+ This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
+
29
+ ### Publishing the Library
30
+
31
+ Once the project is built, you can publish your library by following these steps:
32
+
33
+ 1. Navigate to the `dist` directory:
34
+
35
+ ```bash
36
+ cd dist/view-toolkit
37
+ ```
38
+
39
+ 2. Run the `npm publish` command to publish your library to the npm registry:
40
+ ```bash
41
+ npm publish
42
+ ```
43
+
44
+ ## Running unit tests
45
+
46
+ To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
47
+
48
+ ```bash
49
+ ng test
50
+ ```
51
+
52
+ ## Running end-to-end tests
53
+
54
+ For end-to-end (e2e) testing, run:
55
+
56
+ ```bash
57
+ ng e2e
58
+ ```
59
+
60
+ Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
61
+
62
+ ## Additional Resources
63
+
64
+ For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -2006,6 +2006,8 @@ function headerScrollOf(header) {
2006
2006
  return HEADER_SCROLLS.includes(own) ? own : 'fixed';
2007
2007
  }
2008
2008
 
2009
+ // Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-11-10
2010
+ // - new: waitsForFilter - a source that names its filters (dataSource.filters) waits for them
2009
2011
  // Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-11-07
2010
2012
  // - change: route opens the directions from where the user is, not only the place (point 213 worklist 41, 2026-11-09)
2011
2013
  // - new: innerAction contact - phone, WhatsApp, e-mail, SMS, route, web on the user's device (contactLink, CONTACT_KINDS;
@@ -2163,7 +2165,9 @@ function storageOf(option, kind) {
2163
2165
  /** True when the option waits for its filter fields before loading (loadOnFilter, or the older storageType "filter"). */
2164
2166
  function waitsForFilter(option) {
2165
2167
  const type = String(option?.storageType ?? '').trim().toLowerCase();
2166
- return option?.loadOnFilter === true || OLD_STORAGES[type]?.loadOnFilter === true;
2168
+ // a page that names its filters (dataSource.filters) waits for them too (2026-11-10, filters without data fields)
2169
+ return option?.loadOnFilter === true || OLD_STORAGES[type]?.loadOnFilter === true
2170
+ || (Array.isArray(option?.filters) && option.filters.length > 0);
2167
2171
  }
2168
2172
  /** The attributes that count for this kind with this storage. */
2169
2173
  function callAttributes(kind, storage) {