@kizmann/nano-ui 1.0.2 → 1.0.3
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/dist/nano-ui.js +2 -2
- package/dist/nano-ui.js.map +1 -1
- package/package.json +5 -4
- package/src/config/src/builder/builder.js +10 -10
- package/src/config/src/builder/prototypes/button/n-button-group.js +3 -3
- package/src/config/src/builder/prototypes/button/n-button.js +8 -8
- package/src/config/src/builder/prototypes/cascader/n-cascader.js +3 -3
- package/src/config/src/builder/prototypes/checkbox/n-checkbox-group.js +3 -3
- package/src/config/src/builder/prototypes/checkbox/n-checkbox.js +3 -3
- package/src/config/src/builder/prototypes/confirm/n-confirm.js +3 -3
- package/src/config/src/builder/prototypes/datepicker/n-datepicker.js +3 -3
- package/src/config/src/builder/prototypes/datetimepicker/n-datetimepicker.js +3 -3
- package/src/config/src/builder/prototypes/durationpicker/n-durationpicker.js +3 -3
- package/src/config/src/builder/prototypes/empty/n-empty.js +3 -3
- package/src/config/src/builder/prototypes/form/n-form-group.js +3 -3
- package/src/config/src/builder/prototypes/form/n-form-item.js +3 -3
- package/src/config/src/builder/prototypes/form/n-form.js +3 -3
- package/src/config/src/builder/prototypes/html/div.js +3 -3
- package/src/config/src/builder/prototypes/html/nano.js +3 -3
- package/src/config/src/builder/prototypes/html/span.js +3 -3
- package/src/config/src/builder/prototypes/info/n-info-column.js +3 -3
- package/src/config/src/builder/prototypes/info/n-info.js +3 -3
- package/src/config/src/builder/prototypes/input/n-input.js +7 -7
- package/src/config/src/builder/prototypes/input-number/n-input-number.js +7 -7
- package/src/config/src/builder/prototypes/loader/n-loader.js +3 -3
- package/src/config/src/builder/prototypes/modal/n-modal.js +3 -3
- package/src/config/src/builder/prototypes/popover/n-popover-group.js +3 -3
- package/src/config/src/builder/prototypes/popover/n-popover-item.js +3 -3
- package/src/config/src/builder/prototypes/popover/n-popover.js +3 -3
- package/src/config/src/builder/prototypes/radio/n-radio-group.js +3 -3
- package/src/config/src/builder/prototypes/radio/n-radio.js +3 -3
- package/src/config/src/builder/prototypes/rating/n-rating.js +3 -3
- package/src/config/src/builder/prototypes/select/n-select.js +3 -3
- package/src/config/src/builder/prototypes/slider/n-slider.js +3 -3
- package/src/config/src/builder/prototypes/switch/n-switch.js +7 -7
- package/src/config/src/builder/prototypes/table/n-table-column.js +3 -3
- package/src/config/src/builder/prototypes/table/n-table.js +3 -3
- package/src/config/src/builder/prototypes/tabs/n-tabs-item.js +3 -3
- package/src/config/src/builder/prototypes/tabs/n-tabs.js +3 -3
- package/src/config/src/builder/prototypes/tags/n-tags-item.js +3 -3
- package/src/config/src/builder/prototypes/tags/n-tags.js +3 -3
- package/src/config/src/builder/prototypes/textarea/n-textarea.js +3 -3
- package/src/config/src/builder/prototypes/timepicker/n-timepicker.js +3 -3
- package/src/config/src/builder/prototypes/transfer/n-transfer.js +3 -3
- package/src/draggable/src/draggrid/draggrid.js +2 -2
- package/src/draggable/src/draggrid-item/draggrid-item.js +1 -1
- package/src/draggable/src/draghandler/draghandler.js +14 -14
- package/src/draggable/src/draglist/draglist.js +2 -2
- package/src/draggable/src/draglist-item/draglist-item.js +1 -1
- package/src/draggable/src/dropzone/dropzone.js +1 -1
- package/src/index.js +13 -13
- package/src/preview/src/preview/preview.js +2 -2
- package/src/preview/src/preview-video/preview-video.js +4 -4
- package/src/virtualscroller/src/virtualscroller/virtualscroller.beta.js +1 -1
- package/types/index.d.ts +44 -0
package/package.json
CHANGED
@@ -1,16 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kizmann/nano-ui",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.3",
|
4
4
|
"license": "MIT",
|
5
5
|
"private": false,
|
6
6
|
"author": "Eduard Kizmann <kizmann@protonmail.ch>",
|
7
7
|
"repository": "https://github.com/vankizmann/nano-ui",
|
8
8
|
"main": "src/index.js",
|
9
9
|
"unpkg": "dist/nano-ui.js",
|
10
|
+
"types": "types/index.d.ts",
|
10
11
|
"files": [
|
11
12
|
"dist/",
|
12
13
|
"src/",
|
13
14
|
"themes/",
|
15
|
+
"types/",
|
14
16
|
"package.json"
|
15
17
|
],
|
16
18
|
"scripts": {
|
@@ -44,9 +46,8 @@
|
|
44
46
|
"webpack-dev-server": "^4.0.0"
|
45
47
|
},
|
46
48
|
"dependencies": {
|
47
|
-
"@kizmann/pico-js": "^1.0.
|
49
|
+
"@kizmann/pico-js": "^1.0.4",
|
48
50
|
"docsify": "^4.13.1",
|
49
|
-
"moment": "^2.30.1"
|
50
|
-
"global": "^4.4.0"
|
51
|
+
"moment": "^2.30.1"
|
51
52
|
}
|
52
53
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Arr, Dom, Any, Locale, Obj, UUID, Num } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderPropType = {
|
4
4
|
'root': Locale.trans('Root'),
|
5
5
|
'binds': Locale.trans('Bind'),
|
6
6
|
'props': Locale.trans('Property'),
|
@@ -8,7 +8,7 @@ global.NanoBuilderPropType = {
|
|
8
8
|
'on': Locale.trans('Event'),
|
9
9
|
};
|
10
10
|
|
11
|
-
|
11
|
+
window.NanoBuilderPropCode = {
|
12
12
|
'string': Locale.trans('String'),
|
13
13
|
'number': Locale.trans('Number'),
|
14
14
|
'boolean': Locale.trans('Boolean'),
|
@@ -16,7 +16,7 @@ global.NanoBuilderPropCode = {
|
|
16
16
|
'function': Locale.trans('Function'),
|
17
17
|
};
|
18
18
|
|
19
|
-
|
19
|
+
window.NanoBuilderProps = {
|
20
20
|
classList: {
|
21
21
|
for: ['root', 'attrs', 'props'], type: 'String'
|
22
22
|
},
|
@@ -28,11 +28,11 @@ global.NanoBuilderProps = {
|
|
28
28
|
},
|
29
29
|
};
|
30
30
|
|
31
|
-
|
31
|
+
window.NanoBuilderTypes = {
|
32
32
|
//
|
33
33
|
};
|
34
34
|
|
35
|
-
|
35
|
+
window.NanoBuilderIndexies = {
|
36
36
|
//
|
37
37
|
};
|
38
38
|
|
@@ -623,9 +623,9 @@ export default {
|
|
623
623
|
let group = key.replace(/^.*?([^\.]+):([^\.]+)$/, '$1')
|
624
624
|
let value = Obj.get(this.$data, `${key}.builder.${sub}`, {});
|
625
625
|
|
626
|
-
let props = Obj.clone(Obj.get(
|
626
|
+
let props = Obj.clone(Obj.get(window.NanoBuilderIndexies, `${group}.props`, {}));
|
627
627
|
|
628
|
-
props = Obj.assign({},
|
628
|
+
props = Obj.assign({}, window.NanoBuilderProps, props);
|
629
629
|
|
630
630
|
Obj.each(props, (prop, index) => {
|
631
631
|
if ( ! Any.isEmpty(prop.for) && ! Arr.has(prop.for, value.type) ) {
|
@@ -634,7 +634,7 @@ export default {
|
|
634
634
|
});
|
635
635
|
|
636
636
|
let typeProps = {
|
637
|
-
size: 'sm', options:
|
637
|
+
size: 'sm', options: window.NanoBuilderPropType
|
638
638
|
};
|
639
639
|
|
640
640
|
typeProps['onUpdate:modelValue'] = () => {
|
@@ -650,7 +650,7 @@ export default {
|
|
650
650
|
};
|
651
651
|
|
652
652
|
let codeProps = {
|
653
|
-
size: 'sm', options:
|
653
|
+
size: 'sm', options: window.NanoBuilderPropCode
|
654
654
|
};
|
655
655
|
|
656
656
|
codeProps['onUpdate:modelValue'] = () => {
|
@@ -716,7 +716,7 @@ export default {
|
|
716
716
|
}
|
717
717
|
|
718
718
|
let elementProps = {
|
719
|
-
options:
|
719
|
+
options: window.NanoBuilderTypes, allowCreate: true, modelValue: key.replace(/^.*?([^\.]+):([^\.]+)$/, '$1'),
|
720
720
|
};
|
721
721
|
|
722
722
|
elementProps['onUpdate:modelValue'] = (value) => {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NButtonGroup'] = Locale.trans('n-button-group');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NButtonGroup'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NButtonGroup']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,26 +1,26 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NButton'] = Locale.trans('NButton');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NButton'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NButton']['props'] = {
|
10
10
|
size: {
|
11
|
-
for: ['binds', 'props'], type: 'String', options:
|
11
|
+
for: ['binds', 'props'], type: 'String', options: window.NanoPrototypeSizes
|
12
12
|
},
|
13
13
|
type: {
|
14
|
-
for: ['binds', 'props'], type: 'String', options:
|
14
|
+
for: ['binds', 'props'], type: 'String', options: window.NanoPrototypeTypes
|
15
15
|
},
|
16
16
|
link: {
|
17
|
-
for: ['binds', 'props'], type: 'Boolean', options:
|
17
|
+
for: ['binds', 'props'], type: 'Boolean', options: window.NanoPrototypeBools
|
18
18
|
},
|
19
19
|
square: {
|
20
|
-
for: ['binds', 'props'], type: 'Boolean', options:
|
20
|
+
for: ['binds', 'props'], type: 'Boolean', options: window.NanoPrototypeBools
|
21
21
|
},
|
22
22
|
disabled: {
|
23
|
-
for: ['binds', 'props'], type: 'Boolean', options:
|
23
|
+
for: ['binds', 'props'], type: 'Boolean', options: window.NanoPrototypeBools
|
24
24
|
},
|
25
25
|
icon: {
|
26
26
|
for: ['binds', 'props'], type: 'String'
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NCascader'] = Locale.trans('n-cascader');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NCascader'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NCascader']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NCheckboxGroup'] = Locale.trans('NCheckboxGroup');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NCheckboxGroup'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NCheckboxGroup']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NCheckbox'] = Locale.trans('n-checkbox');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NCheckbox'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NCheckbox']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NConfirm'] = Locale.trans('n-confirm');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NConfirm'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NConfirm']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NDatepicker'] = Locale.trans('NDatepicker');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NDatepicker'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NDatepicker']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NDatetimepicker'] = Locale.trans('NDatetimepicker');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NDatetimepicker'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NDatetimepicker']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NDurationpicker'] = Locale.trans('NDurationpicker');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NDurationpicker'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NDurationpicker']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NEmpty'] = Locale.trans('NEmpty');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NEmpty'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NEmpty']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NFormGroup'] = Locale.trans('NFormGroup');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NFormGroup'] = {
|
6
6
|
childs: true, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NFormGroup']['props'] = {
|
10
10
|
label: {
|
11
11
|
for: ['binds', 'props'], type: 'String'
|
12
12
|
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NFormItem'] = Locale.trans('NFormItem');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NFormItem'] = {
|
6
6
|
childs: true, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NFormItem']['props'] = {
|
10
10
|
label: {
|
11
11
|
for: ['binds', 'props'], type: 'String'
|
12
12
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NForm'] = Locale.trans('NForm');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NForm'] = {
|
6
6
|
childs: true, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NForm']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['div'] = Locale.trans('div');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['div'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['div']['props'] = {
|
10
10
|
classList: {
|
11
11
|
type: 'String'
|
12
12
|
},
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
1
|
+
window.NanoPrototypeSizes = [
|
2
2
|
'xs', 'sm', 'md', 'lg'
|
3
3
|
];
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoPrototypeTypes = [
|
6
6
|
'primary', 'secondary', 'success', 'warning', 'danger', 'info'
|
7
7
|
];
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoPrototypeBools = [
|
10
10
|
'true', 'false'
|
11
11
|
];
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['span'] = Locale.trans('span');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['span'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['span']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NInfoColumn'] = Locale.trans('n-info-column');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NInfoColumn'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NInfoColumn']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NInfo'] = Locale.trans('NInfo');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NInfo'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NInfo']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,23 +1,23 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NInput'] = Locale.trans('NInput');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NInput'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NInput']['props'] = {
|
10
10
|
modelValue: {
|
11
11
|
for: ['binds', 'props'], default: null, type: 'String'
|
12
12
|
},
|
13
13
|
size: {
|
14
|
-
for: ['binds', 'props'], default: 'md', type: 'String', options:
|
14
|
+
for: ['binds', 'props'], default: 'md', type: 'String', options: window.NanoPrototypeSizes
|
15
15
|
},
|
16
16
|
type: {
|
17
|
-
for: ['binds', 'props'], default: 'primary', type: 'String', options:
|
17
|
+
for: ['binds', 'props'], default: 'primary', type: 'String', options: window.NanoPrototypeTypes
|
18
18
|
},
|
19
19
|
disabled: {
|
20
|
-
for: ['binds', 'props'], default: false, type: 'Boolean', options:
|
20
|
+
for: ['binds', 'props'], default: false, type: 'Boolean', options: window.NanoPrototypeBools
|
21
21
|
},
|
22
22
|
placeholder: {
|
23
23
|
for: ['binds', 'props'], default: '', type: 'String'
|
@@ -32,7 +32,7 @@ global.NanoBuilderIndexies['NInput']['props'] = {
|
|
32
32
|
for: ['binds', 'props'], default: 'before', type: 'String', options: ['before', 'after']
|
33
33
|
},
|
34
34
|
iconDisabled: {
|
35
|
-
for: ['binds', 'props'], default: null, type: 'Boolean', options:
|
35
|
+
for: ['binds', 'props'], default: null, type: 'Boolean', options: window.NanoPrototypeBools
|
36
36
|
},
|
37
37
|
iconClick: {
|
38
38
|
for: ['on'], type: 'String'
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NInputNumber'] = Locale.trans('NInputNumber');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NInputNumber'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NInputNumber']['props'] = {
|
10
10
|
modelValue: {
|
11
11
|
for: ['binds', 'props'], default: null, type: 'Number'
|
12
12
|
},
|
@@ -14,7 +14,7 @@ global.NanoBuilderIndexies['NInputNumber']['props'] = {
|
|
14
14
|
for: ['binds', 'props'], default: null, type: 'Number'
|
15
15
|
},
|
16
16
|
clearable: {
|
17
|
-
for: ['binds', 'props'], default: false, type: 'Boolean', options:
|
17
|
+
for: ['binds', 'props'], default: false, type: 'Boolean', options: window.NanoPrototypeBools
|
18
18
|
},
|
19
19
|
min: {
|
20
20
|
for: ['binds', 'props'], default: 0, type: 'Number'
|
@@ -29,13 +29,13 @@ global.NanoBuilderIndexies['NInputNumber']['props'] = {
|
|
29
29
|
for: ['binds', 'props'], default: 0, type: 'Number'
|
30
30
|
},
|
31
31
|
size: {
|
32
|
-
for: ['binds', 'props'], default: 'md', type: 'String', options:
|
32
|
+
for: ['binds', 'props'], default: 'md', type: 'String', options: window.NanoPrototypeSizes
|
33
33
|
},
|
34
34
|
type: {
|
35
|
-
for: ['binds', 'props'], default: 'primary', type: 'String', options:
|
35
|
+
for: ['binds', 'props'], default: 'primary', type: 'String', options: window.NanoPrototypeTypes
|
36
36
|
},
|
37
37
|
disabled: {
|
38
|
-
for: ['binds', 'props'], default: false, type: 'Boolean', options:
|
38
|
+
for: ['binds', 'props'], default: false, type: 'Boolean', options: window.NanoPrototypeBools
|
39
39
|
},
|
40
40
|
placeholder: {
|
41
41
|
for: ['binds', 'props'], default: '', type: 'String'
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NLoader'] = Locale.trans('NLoader');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NLoader'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NLoader']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NModal'] = Locale.trans('NModal');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NModal'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NModal']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NPopoverGroup'] = Locale.trans('n-popover-group');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NPopoverGroup'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NPopoverGroup']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NPopoverItem'] = Locale.trans('n-popover-item');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NPopoverItem'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NPopoverItem']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NPopover'] = Locale.trans('n-popover');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NPopover'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NPopover']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NRadioGroup'] = Locale.trans('NRadioGroup');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NRadioGroup'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NRadioGroup']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NRadio'] = Locale.trans('NRadio');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NRadio'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NRadio']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NRating'] = Locale.trans('NRating');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NRating'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NRating']['props'] = {
|
10
10
|
//
|
11
11
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Locale } from "@kizmann/pico-js";
|
2
2
|
|
3
|
-
|
3
|
+
window.NanoBuilderTypes['NSelect'] = Locale.trans('NSelect');
|
4
4
|
|
5
|
-
|
5
|
+
window.NanoBuilderIndexies['NSelect'] = {
|
6
6
|
childs: false, props: {}
|
7
7
|
};
|
8
8
|
|
9
|
-
|
9
|
+
window.NanoBuilderIndexies['NSelect']['props'] = {
|
10
10
|
//
|
11
11
|
};
|