alchemy-widget 0.2.7 → 0.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/CHANGELOG.md +4 -0
- package/README.md +0 -0
- package/assets/stylesheets/alchemy_widgets.scss +0 -0
- package/bootstrap.js +0 -0
- package/controller/alchemy_widgets_controller.js +0 -0
- package/element/00-widget_base_element.js +0 -0
- package/element/05-widget_element.js +0 -0
- package/element/10-container_elements.js +0 -0
- package/element/11-alchemy_widgets_list_element.js +0 -0
- package/element/20-add_area_element.js +0 -0
- package/element/30-base_toolbar_element.js +8 -3
- package/element/editor_toolbar_element.js +0 -0
- package/element/table_of_contents_element.js +0 -0
- package/element/user_avatar_element.js +0 -0
- package/element/user_avatar_group_element.js +0 -0
- package/element/widget_actionbar_element.js +0 -0
- package/element/widget_context_element.js +0 -0
- package/element/widget_toolbar_element.js +0 -0
- package/helper/document_watcher.js +0 -0
- package/helper/editor_toolbar_manager.js +0 -0
- package/helper/widget_action.js +0 -0
- package/helper/widgets/00-widget.js +0 -0
- package/helper/widgets/01-container.js +0 -0
- package/helper/widgets/05-column.js +0 -0
- package/helper/widgets/05-list.js +0 -0
- package/helper/widgets/05-row.js +0 -0
- package/helper/widgets/alchemy_field_widget.js +0 -0
- package/helper/widgets/alchemy_form_widget.js +0 -0
- package/helper/widgets/alchemy_table_widget.js +0 -0
- package/helper/widgets/alchemy_tabs_widget.js +0 -0
- package/helper/widgets/hawkejs_template.js +0 -0
- package/helper/widgets/header.js +0 -0
- package/helper/widgets/html.js +0 -0
- package/helper/widgets/markdown.js +0 -0
- package/helper/widgets/partial.js +0 -0
- package/helper/widgets/sourcecode.js +0 -0
- package/helper/widgets/table_of_contents.js +0 -0
- package/helper/widgets/text.js +0 -0
- package/helper/widgets_helper.js +0 -0
- package/helper_field/widget.js +0 -0
- package/helper_field/widgets.js +0 -0
- package/lib/conduit_extras.js +0 -0
- package/package.json +3 -3
- package/view/elements/table_of_contents.hwk +0 -0
- package/view/form/inputs/edit/widget.hwk +0 -0
- package/view/form/inputs/edit/widgets.hwk +0 -0
- package/view/widget/elements/al_editor_toolbar.hwk +0 -0
- package/view/widget/elements/al_user_avatar.hwk +0 -0
- package/view/widget/elements/al_widget_toolbar.hwk +0 -0
- package/view/widget/widget_config.hwk +0 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
File without changes
|
|
File without changes
|
package/bootstrap.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -73,7 +73,7 @@ Toolbar.setMethod(function onToolbarManagerAssignment(manager, old_manager) {
|
|
|
73
73
|
*
|
|
74
74
|
* @author Jelle De Loecker <jelle@elevenways.be>
|
|
75
75
|
* @since 0.2.7
|
|
76
|
-
* @version 0.2.
|
|
76
|
+
* @version 0.2.8
|
|
77
77
|
*/
|
|
78
78
|
Toolbar.setMethod(function prepareToolbarManager(manager, old_manager) {
|
|
79
79
|
|
|
@@ -123,7 +123,7 @@ Toolbar.setMethod(function prepareToolbarManager(manager, old_manager) {
|
|
|
123
123
|
let area_element = this.getAreaElement(area);
|
|
124
124
|
|
|
125
125
|
if (area_element) {
|
|
126
|
-
hawkejs.renderToElements(template, variables, (err, elements) => {
|
|
126
|
+
let renderer = hawkejs.renderToElements(template, variables, (err, elements) => {
|
|
127
127
|
|
|
128
128
|
if (current_clear_count != clear_counts[area]) {
|
|
129
129
|
// The area has been cleared in the meantime
|
|
@@ -135,7 +135,12 @@ Toolbar.setMethod(function prepareToolbarManager(manager, old_manager) {
|
|
|
135
135
|
return;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
for (let i = 0; i < elements.length; i++) {
|
|
139
|
+
area_element.appendChild(elements[i]);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
hawkejs.scene.handleRendererScripts(renderer);
|
|
143
|
+
hawkejs.scene.handleRendererStyles(renderer);
|
|
139
144
|
});
|
|
140
145
|
}
|
|
141
146
|
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/helper/widget_action.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/helper/widgets/05-row.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/helper/widgets/header.js
CHANGED
|
File without changes
|
package/helper/widgets/html.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/helper/widgets/text.js
CHANGED
|
File without changes
|
package/helper/widgets_helper.js
CHANGED
|
File without changes
|
package/helper_field/widget.js
CHANGED
|
File without changes
|
package/helper_field/widgets.js
CHANGED
|
File without changes
|
package/lib/conduit_extras.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alchemy-widget",
|
|
3
3
|
"description": "The widget plugin for the AlchemyMVC",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.8",
|
|
5
5
|
"author": "Jelle De Loecker <jelle@elevenways.be>",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"alchemy",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"widget"
|
|
11
11
|
],
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"alchemymvc" : ">=1.
|
|
14
|
-
"alchemy-form": "~0.2.
|
|
13
|
+
"alchemymvc" : ">=1.3.0",
|
|
14
|
+
"alchemy-form": "~0.2.6"
|
|
15
15
|
},
|
|
16
16
|
"repository": "11ways/alchemy-widget",
|
|
17
17
|
"license": "MIT",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|