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.
- package/commands/index.js +6 -1
- package/ecommerce/CartLineItem.js +2 -2
- package/ecommerce/LocalStorageCartLoader.js +0 -2
- package/flow/updatefunctions/thirdparty/google/maps/AutoComplete.js +2 -2
- package/graphapi/index.js +1 -2
- package/graphapi/webclient/admin/ItemEditor.js +9 -2
- package/graphapi/webclient/decode/index.js +9 -0
- package/package.json +1 -1
- package/react/ChildFunctions.js +55 -1
- package/react/admin/editorsgroup/EditPartOfObject.js +32 -0
- package/react/admin/editorsgroup/index.js +2 -1
- package/react/admin/objects/itemeditors/DraggableHierarchyDisplay.js +45 -0
- package/react/admin/objects/itemeditors/HierarchyOrderedRelationsList.js +335 -0
- package/react/admin/objects/itemeditors/RelationsList.js +77 -0
- package/react/admin/objects/itemeditors/index.js +4 -1
- package/react/animation/AnimatedElement.js +4 -0
- package/react/area/FixedWidthInfiniteSlideshow.js +8 -1
- package/react/area/HasData.js +1 -1
- package/react/area/InsertElement.js +9 -2
- package/react/area/OpenCloseExpandableArea.js +6 -2
- package/react/area/PopoverLayer.js +1 -2
- package/react/blocks/admin/objects/Edit.js +1 -1
- package/react/blocks/index.js +89 -1
- package/react/form/Dropdown.js +2 -4
- package/react/interaction/CommandButton.js +12 -64
- package/react/interaction/HoverArea.js +77 -0
- package/react/interaction/HoverDropdown.js +38 -0
- package/react/interaction/drag/DraggableItem.js +94 -0
- package/react/interaction/drag/index.js +3 -0
- package/react/interaction/index.js +5 -1
- package/react/source/index.js +10 -2
- package/site/translation/TranslationLoader.js +3 -3
- package/tracking/index.js +1 -1
- package/graphapi/admin/EditGroup.js +0 -50
- 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
|
-
}
|
package/graphapi/admin/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {default as EditGroup} from "./EditGroup.js";
|