dbm 1.2.7 → 1.2.8

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.
Files changed (35) hide show
  1. package/commands/index.js +6 -1
  2. package/ecommerce/CartLineItem.js +2 -2
  3. package/ecommerce/LocalStorageCartLoader.js +0 -2
  4. package/flow/updatefunctions/thirdparty/google/maps/AutoComplete.js +2 -2
  5. package/graphapi/index.js +1 -2
  6. package/graphapi/webclient/admin/ItemEditor.js +9 -2
  7. package/graphapi/webclient/decode/index.js +9 -0
  8. package/package.json +1 -1
  9. package/react/ChildFunctions.js +55 -1
  10. package/react/admin/editorsgroup/EditPartOfObject.js +32 -0
  11. package/react/admin/editorsgroup/index.js +2 -1
  12. package/react/admin/objects/itemeditors/DraggableHierarchyDisplay.js +45 -0
  13. package/react/admin/objects/itemeditors/HierarchyOrderedRelationsList.js +335 -0
  14. package/react/admin/objects/itemeditors/RelationsList.js +77 -0
  15. package/react/admin/objects/itemeditors/index.js +4 -1
  16. package/react/animation/AnimatedElement.js +4 -0
  17. package/react/area/FixedWidthInfiniteSlideshow.js +8 -1
  18. package/react/area/HasData.js +1 -1
  19. package/react/area/InsertElement.js +9 -2
  20. package/react/area/OpenCloseExpandableArea.js +6 -2
  21. package/react/area/PopoverLayer.js +1 -2
  22. package/react/blocks/admin/objects/Edit.js +1 -1
  23. package/react/blocks/index.js +89 -1
  24. package/react/form/Dropdown.js +2 -4
  25. package/react/interaction/CommandButton.js +12 -64
  26. package/react/interaction/HoverArea.js +77 -0
  27. package/react/interaction/HoverDropdown.js +38 -0
  28. package/react/interaction/drag/DraggableItem.js +94 -0
  29. package/react/interaction/drag/index.js +3 -0
  30. package/react/interaction/index.js +5 -1
  31. package/react/source/index.js +10 -2
  32. package/site/translation/TranslationLoader.js +3 -3
  33. package/tracking/index.js +1 -1
  34. package/graphapi/admin/EditGroup.js +0 -50
  35. package/graphapi/admin/index.js +0 -1
@@ -1,50 +0,0 @@
1
- import Dbm from "../../index.js";
2
-
3
- export default class EditGroup extends Dbm.core.BaseObject {
4
- _construct() {
5
- this.item.setValue("status", 0);
6
- let changedProperty = this.item.requireProperty("changed", false);
7
- this.item.setValue("showSavedMessageTimer", 0);
8
- this.item.setValue("editors", []);
9
-
10
- let any = Dbm.flow.updatefunctions.logic.any();
11
- this.item.setValue("any", any);
12
-
13
- changedProperty.connectInput(any.output.properties.value);
14
-
15
- }
16
-
17
- createEditor(aSavedValue) {
18
- let newChangeObject = null; //METODO
19
-
20
- newChangeObject.setValue("changed", false);
21
-
22
- newChangeObject.item; //METODO: connect saved value
23
- //METODO: setup edited value
24
- //METODO: set up condition
25
-
26
- this.item.any.addCheck(newChangeObject.item.properties.changed); //METODO: add to any
27
-
28
-
29
- let editors = [].concat(this.item.editors);
30
- editors.push(newChangeObject);
31
- this.item.editors = editors;
32
- }
33
-
34
- save() {
35
-
36
- let saveOperations = [];
37
-
38
- let currentArray = editors;
39
- let currentArrayLength = currentArray.length;
40
- for(let i = 0; i < currentArrayLength; i++) {
41
- let currentChangeObject = currentArray[i];
42
- if(currentChangeObject.item.changed) {
43
- let saveOperation = null; //METODO: get save operation
44
- saveOperations.push(saveOperation);
45
- }
46
- }
47
-
48
- //METODO: trigger save operations
49
- }
50
- }
@@ -1 +0,0 @@
1
- export {default as EditGroup} from "./EditGroup.js";