not-bulma 1.0.9 → 1.0.12
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/package.json
CHANGED
|
@@ -7,8 +7,8 @@ class notBreadcrumbs{
|
|
|
7
7
|
|
|
8
8
|
static render({target, root = '', navigate}){
|
|
9
9
|
this.remove();
|
|
10
|
-
if(
|
|
11
|
-
this.ui = new
|
|
10
|
+
if(notBreadcrumbs.UIConstructor){
|
|
11
|
+
this.ui = new notBreadcrumbs.UIConstructor({
|
|
12
12
|
target,
|
|
13
13
|
props:{
|
|
14
14
|
items: this.getBreadcrumbs(),
|
|
@@ -10,7 +10,7 @@ import notCommon from '../common';
|
|
|
10
10
|
import CRUDVariantsPreloader from './variants.preloader.js';
|
|
11
11
|
import CRUDRouter from './router.js';
|
|
12
12
|
import CRUDMessage from './message.js';
|
|
13
|
-
import
|
|
13
|
+
import CRUDActions from './actions';
|
|
14
14
|
|
|
15
15
|
const BREADCRUMBS = [];
|
|
16
16
|
const TITLE_FIELDS_PRIORITY = ['title', 'label', 'id', 'name'];
|
|
@@ -24,7 +24,7 @@ class notCRUD extends notController {
|
|
|
24
24
|
TITLE_FIELDS_PRIORITY = TITLE_FIELDS_PRIORITY;
|
|
25
25
|
static ERROR_DEFAULT = UICommon.ERROR_DEFAULT;
|
|
26
26
|
|
|
27
|
-
constructor(app, name, { actions, router, preloader}) {
|
|
27
|
+
constructor(app, name, { actions, router, preloader} = {}) {
|
|
28
28
|
super(app, `CRUD.${name}`);
|
|
29
29
|
if(actions){
|
|
30
30
|
this.#actions = {...this.#actions, ...actions};
|
package/src/frame/crud/router.js
CHANGED