Skip to content

Commit

Permalink
rename iview
Browse files Browse the repository at this point in the history
  • Loading branch information
likuner committed May 7, 2022
1 parent fc19977 commit 7cf3cd7
Show file tree
Hide file tree
Showing 39 changed files with 121 additions and 129 deletions.
96 changes: 48 additions & 48 deletions dist/viewuiplus.min.esm.js

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions dist/viewuiplus.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "view-design",
"name": "view-ui-plus",
"version": "5.0.0-beta.0",
"title": "ViewUI",
"description": "A high quality UI components Library with Vue.js 3",
Expand Down
6 changes: 3 additions & 3 deletions src/components/auto-complete/auto-complete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
icon: {
Expand All @@ -104,7 +104,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
name: {
Expand All @@ -121,7 +121,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW ? true : global.$IVIEW.capture;
return !global.$VIEWUI ? true : global.$VIEWUI.capture;
}
},
// 4.6.0
Expand Down
2 changes: 1 addition & 1 deletion src/components/avatar/avatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
type: [String, Number],
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
src: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/button-group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
shape: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
loading: Boolean,
Expand Down
6 changes: 3 additions & 3 deletions src/components/cascader/cascader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
trigger: {
Expand Down Expand Up @@ -141,7 +141,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
name: {
Expand All @@ -155,7 +155,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW ? true : global.$IVIEW.capture;
return !global.$VIEWUI ? true : global.$VIEWUI.capture;
}
},
transferClassName: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/checkbox/checkbox-group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/checkbox/checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
name: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/city/city.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
transfer: {
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
name: {
Expand Down
6 changes: 3 additions & 3 deletions src/components/color-picker/color-picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
hideDropDown: {
Expand Down Expand Up @@ -200,7 +200,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
name: {
Expand All @@ -216,7 +216,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW ? true : global.$IVIEW.capture;
return !global.$VIEWUI ? true : global.$VIEWUI.capture;
}
},
transferClassName: {
Expand Down
6 changes: 3 additions & 3 deletions src/components/date-picker/picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
placeholder: {
Expand All @@ -198,7 +198,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
name: {
Expand Down Expand Up @@ -227,7 +227,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW ? true : global.$IVIEW.capture;
return !global.$VIEWUI ? true : global.$VIEWUI.capture;
}
},
transferClassName: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/drawer/drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? true : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? true : global.$VIEWUI.transfer;
}
},
className: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/dropdown/dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
transferClassName: {
Expand All @@ -68,7 +68,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW ? true : global.$IVIEW.capture;
return !global.$VIEWUI ? true : global.$VIEWUI.capture;
}
},
// 4.6.0
Expand Down
2 changes: 1 addition & 1 deletion src/components/ellipsis/ellipsis.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
theme: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/input-number/input-number.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
disabled: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
placeholder: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/list/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
split: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/modal/modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.modal.maskClosable === '' ? true : global.$IVIEW.modal.maskClosable;
return !global.$VIEWUI || global.$VIEWUI.modal.maskClosable === '' ? true : global.$VIEWUI.modal.maskClosable;
}
},
title: {
Expand Down Expand Up @@ -124,7 +124,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? true : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? true : global.$VIEWUI.transfer;
}
},
fullscreen: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/notification/notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
placement: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/page-header/page-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</div>
</div>
<div class="ivu-page-header-tabs" v-if="tabList && tabList.length">
<Tabs :animated="false" :value="tabActiveKey" @on-click="handleTabChange">
<Tabs :animated="false" :model-value="tabActiveKey" @on-click="handleTabChange">
<TabPane v-for="(item, index) in tabList" :key="index" :label="item.label" :name="item.name"></TabPane>
</Tabs>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/page/page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
size: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/poptip/poptip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
popperClass: {
Expand All @@ -125,7 +125,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW ? false : global.$IVIEW.capture;
return !global.$VIEWUI ? false : global.$VIEWUI.capture;
}
},
transferClassName: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/radio/radio-group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
type: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/radio/radio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
name: {
Expand Down
10 changes: 5 additions & 5 deletions src/components/select/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
labelInValue: {
Expand All @@ -200,7 +200,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.transfer === '' ? false : global.$IVIEW.transfer;
return !global.$VIEWUI || global.$VIEWUI.transfer === '' ? false : global.$VIEWUI.transfer;
}
},
// Use for AutoComplete
Expand Down Expand Up @@ -239,7 +239,7 @@
type: Boolean,
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW ? true : global.$IVIEW.capture;
return !global.$VIEWUI ? true : global.$VIEWUI.capture;
}
},
// 4.2.0
Expand Down Expand Up @@ -400,7 +400,7 @@
}
},
methods: {
setQuery(query){ // PUBLIC API
setQuery(query){ // PUBLIC API
if (query) {
this.onQueryChange(query);
return;
Expand Down Expand Up @@ -596,7 +596,7 @@
if (nearestActiveOption <= index) break;
}
}
const activeSlotsOption = slotOptions[nearestActiveOption];
const activeSlotsOption = slotOptions[nearestActiveOption];
index = !activeSlotsOption.proxy.isShow ? firseIndex : nearestActiveOption;
this.focusIndex = index;
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/spin/spin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
fix: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/switch/switch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
name: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
},
default () {
const global = getCurrentInstance().appContext.config.globalProperties;
return !global.$IVIEW || global.$IVIEW.size === '' ? 'default' : global.$IVIEW.size;
return !global.$VIEWUI || global.$VIEWUI.size === '' ? 'default' : global.$VIEWUI.size;
}
},
width: {
Expand Down
Loading

0 comments on commit 7cf3cd7

Please sign in to comment.