simpledomcontrol 0.4.12__tar.gz → 0.4.13__tar.gz
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.
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/PKG-INFO +1 -1
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/pyproject.toml +1 -1
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/package.json +1 -1
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigator/sdc_navigator.js +24 -8
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/tests/sdc_tools.test.js +4 -2
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/README.md +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/apps.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/consumers.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/_private.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/add_controller_manager.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/add_model_manager.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/options.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/sdc_core_manager.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/settings_manager.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/utils.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_cc.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_get_controller_infos.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_get_controller_url.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_get_model_infos.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_init.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_is_installed.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_new_model.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_shell_execute_script.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_update_links.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_update_url.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/sdc_extentions/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/sdc_extentions/forms.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/sdc_extentions/import_manager.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/sdc_extentions/models.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/sdc_extentions/response.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/sdc_extentions/search.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/sdc_extentions/views.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/.babelrc +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/gulpfile.jsx +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/src/index.organizer.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/src/index.style.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/tests/config/post-test-teardown.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/tests/config/pre-test-setup.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/tests/config/test-setup.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/webpack.config/webpack.default.config.jsx +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/webpack.config/webpack.development.config.jsx +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/webpack.config/webpack.production.config.jsx +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/apps/sdc_examples/Add_SDCUser.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/apps/sdc_examples/index.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/apps/sdc_examples/server_call.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/asgi.py.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/controller/templade_view.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/controller/template_controller.js.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/controller/template_css.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/controller/template_test.js.text +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/js_test.js.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/models/detail.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/models/list.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/routing.py.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/sdc_urls.py.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/sdc_views.py.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/settings_extension.py.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/templates/base.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/templates/index.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/urls.py.txt +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_alert_messenger/sdc_alert_messenger.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_alert_messenger/sdc_alert_messenger.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_auto_submit/sdc_auto_submit.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_detail_view/sdc_detail_view.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_detail_view/sdc_detail_view.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_dummy/sdc_dummy.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_dummy/sdc_dummy.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_error/sdc_error.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_error/sdc_error.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_list_view/sdc_list_view.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_list_view/sdc_list_view.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_model_form/sdc_model_form.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_model_form/sdc_model_form.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigation_client/sdc_navigation_client.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigator/sdc_navigator.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_search_view/sdc_search_view.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_search_view/sdc_search_view.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/controller/sdc_update_on_change/sdc_update_on_change.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/sdc_tools.organizer.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/src/sdc_tools/sdc_tools.style.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/admin.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/apps.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/migrations/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/models.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/sdc_urls.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/sdc_views.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/elements/form.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/elements/inline_form.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/email/base.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/dummy_sdc.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_alert_messenger.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_detail_view.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_dummy.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_error.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_list_view.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_model_form.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_navigator.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_search_view.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templatetags/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templatetags/addclass.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templatetags/indexfilter.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templatetags/sdc_filter.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/tests.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/views.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/controller/sdc_login/sdc_login.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/controller/sdc_login/sdc_login.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/controller/sdc_logout/sdc_logout.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/controller/sdc_logout/sdc_logout.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/controller/sdc_user_nav_btn/sdc_user_nav_btn.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/controller/sdc_user_nav_btn/sdc_user_nav_btn.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/sdc_user.organizer.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/sdc_user.style.scss +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/tests/sdc_user.test.js +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/admin.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/apps.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/migrations/__init__.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/models.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/sdc_urls.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/sdc_views.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/templates/sdc_user/sdc/sdc_login.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/templates/sdc_user/sdc/sdc_logout.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/templates/sdc_user/sdc/sdc_user_nav_btn.html +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/tests.py +0 -0
- {simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/views.py +0 -0
|
@@ -21,6 +21,7 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
21
21
|
this._is_processing = false;
|
|
22
22
|
this._process_queue = [];
|
|
23
23
|
this._current_process = null;
|
|
24
|
+
this._redirectAfterCurrentProcess = null;
|
|
24
25
|
|
|
25
26
|
this._non_controller_path_prefix = '/';
|
|
26
27
|
this._menu_id = 0;
|
|
@@ -58,6 +59,7 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
58
59
|
onLoad($html) {
|
|
59
60
|
on('onNavLink', this);
|
|
60
61
|
on('onNavigateToController', this);
|
|
62
|
+
on('_RedirectOnView', this);
|
|
61
63
|
on('goTo', this);
|
|
62
64
|
on('changeMenu', this);
|
|
63
65
|
on('navigateToPage', this);
|
|
@@ -186,9 +188,7 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
186
188
|
}
|
|
187
189
|
this._is_processing = false;
|
|
188
190
|
this._updateBreadcrumb();
|
|
189
|
-
this.
|
|
190
|
-
let next = this._process_queue.shift();
|
|
191
|
-
if (next) this._pushState(next);
|
|
191
|
+
this._checkProcessQueue();
|
|
192
192
|
this.refresh();
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
@@ -225,6 +225,7 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
225
225
|
|
|
226
226
|
|
|
227
227
|
navLoaded(controller) {
|
|
228
|
+
console.log(this._current_process, controller.controller_name(), this._previous_args);
|
|
228
229
|
let idx = this._history_path.length - 1;
|
|
229
230
|
let last_view_array = this._preparedLastViewContainer(idx);
|
|
230
231
|
last_view_array.active_container.removeClass('active loading').addClass('empty');
|
|
@@ -240,9 +241,7 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
240
241
|
} else {
|
|
241
242
|
this._updateBreadcrumb();
|
|
242
243
|
if (!this._manageDefault(last_view_array.empty_container)) {
|
|
243
|
-
|
|
244
|
-
this._current_process = null;
|
|
245
|
-
if (next) this._pushState(next, false);
|
|
244
|
+
this._checkProcessQueue();
|
|
246
245
|
}
|
|
247
246
|
setTimeout(() => {
|
|
248
247
|
this.$container.find('.header-loading').removeClass('active');
|
|
@@ -250,6 +249,23 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
250
249
|
}
|
|
251
250
|
}
|
|
252
251
|
|
|
252
|
+
_checkProcessQueue() {
|
|
253
|
+
let next = this._process_queue.shift();
|
|
254
|
+
this._current_process = null;
|
|
255
|
+
if (next) {
|
|
256
|
+
this._pushState(next[0], next[1]);
|
|
257
|
+
} else if (this._redirectAfterCurrentProcess) {
|
|
258
|
+
const temp = this._redirectAfterCurrentProcess;
|
|
259
|
+
this._redirectAfterCurrentProcess=null;
|
|
260
|
+
this.goTo(temp);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
_RedirectOnView($btn) {
|
|
266
|
+
this._redirectAfterCurrentProcess = $($btn).attr('href');
|
|
267
|
+
}
|
|
268
|
+
|
|
253
269
|
_updateBreadcrumb() {
|
|
254
270
|
this._breadcrumb.splice(this._history_path.length);
|
|
255
271
|
const $breadcrumps = this.find('.breadcrumb');
|
|
@@ -508,7 +524,7 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
508
524
|
const $sub_container = container.find(`.${SDC_DETAIL_CONTROLLER}`);
|
|
509
525
|
const df = $sub_container.data('default-controller');
|
|
510
526
|
if (df) {
|
|
511
|
-
this._pushState(`.~${df}
|
|
527
|
+
this._pushState(`.~${df}`, false);
|
|
512
528
|
return true;
|
|
513
529
|
}
|
|
514
530
|
|
|
@@ -517,7 +533,7 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
517
533
|
|
|
518
534
|
_pushState(url, commit= true) {
|
|
519
535
|
if(this._is_processing) {
|
|
520
|
-
this._process_queue.push(url);
|
|
536
|
+
this._process_queue.push([url, commit]);
|
|
521
537
|
return;
|
|
522
538
|
}
|
|
523
539
|
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/Assets/tests/sdc_tools.test.js
RENAMED
|
@@ -63,7 +63,8 @@ describe('SdcNavigator', () => {
|
|
|
63
63
|
test('Navigate next level [A.2]', async () => {
|
|
64
64
|
trigger('goTo', './sdc-dummy', {text: 'SUB DUMMY A.2'});
|
|
65
65
|
await new Promise(resolve => setTimeout(resolve, 100));
|
|
66
|
-
|
|
66
|
+
let idx = controller._origin_target.length - 1
|
|
67
|
+
expect(controller.find(`.${idx}_sdc_sub_detail_container.active`).text().trim()).toBe('SUB DUMMY A.2');
|
|
67
68
|
});
|
|
68
69
|
|
|
69
70
|
test('Navigate next level [B]', async () => {
|
|
@@ -94,7 +95,8 @@ describe('SdcNavigator', () => {
|
|
|
94
95
|
trigger('goTo', ['/', 'sdc-dummy'], {text: 'DUMMY B'});
|
|
95
96
|
trigger('goTo', ['', 'sdc-dummy', 'sdc-dummy'], {text: 'SUB DUMMY B'});
|
|
96
97
|
trigger('goTo', ['..']);
|
|
97
|
-
await new Promise(resolve => setTimeout(resolve,
|
|
98
|
+
await new Promise(resolve => setTimeout(resolve, 1000));
|
|
99
|
+
console.log(controller);
|
|
98
100
|
expect(controller.find('.0_sdc_sub_detail_container.active').text().trim()).toBe('DUMMY B');
|
|
99
101
|
expect(controller.find('.1_sdc_sub_detail_container.active').text().trim()).toBe('');
|
|
100
102
|
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/__init__.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/_private.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/options.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/init_add/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_init.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_is_installed.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_new_model.py
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_update_links.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/management/commands/sdc_update_url.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/sdc_extentions/import_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/Assets/gulpfile.jsx
RENAMED
|
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
|
|
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
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/models/detail.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/models/list.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/sdc_views.py.txt
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/templates/base.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_core/template_files/templates/index.html
RENAMED
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/elements/inline_form.html
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/dummy_sdc.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_dummy.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_tools/templates/sdc_tools/sdc/sdc_error.html
RENAMED
|
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
|
|
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
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/Assets/src/sdc_user/sdc_user.style.scss
RENAMED
|
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
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/templates/sdc_user/sdc/sdc_login.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.12 → simpledomcontrol-0.4.13}/sdc_user/templates/sdc_user/sdc/sdc_logout.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|