@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.
Files changed (55) hide show
  1. package/dist/nano-ui.js +2 -2
  2. package/dist/nano-ui.js.map +1 -1
  3. package/package.json +5 -4
  4. package/src/config/src/builder/builder.js +10 -10
  5. package/src/config/src/builder/prototypes/button/n-button-group.js +3 -3
  6. package/src/config/src/builder/prototypes/button/n-button.js +8 -8
  7. package/src/config/src/builder/prototypes/cascader/n-cascader.js +3 -3
  8. package/src/config/src/builder/prototypes/checkbox/n-checkbox-group.js +3 -3
  9. package/src/config/src/builder/prototypes/checkbox/n-checkbox.js +3 -3
  10. package/src/config/src/builder/prototypes/confirm/n-confirm.js +3 -3
  11. package/src/config/src/builder/prototypes/datepicker/n-datepicker.js +3 -3
  12. package/src/config/src/builder/prototypes/datetimepicker/n-datetimepicker.js +3 -3
  13. package/src/config/src/builder/prototypes/durationpicker/n-durationpicker.js +3 -3
  14. package/src/config/src/builder/prototypes/empty/n-empty.js +3 -3
  15. package/src/config/src/builder/prototypes/form/n-form-group.js +3 -3
  16. package/src/config/src/builder/prototypes/form/n-form-item.js +3 -3
  17. package/src/config/src/builder/prototypes/form/n-form.js +3 -3
  18. package/src/config/src/builder/prototypes/html/div.js +3 -3
  19. package/src/config/src/builder/prototypes/html/nano.js +3 -3
  20. package/src/config/src/builder/prototypes/html/span.js +3 -3
  21. package/src/config/src/builder/prototypes/info/n-info-column.js +3 -3
  22. package/src/config/src/builder/prototypes/info/n-info.js +3 -3
  23. package/src/config/src/builder/prototypes/input/n-input.js +7 -7
  24. package/src/config/src/builder/prototypes/input-number/n-input-number.js +7 -7
  25. package/src/config/src/builder/prototypes/loader/n-loader.js +3 -3
  26. package/src/config/src/builder/prototypes/modal/n-modal.js +3 -3
  27. package/src/config/src/builder/prototypes/popover/n-popover-group.js +3 -3
  28. package/src/config/src/builder/prototypes/popover/n-popover-item.js +3 -3
  29. package/src/config/src/builder/prototypes/popover/n-popover.js +3 -3
  30. package/src/config/src/builder/prototypes/radio/n-radio-group.js +3 -3
  31. package/src/config/src/builder/prototypes/radio/n-radio.js +3 -3
  32. package/src/config/src/builder/prototypes/rating/n-rating.js +3 -3
  33. package/src/config/src/builder/prototypes/select/n-select.js +3 -3
  34. package/src/config/src/builder/prototypes/slider/n-slider.js +3 -3
  35. package/src/config/src/builder/prototypes/switch/n-switch.js +7 -7
  36. package/src/config/src/builder/prototypes/table/n-table-column.js +3 -3
  37. package/src/config/src/builder/prototypes/table/n-table.js +3 -3
  38. package/src/config/src/builder/prototypes/tabs/n-tabs-item.js +3 -3
  39. package/src/config/src/builder/prototypes/tabs/n-tabs.js +3 -3
  40. package/src/config/src/builder/prototypes/tags/n-tags-item.js +3 -3
  41. package/src/config/src/builder/prototypes/tags/n-tags.js +3 -3
  42. package/src/config/src/builder/prototypes/textarea/n-textarea.js +3 -3
  43. package/src/config/src/builder/prototypes/timepicker/n-timepicker.js +3 -3
  44. package/src/config/src/builder/prototypes/transfer/n-transfer.js +3 -3
  45. package/src/draggable/src/draggrid/draggrid.js +2 -2
  46. package/src/draggable/src/draggrid-item/draggrid-item.js +1 -1
  47. package/src/draggable/src/draghandler/draghandler.js +14 -14
  48. package/src/draggable/src/draglist/draglist.js +2 -2
  49. package/src/draggable/src/draglist-item/draglist-item.js +1 -1
  50. package/src/draggable/src/dropzone/dropzone.js +1 -1
  51. package/src/index.js +13 -13
  52. package/src/preview/src/preview/preview.js +2 -2
  53. package/src/preview/src/preview-video/preview-video.js +4 -4
  54. package/src/virtualscroller/src/virtualscroller/virtualscroller.beta.js +1 -1
  55. 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.2",
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.3",
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
- global.NanoBuilderPropType = {
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
- global.NanoBuilderPropCode = {
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
- global.NanoBuilderProps = {
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
- global.NanoBuilderTypes = {
31
+ window.NanoBuilderTypes = {
32
32
  //
33
33
  };
34
34
 
35
- global.NanoBuilderIndexies = {
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(global.NanoBuilderIndexies, `${group}.props`, {}));
626
+ let props = Obj.clone(Obj.get(window.NanoBuilderIndexies, `${group}.props`, {}));
627
627
 
628
- props = Obj.assign({}, global.NanoBuilderProps, props);
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: global.NanoBuilderPropType
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: global.NanoBuilderPropCode
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: global.NanoBuilderTypes, allowCreate: true, modelValue: key.replace(/^.*?([^\.]+):([^\.]+)$/, '$1'),
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
- global.NanoBuilderTypes['NButtonGroup'] = Locale.trans('n-button-group');
3
+ window.NanoBuilderTypes['NButtonGroup'] = Locale.trans('n-button-group');
4
4
 
5
- global.NanoBuilderIndexies['NButtonGroup'] = {
5
+ window.NanoBuilderIndexies['NButtonGroup'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NButtonGroup']['props'] = {
9
+ window.NanoBuilderIndexies['NButtonGroup']['props'] = {
10
10
  //
11
11
  };
@@ -1,26 +1,26 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NButton'] = Locale.trans('NButton');
3
+ window.NanoBuilderTypes['NButton'] = Locale.trans('NButton');
4
4
 
5
- global.NanoBuilderIndexies['NButton'] = {
5
+ window.NanoBuilderIndexies['NButton'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NButton']['props'] = {
9
+ window.NanoBuilderIndexies['NButton']['props'] = {
10
10
  size: {
11
- for: ['binds', 'props'], type: 'String', options: global.NanoPrototypeSizes
11
+ for: ['binds', 'props'], type: 'String', options: window.NanoPrototypeSizes
12
12
  },
13
13
  type: {
14
- for: ['binds', 'props'], type: 'String', options: global.NanoPrototypeTypes
14
+ for: ['binds', 'props'], type: 'String', options: window.NanoPrototypeTypes
15
15
  },
16
16
  link: {
17
- for: ['binds', 'props'], type: 'Boolean', options: global.NanoPrototypeBools
17
+ for: ['binds', 'props'], type: 'Boolean', options: window.NanoPrototypeBools
18
18
  },
19
19
  square: {
20
- for: ['binds', 'props'], type: 'Boolean', options: global.NanoPrototypeBools
20
+ for: ['binds', 'props'], type: 'Boolean', options: window.NanoPrototypeBools
21
21
  },
22
22
  disabled: {
23
- for: ['binds', 'props'], type: 'Boolean', options: global.NanoPrototypeBools
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
- global.NanoBuilderTypes['NCascader'] = Locale.trans('n-cascader');
3
+ window.NanoBuilderTypes['NCascader'] = Locale.trans('n-cascader');
4
4
 
5
- global.NanoBuilderIndexies['NCascader'] = {
5
+ window.NanoBuilderIndexies['NCascader'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NCascader']['props'] = {
9
+ window.NanoBuilderIndexies['NCascader']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NCheckboxGroup'] = Locale.trans('NCheckboxGroup');
3
+ window.NanoBuilderTypes['NCheckboxGroup'] = Locale.trans('NCheckboxGroup');
4
4
 
5
- global.NanoBuilderIndexies['NCheckboxGroup'] = {
5
+ window.NanoBuilderIndexies['NCheckboxGroup'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NCheckboxGroup']['props'] = {
9
+ window.NanoBuilderIndexies['NCheckboxGroup']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NCheckbox'] = Locale.trans('n-checkbox');
3
+ window.NanoBuilderTypes['NCheckbox'] = Locale.trans('n-checkbox');
4
4
 
5
- global.NanoBuilderIndexies['NCheckbox'] = {
5
+ window.NanoBuilderIndexies['NCheckbox'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NCheckbox']['props'] = {
9
+ window.NanoBuilderIndexies['NCheckbox']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NConfirm'] = Locale.trans('n-confirm');
3
+ window.NanoBuilderTypes['NConfirm'] = Locale.trans('n-confirm');
4
4
 
5
- global.NanoBuilderIndexies['NConfirm'] = {
5
+ window.NanoBuilderIndexies['NConfirm'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NConfirm']['props'] = {
9
+ window.NanoBuilderIndexies['NConfirm']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NDatepicker'] = Locale.trans('NDatepicker');
3
+ window.NanoBuilderTypes['NDatepicker'] = Locale.trans('NDatepicker');
4
4
 
5
- global.NanoBuilderIndexies['NDatepicker'] = {
5
+ window.NanoBuilderIndexies['NDatepicker'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NDatepicker']['props'] = {
9
+ window.NanoBuilderIndexies['NDatepicker']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NDatetimepicker'] = Locale.trans('NDatetimepicker');
3
+ window.NanoBuilderTypes['NDatetimepicker'] = Locale.trans('NDatetimepicker');
4
4
 
5
- global.NanoBuilderIndexies['NDatetimepicker'] = {
5
+ window.NanoBuilderIndexies['NDatetimepicker'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NDatetimepicker']['props'] = {
9
+ window.NanoBuilderIndexies['NDatetimepicker']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NDurationpicker'] = Locale.trans('NDurationpicker');
3
+ window.NanoBuilderTypes['NDurationpicker'] = Locale.trans('NDurationpicker');
4
4
 
5
- global.NanoBuilderIndexies['NDurationpicker'] = {
5
+ window.NanoBuilderIndexies['NDurationpicker'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NDurationpicker']['props'] = {
9
+ window.NanoBuilderIndexies['NDurationpicker']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NEmpty'] = Locale.trans('NEmpty');
3
+ window.NanoBuilderTypes['NEmpty'] = Locale.trans('NEmpty');
4
4
 
5
- global.NanoBuilderIndexies['NEmpty'] = {
5
+ window.NanoBuilderIndexies['NEmpty'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NEmpty']['props'] = {
9
+ window.NanoBuilderIndexies['NEmpty']['props'] = {
10
10
  //
11
11
  };
@@ -1,12 +1,12 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NFormGroup'] = Locale.trans('NFormGroup');
3
+ window.NanoBuilderTypes['NFormGroup'] = Locale.trans('NFormGroup');
4
4
 
5
- global.NanoBuilderIndexies['NFormGroup'] = {
5
+ window.NanoBuilderIndexies['NFormGroup'] = {
6
6
  childs: true, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NFormGroup']['props'] = {
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
- global.NanoBuilderTypes['NFormItem'] = Locale.trans('NFormItem');
3
+ window.NanoBuilderTypes['NFormItem'] = Locale.trans('NFormItem');
4
4
 
5
- global.NanoBuilderIndexies['NFormItem'] = {
5
+ window.NanoBuilderIndexies['NFormItem'] = {
6
6
  childs: true, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NFormItem']['props'] = {
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
- global.NanoBuilderTypes['NForm'] = Locale.trans('NForm');
3
+ window.NanoBuilderTypes['NForm'] = Locale.trans('NForm');
4
4
 
5
- global.NanoBuilderIndexies['NForm'] = {
5
+ window.NanoBuilderIndexies['NForm'] = {
6
6
  childs: true, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NForm']['props'] = {
9
+ window.NanoBuilderIndexies['NForm']['props'] = {
10
10
  //
11
11
  };
@@ -1,12 +1,12 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['div'] = Locale.trans('div');
3
+ window.NanoBuilderTypes['div'] = Locale.trans('div');
4
4
 
5
- global.NanoBuilderIndexies['div'] = {
5
+ window.NanoBuilderIndexies['div'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['div']['props'] = {
9
+ window.NanoBuilderIndexies['div']['props'] = {
10
10
  classList: {
11
11
  type: 'String'
12
12
  },
@@ -1,11 +1,11 @@
1
- global.NanoPrototypeSizes = [
1
+ window.NanoPrototypeSizes = [
2
2
  'xs', 'sm', 'md', 'lg'
3
3
  ];
4
4
 
5
- global.NanoPrototypeTypes = [
5
+ window.NanoPrototypeTypes = [
6
6
  'primary', 'secondary', 'success', 'warning', 'danger', 'info'
7
7
  ];
8
8
 
9
- global.NanoPrototypeBools = [
9
+ window.NanoPrototypeBools = [
10
10
  'true', 'false'
11
11
  ];
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['span'] = Locale.trans('span');
3
+ window.NanoBuilderTypes['span'] = Locale.trans('span');
4
4
 
5
- global.NanoBuilderIndexies['span'] = {
5
+ window.NanoBuilderIndexies['span'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['span']['props'] = {
9
+ window.NanoBuilderIndexies['span']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NInfoColumn'] = Locale.trans('n-info-column');
3
+ window.NanoBuilderTypes['NInfoColumn'] = Locale.trans('n-info-column');
4
4
 
5
- global.NanoBuilderIndexies['NInfoColumn'] = {
5
+ window.NanoBuilderIndexies['NInfoColumn'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NInfoColumn']['props'] = {
9
+ window.NanoBuilderIndexies['NInfoColumn']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NInfo'] = Locale.trans('NInfo');
3
+ window.NanoBuilderTypes['NInfo'] = Locale.trans('NInfo');
4
4
 
5
- global.NanoBuilderIndexies['NInfo'] = {
5
+ window.NanoBuilderIndexies['NInfo'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NInfo']['props'] = {
9
+ window.NanoBuilderIndexies['NInfo']['props'] = {
10
10
  //
11
11
  };
@@ -1,23 +1,23 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NInput'] = Locale.trans('NInput');
3
+ window.NanoBuilderTypes['NInput'] = Locale.trans('NInput');
4
4
 
5
- global.NanoBuilderIndexies['NInput'] = {
5
+ window.NanoBuilderIndexies['NInput'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NInput']['props'] = {
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: global.NanoPrototypeSizes
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: global.NanoPrototypeTypes
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: global.NanoPrototypeBools
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: global.NanoPrototypeBools
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
- global.NanoBuilderTypes['NInputNumber'] = Locale.trans('NInputNumber');
3
+ window.NanoBuilderTypes['NInputNumber'] = Locale.trans('NInputNumber');
4
4
 
5
- global.NanoBuilderIndexies['NInputNumber'] = {
5
+ window.NanoBuilderIndexies['NInputNumber'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NInputNumber']['props'] = {
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: global.NanoPrototypeBools
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: global.NanoPrototypeSizes
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: global.NanoPrototypeTypes
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: global.NanoPrototypeBools
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
- global.NanoBuilderTypes['NLoader'] = Locale.trans('NLoader');
3
+ window.NanoBuilderTypes['NLoader'] = Locale.trans('NLoader');
4
4
 
5
- global.NanoBuilderIndexies['NLoader'] = {
5
+ window.NanoBuilderIndexies['NLoader'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NLoader']['props'] = {
9
+ window.NanoBuilderIndexies['NLoader']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NModal'] = Locale.trans('NModal');
3
+ window.NanoBuilderTypes['NModal'] = Locale.trans('NModal');
4
4
 
5
- global.NanoBuilderIndexies['NModal'] = {
5
+ window.NanoBuilderIndexies['NModal'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NModal']['props'] = {
9
+ window.NanoBuilderIndexies['NModal']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NPopoverGroup'] = Locale.trans('n-popover-group');
3
+ window.NanoBuilderTypes['NPopoverGroup'] = Locale.trans('n-popover-group');
4
4
 
5
- global.NanoBuilderIndexies['NPopoverGroup'] = {
5
+ window.NanoBuilderIndexies['NPopoverGroup'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NPopoverGroup']['props'] = {
9
+ window.NanoBuilderIndexies['NPopoverGroup']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NPopoverItem'] = Locale.trans('n-popover-item');
3
+ window.NanoBuilderTypes['NPopoverItem'] = Locale.trans('n-popover-item');
4
4
 
5
- global.NanoBuilderIndexies['NPopoverItem'] = {
5
+ window.NanoBuilderIndexies['NPopoverItem'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NPopoverItem']['props'] = {
9
+ window.NanoBuilderIndexies['NPopoverItem']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NPopover'] = Locale.trans('n-popover');
3
+ window.NanoBuilderTypes['NPopover'] = Locale.trans('n-popover');
4
4
 
5
- global.NanoBuilderIndexies['NPopover'] = {
5
+ window.NanoBuilderIndexies['NPopover'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NPopover']['props'] = {
9
+ window.NanoBuilderIndexies['NPopover']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NRadioGroup'] = Locale.trans('NRadioGroup');
3
+ window.NanoBuilderTypes['NRadioGroup'] = Locale.trans('NRadioGroup');
4
4
 
5
- global.NanoBuilderIndexies['NRadioGroup'] = {
5
+ window.NanoBuilderIndexies['NRadioGroup'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NRadioGroup']['props'] = {
9
+ window.NanoBuilderIndexies['NRadioGroup']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NRadio'] = Locale.trans('NRadio');
3
+ window.NanoBuilderTypes['NRadio'] = Locale.trans('NRadio');
4
4
 
5
- global.NanoBuilderIndexies['NRadio'] = {
5
+ window.NanoBuilderIndexies['NRadio'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NRadio']['props'] = {
9
+ window.NanoBuilderIndexies['NRadio']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NRating'] = Locale.trans('NRating');
3
+ window.NanoBuilderTypes['NRating'] = Locale.trans('NRating');
4
4
 
5
- global.NanoBuilderIndexies['NRating'] = {
5
+ window.NanoBuilderIndexies['NRating'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NRating']['props'] = {
9
+ window.NanoBuilderIndexies['NRating']['props'] = {
10
10
  //
11
11
  };
@@ -1,11 +1,11 @@
1
1
  import { Locale } from "@kizmann/pico-js";
2
2
 
3
- global.NanoBuilderTypes['NSelect'] = Locale.trans('NSelect');
3
+ window.NanoBuilderTypes['NSelect'] = Locale.trans('NSelect');
4
4
 
5
- global.NanoBuilderIndexies['NSelect'] = {
5
+ window.NanoBuilderIndexies['NSelect'] = {
6
6
  childs: false, props: {}
7
7
  };
8
8
 
9
- global.NanoBuilderIndexies['NSelect']['props'] = {
9
+ window.NanoBuilderIndexies['NSelect']['props'] = {
10
10
  //
11
11
  };