@kizmann/nano-ui 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- package/demos/builder.html +18 -8
- package/demos/overview.html +1 -1
- package/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +2 -2
- package/dist/nano-ui.js.map +1 -1
- package/dist/themes/dark.css +2 -0
- package/dist/themes/light.css +1 -1
- package/package.json +1 -1
- package/src/config/src/builder/builder.js +85 -16
- package/src/config/src/builder/builder.scss +9 -1
- package/src/config/src/config/config-next.js +16 -2
- package/src/datetimepicker/src/datetimepicker/datetimepicker.scss +2 -2
- package/src/empty/src/empty-icon/empty-icon.js +12 -0
- package/src/empty/src/empty-icon/empty-icon.scss +10 -0
- package/src/preview/src/preview/preview.js +19 -1
- package/src/preview/src/preview-image/preview-image.js +2 -1
- package/src/select/src/select/select.js +1 -1
- package/src/slider/src/slider/slider.scss +1 -6
- package/src/table/src/table/table.scss +4 -0
- package/src/tags/src/tags-item/tags-item.scss +1 -1
- package/themes/macos/alert/index.scss +1 -0
- package/themes/macos/alert/src/alert/alert.scss +26 -0
- package/themes/macos/button/index.scss +2 -0
- package/themes/macos/button/src/button/button.scss +46 -0
- package/themes/macos/button/src/button-group/button-group.scss +1 -0
- package/themes/macos/cascader/index.scss +2 -0
- package/themes/macos/cascader/src/cascader/cascader.scss +46 -0
- package/themes/macos/cascader/src/cascader-panel/cascader-panel.scss +14 -0
- package/themes/macos/checkbox/index.scss +2 -0
- package/themes/macos/checkbox/src/checkbox/checkbox.scss +44 -0
- package/themes/macos/checkbox/src/checkbox-group/checkbox-group.scss +1 -0
- package/themes/macos/collapse/index.scss +2 -0
- package/themes/macos/collapse/src/collapse/collapse.scss +21 -0
- package/themes/macos/collapse/src/collapse-item/collapse-item.scss +21 -0
- package/themes/macos/confirm/index.scss +1 -0
- package/themes/macos/confirm/src/confirm/confirm.scss +13 -0
- package/themes/macos/datepicker/index.scss +2 -0
- package/themes/macos/datepicker/src/datepicker/datepicker.scss +50 -0
- package/themes/macos/datepicker/src/datepicker-panel/datepicker-panel.scss +44 -0
- package/themes/macos/datetimepicker/index.scss +1 -0
- package/themes/macos/datetimepicker/src/datetimepicker/datetimepicker.scss +67 -0
- package/themes/macos/demo/index.scss +1 -0
- package/themes/macos/demo/src/demo/demo.scss +22 -0
- package/themes/macos/draggable/index.scss +9 -0
- package/themes/macos/draggable/src/draggrid/draggrid.scss +13 -0
- package/themes/macos/draggable/src/draggrid-item/draggrid-item.scss +65 -0
- package/themes/macos/draggable/src/draghandler/draghandler.scss +15 -0
- package/themes/macos/draggable/src/draglist/draglist.scss +13 -0
- package/themes/macos/draggable/src/draglist-item/draglist-item.scss +72 -0
- package/themes/macos/draggable/src/dropzone/dropzone.scss +13 -0
- package/themes/macos/durationpicker/index.scss +1 -0
- package/themes/macos/durationpicker/src/durationpicker/durationpicker.scss +52 -0
- package/themes/macos/empty/index.scss +1 -0
- package/themes/macos/empty/src/empty-icon/empty-icon.scss +13 -0
- package/themes/macos/file/index.scss +1 -0
- package/themes/macos/file/src/file/file.scss +38 -0
- package/themes/macos/form/index.scss +3 -0
- package/themes/macos/form/src/form/form.scss +1 -0
- package/themes/macos/form/src/form-group/form-group.scss +17 -0
- package/themes/macos/form/src/form-item/form-item.scss +29 -0
- package/themes/macos/index-dark.scss +41 -0
- package/themes/macos/index-light.scss +41 -0
- package/themes/macos/index.scss +41 -0
- package/themes/macos/info/index.scss +3 -0
- package/themes/macos/info/src/info/info.scss +5 -0
- package/themes/macos/info/src/info-column/info-column.scss +5 -0
- package/themes/macos/info/src/info-field/info-field.scss +5 -0
- package/themes/macos/input/index.scss +1 -0
- package/themes/macos/input/src/input/input.scss +38 -0
- package/themes/macos/input-number/index.scss +1 -0
- package/themes/macos/input-number/src/input-number/input-number.scss +47 -0
- package/themes/macos/loader/index.scss +1 -0
- package/themes/macos/loader/src/loader/loader.scss +21 -0
- package/themes/macos/map/index.scss +1 -0
- package/themes/macos/map/src/map/map.scss +1 -0
- package/themes/macos/modal/index.scss +1 -0
- package/themes/macos/modal/src/modal/modal.scss +34 -0
- package/themes/macos/notification/index.scss +1 -0
- package/themes/macos/notification/src/notification/notification.scss +24 -0
- package/themes/macos/paginator/index.scss +1 -0
- package/themes/macos/paginator/src/paginator/paginator.scss +5 -0
- package/themes/macos/popover/index.scss +1 -0
- package/themes/macos/popover/src/popover/popover.scss +83 -0
- package/themes/macos/radio/index.scss +2 -0
- package/themes/macos/radio/src/radio/radio.scss +45 -0
- package/themes/macos/radio/src/radio-group/radio-group.scss +1 -0
- package/themes/macos/rating/index.scss +1 -0
- package/themes/macos/rating/src/rating/rating.scss +18 -0
- package/themes/macos/resizer/index.scss +1 -0
- package/themes/macos/resizer/src/resizer/resizer.scss +5 -0
- package/themes/macos/root/image/empty-default.svg +30 -0
- package/themes/macos/root/image/empty-space.svg +34 -0
- package/themes/macos/root/image/star-default.svg +10 -0
- package/themes/macos/root/vars-dark.scss +220 -0
- package/themes/macos/root/vars-light.scss +220 -0
- package/themes/macos/root/vars.scss +220 -0
- package/themes/macos/scrollbar/index.scss +1 -0
- package/themes/macos/scrollbar/src/scrollbar/scrollbar.scss +6 -0
- package/themes/macos/select/index.scss +2 -0
- package/themes/macos/select/src/select/select.scss +48 -0
- package/themes/macos/select/src/select-option/select-option.scss +1 -0
- package/themes/macos/slider/index.scss +1 -0
- package/themes/macos/slider/src/slider/slider.scss +21 -0
- package/themes/macos/switch/index.scss +1 -0
- package/themes/macos/switch/src/switch/switch.scss +28 -0
- package/themes/macos/table/index.scss +4 -0
- package/themes/macos/table/src/table/table.scss +15 -0
- package/themes/macos/table/src/table-cell/table-cell.scss +50 -0
- package/themes/macos/table/src/table-column/table-column.scss +32 -0
- package/themes/macos/table/src/table-filter/table-filter.scss +1 -0
- package/themes/macos/tabs/index.scss +2 -0
- package/themes/macos/tabs/src/tabs/tabs.scss +21 -0
- package/themes/macos/tabs/src/tabs-item/tabs-item.scss +18 -0
- package/themes/macos/tags/index.scss +2 -0
- package/themes/macos/tags/src/tags/tags.scss +1 -0
- package/themes/macos/tags/src/tags-item/tags-item.scss +28 -0
- package/themes/macos/textarea/index.scss +1 -0
- package/themes/macos/textarea/src/textarea/textarea.scss +30 -0
- package/themes/macos/timepicker/index.scss +2 -0
- package/themes/macos/timepicker/src/timepicker/timepicker.scss +50 -0
- package/themes/macos/timepicker/src/timepicker-panel/timepicker-panel.scss +27 -0
- package/themes/macos/transfer/index.scss +1 -0
- package/themes/macos/transfer/src/transfer/transfer.scss +18 -0
- package/themes/macos/virtualscroller/index.scss +1 -0
- package/themes/macos/virtualscroller/src/virtualscroller/virtualscroller.scss +1 -0
- package/webpack.config.js +32 -86
package/demos/builder.html
CHANGED
@@ -69,10 +69,14 @@
|
|
69
69
|
</div>
|
70
70
|
|
71
71
|
<script>
|
72
|
+
|
72
73
|
(function (nano) {
|
73
74
|
|
74
75
|
'use strict';
|
75
76
|
|
77
|
+
pi.Locale.set('URL', "URL2");
|
78
|
+
pi.Locale.set('URX', "URX2");
|
79
|
+
|
76
80
|
pi.Dom.ready(function () {
|
77
81
|
|
78
82
|
let data = {};
|
@@ -123,11 +127,8 @@
|
|
123
127
|
});
|
124
128
|
|
125
129
|
pi.Obj.set(data, 'demoConfigNext.NFormGroup:root.content.NFormItem:url', {
|
126
|
-
localized: [
|
127
|
-
'props.label'
|
128
|
-
],
|
129
130
|
props: {
|
130
|
-
label:
|
131
|
+
label: '\\@URX',
|
131
132
|
test: function() {
|
132
133
|
console.log(123);
|
133
134
|
}
|
@@ -146,10 +147,16 @@
|
|
146
147
|
label: pi.Locale.trans('Menu')
|
147
148
|
},
|
148
149
|
content: {
|
149
|
-
'
|
150
|
+
'NSwitch': {
|
150
151
|
binds: {
|
151
152
|
modelValue: '$model.option.redirect'
|
152
|
-
}
|
153
|
+
},
|
154
|
+
props: {
|
155
|
+
"foo": "@bar"
|
156
|
+
},
|
157
|
+
content: [
|
158
|
+
"@123"
|
159
|
+
]
|
153
160
|
}
|
154
161
|
}
|
155
162
|
});
|
@@ -189,10 +196,13 @@
|
|
189
196
|
label: pi.Locale.trans('Menu')
|
190
197
|
},
|
191
198
|
content: {
|
192
|
-
'
|
199
|
+
'Nswitch:00': {
|
193
200
|
model: {
|
194
201
|
path: 'option.redirect'
|
195
|
-
}
|
202
|
+
},
|
203
|
+
content: [
|
204
|
+
pi.Locale.trans("foobar")
|
205
|
+
]
|
196
206
|
}
|
197
207
|
}
|
198
208
|
}
|