Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-sky-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何虹
hs-sky-ui
Commits
b02eb809
Commit
b02eb809
authored
May 06, 2020
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
8f1c9421
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
242 additions
and
11 deletions
+242
-11
index.js
src/packages/hs-action/index.js
+6
-0
index.js
src/packages/hs-button-group/index.js
+6
-0
index.js
src/packages/hs-carousel/index.js
+6
-0
index.js
src/packages/hs-cascader/index.js
+6
-0
index.js
src/packages/hs-checkbox-group/index.js
+6
-0
index.js
src/packages/hs-checkbox/index.js
+6
-0
index.js
src/packages/hs-computed/index.js
+6
-0
index.js
src/packages/hs-date-picker/index.js
+6
-0
index.js
src/packages/hs-dialog/index.js
+6
-0
index.js
src/packages/hs-divider/index.js
+6
-0
index.js
src/packages/hs-dyncForm/index.js
+6
-0
index.js
src/packages/hs-file/index.js
+6
-0
index.js
src/packages/hs-gantt/index.js
+6
-0
index.js
src/packages/hs-input/index.js
+6
-0
index.js
src/packages/hs-line-bar/index.js
+6
-0
index.js
src/packages/hs-radio/index.js
+6
-0
index.js
src/packages/hs-select-plus/index.js
+6
-0
index.js
src/packages/hs-switch/index.js
+6
-0
index.js
src/packages/hs-table/index.js
+6
-0
index.js
src/packages/hs-tabs-querybi-linkTable/index.js
+6
-0
index.js
src/packages/hs-tabs/index.js
+6
-0
index.js
src/packages/hs-tags/index.js
+6
-0
index.js
src/packages/hs-tree/index.js
+6
-0
index.js
src/packages/index.js
+98
-11
index.js
src/packages/themePicker/index.js
+6
-0
No files found.
src/packages/hs-action/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-button-group/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-carousel/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-cascader/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-checkbox-group/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-checkbox/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-computed/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-date-picker/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-dialog/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-divider/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-dyncForm/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-file/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-gantt/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-input/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-line-bar/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-radio/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-select-plus/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-switch/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-table/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-tabs-querybi-linkTable/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-tabs/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-tags/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/hs-tree/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
src/packages/index.js
View file @
b02eb809
import
Vue
from
'vue'
const
requireComponent_
=
require
.
context
(
'./'
,
true
,
/index.vue$/
)
const
obj
=
{}
requireComponent_
.
keys
().
forEach
(
fileName
=>
{
const
componentConfig
=
requireComponent_
(
fileName
)
const
{
name
}
=
componentConfig
.
default
if
(
name
)
{
Vue
.
component
(
name
,
componentConfig
.
default
||
componentConfig
)
obj
[
name
]
=
componentConfig
}
})
export
default
obj
// const requireComponent_ = require.context('./', true, /index.vue$/)
// const obj={}
// requireComponent_.keys().forEach(fileName => {
// const componentConfig = requireComponent_(fileName)
// const { name } = componentConfig.default
// if (name) {
// Vue.component(name, componentConfig.default || componentConfig)
// obj[name]=componentConfig
// }
// })
// export default obj
import
hsTree
from
'./hs-tree/index.js'
;
import
hsTags
from
'./hs-tags/index.js'
;
import
hsTabsQuerybiLinkTable
from
'./hs-tabs-querybi-linkTable/index.js'
;
import
hsTabs
from
'./hs-tabs/index.js'
;
import
hsTable
from
'./hs-table/index.js'
;
import
hsSwitch
from
'./hs-switch/index.js'
;
import
hsSelectPlus
from
'./hs-select-plus/index.js'
;
import
hsRadio
from
'./hs-radio/index.js'
;
import
hsLineBar
from
'./hs-line-bar/index.js'
;
import
hsInput
from
'./hs-input/index.js'
;
import
hsGantt
from
'./hs-gantt/index.js'
;
import
hsFile
from
'./hs-file/index.js'
;
import
hsDyncForm
from
'./hs-dyncForm/index.js'
;
import
hsDivider
from
'./hs-divider/index.js'
;
import
hsDialog
from
'./hs-dialog/index.js'
;
import
hsDatePicker
from
'./hs-date-picker/index.js'
;
import
hsComputed
from
'./hs-computed/index.js'
;
import
hsCheckboxGroup
from
'./hs-checkbox-group/index.js'
;
import
hsCheckbox
from
'./hs-checkbox/index.js'
;
import
hsCascader
from
'./hs-cascader/index.js'
;
import
hsButtonGroup
from
'./hs-button-group/index.js'
;
import
hsAction
from
'./hs-action/index.js'
;
const
components
=
[
hsTree
,
hsTags
,
hsTabsQuerybiLinkTable
,
hsTabs
,
hsTable
,
hsSwitch
,
hsSelectPlus
,
hsRadio
,
hsLineBar
,
hsInput
,
hsGantt
,
hsFile
,
hsDyncForm
,
hsDivider
,
hsDialog
,
hsDatePicker
,
hsComputed
,
hsCheckboxGroup
,
hsCheckbox
,
hsCascader
,
hsButtonGroup
,
hsAction
]
const
install
=
function
(
Vue
,
opts
=
{})
{
components
.
map
(
component
=>
{
Vue
.
component
(
component
.
name
,
component
);
})
}
/* 支持使用标签的方式引入 */
if
(
typeof
window
!==
'undefined'
)
{
debugger
install
(
window
.
Vue
||
Vue
);
}
export
default
{
install
,
hsTree
,
hsTags
,
hsTabsQuerybiLinkTable
,
hsTabs
,
hsTable
,
hsSwitch
,
hsSelectPlus
,
hsRadio
,
hsLineBar
,
hsInput
,
hsGantt
,
hsFile
,
hsDyncForm
,
hsDivider
,
hsDialog
,
hsDatePicker
,
hsComputed
,
hsCheckboxGroup
,
hsCheckbox
,
hsCascader
,
hsButtonGroup
,
hsAction
}
\ No newline at end of file
src/packages/themePicker/index.js
0 → 100644
View file @
b02eb809
import
index
from
'./index.vue'
index
.
install
=
Vue
=>
Vue
.
component
(
index
.
name
,
index
);
if
(
typeof
window
!==
'undefined'
&&
window
.
Vue
)
{
window
.
Vue
.
use
(
index
);
}
export
default
index
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment