tianheng-ui 0.1.12 → 0.1.14
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/lib/theme-chalk/js/axios.js +3 -2
- package/lib/theme-chalk/js/util.js +23 -0
- package/lib/theme-chalk/styles/feature.scss +15 -0
- package/lib/tianheng-ui.js +13 -13
- package/package.json +1 -1
- package/packages/FormMaking/GenerateFormItem.vue +2 -2
- package/packages/FormMaking/WidgetConfig.vue +4 -3
- package/packages/FormMaking/WidgetForm.vue +9 -10
- package/packages/FormMaking/WidgetFormItem.vue +2 -2
- package/packages/FormMaking/WidgetSelect.vue +0 -1
- package/packages/FormMaking/WidgetTools.vue +3 -2
- package/packages/FormMaking/custom/configs/button.vue +2 -1
- package/packages/FormMaking/custom/items/button.vue +1 -1
- package/packages/FormMaking/custom/items/date.vue +1 -0
- package/packages/FormMaking/custom/items/grid_dev.vue +3 -3
- package/packages/FormMaking/custom/items/tableH5_dev.vue +3 -3
- package/packages/FormMaking/custom/items/table_dev.vue +3 -3
- package/packages/FormMaking/custom/items/tabs_dev.vue +3 -3
- package/packages/FormMaking/index.vue +4 -3
- package/packages/FormMaking/styles/index.scss +1 -0
- package/packages/FormMaking/util/index.js +24 -0
- package/packages/TableMaking/WidgetTools.vue +246 -0
- package/packages/TableMaking/custom/config.js +110 -0
- package/packages/TableMaking/generateTable.vue +2 -2
- package/packages/TableMaking/index.vue +62 -157
- package/packages/TableMaking/util/index.js +54 -1
- package/packages/TableMaking/widgetConfig.vue +261 -178
- package/packages/TableMaking/widgetTable.vue +16 -46
- package/packages/index.js +5 -4
package/packages/index.js
CHANGED
@@ -75,9 +75,9 @@ const components = [
|
|
75
75
|
];
|
76
76
|
|
77
77
|
// 这一步判断window.Vue是否存在,因为直接引用vue.min.js, 它会把Vue绑到Window上,我们直接引用打包好的js才能正常跑起来。
|
78
|
-
if (typeof window !== "undefined" && window.Vue) {
|
79
|
-
|
80
|
-
}
|
78
|
+
// if (typeof window !== "undefined" && window.Vue) {
|
79
|
+
// window.Vue.component("v-drawer", components);
|
80
|
+
// }
|
81
81
|
|
82
82
|
const install = function(Vue, opts = {}) {
|
83
83
|
if (!opts.store) {
|
@@ -91,7 +91,8 @@ const install = function(Vue, opts = {}) {
|
|
91
91
|
Vue.component(component.name, component);
|
92
92
|
});
|
93
93
|
|
94
|
-
|
94
|
+
// 配置信息
|
95
|
+
Vue.prototype.$th_config = {
|
95
96
|
size: opts.size || "",
|
96
97
|
zIndex: opts.zIndex || 2000
|
97
98
|
};
|