alchemy-chimera 1.3.0-alpha.2 → 1.3.0-alpha.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 1.3.0-alpha.4 (2025-07-10)
2
+
3
+ * Always set a new toolbar_manager received from the server
4
+ * Use the new `matchesFilter` feature to improve filtering in tables
5
+
6
+ ## 1.3.0-alpha.3 (2025-05-11)
7
+
8
+ * Fix error when saving Alchemy settings from Chimera
9
+
1
10
  ## 1.3.0-alpha.2 (2024-02-25)
2
11
 
3
12
  * Begin implementing the Styleboost SCSS framework
@@ -16,4 +16,16 @@ hawkejs.scene.after({
16
16
  notification.remove();
17
17
  }, 2500);
18
18
  }, 4 * 1000);
19
+ });
20
+
21
+ hawkejs.scene.on('rendered', function onRendered(vars, renderer) {
22
+
23
+ let manager = vars.get('toolbar_manager');
24
+
25
+ if (!manager) {
26
+ return;
27
+ }
28
+
29
+ let toolbar = document.querySelector('al-editor-toolbar');
30
+ toolbar.toolbar_manager = manager;
19
31
  });
@@ -639,4 +639,35 @@ al-field {
639
639
  max-height: 25vh;
640
640
  }
641
641
  }
642
+ }
643
+
644
+ al-table {
645
+ display: block;
646
+ background-color: white;
647
+ border: 1px solid #dadee0;
648
+
649
+ table thead {
650
+ td, th {
651
+ background-color: #F4F5F9;
652
+ input {
653
+ background-color: white;
654
+ }
655
+ }
656
+ }
657
+
658
+ footer {
659
+ background-color: #F4F5F9;
660
+ }
661
+
662
+ table tbody tr:hover {
663
+ td, th {
664
+ background-color: #edf0f5;
665
+ }
666
+ }
667
+
668
+ table tbody tr.aft-selected {
669
+ td, th {
670
+ background-color: #edeff5;
671
+ }
672
+ }
642
673
  }
@@ -343,8 +343,7 @@ Editor.setAction(async function records(conduit, model_name) {
343
343
  continue;
344
344
  }
345
345
 
346
- val = RegExp.interpretWildcard('*' + val + '*', 'i');
347
- crit.where(key).equals(val);
346
+ crit.where(key).matchesFilter(val);
348
347
  }
349
348
  }
350
349
 
@@ -26,9 +26,7 @@ SettingsController.setAction(async function editor(conduit) {
26
26
  return conduit.end();
27
27
  }
28
28
 
29
- const AlchemySetting = this.getModel('AlchemySetting');
30
-
31
- console.log('Changes:', changes);
29
+ const AlchemySetting = this.getModel('System.Setting');
32
30
 
33
31
  await AlchemySetting.saveChanges(changes, conduit);
34
32
 
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "alchemy-chimera",
3
3
  "description": "Chimera plugin for Alchemy MVC",
4
- "version": "1.3.0-alpha.2",
4
+ "version": "1.3.0-alpha.4",
5
5
  "author": "Jelle De Loecker <jelle@elevenways.be>",
6
6
  "keywords": [
7
7
  "alchemy",
File without changes
File without changes