newtv-ui-revision 0.0.1

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 (52) hide show
  1. package/README.md +67 -0
  2. package/lib/demo.html +10 -0
  3. package/lib/newtv-ui.common.js +77384 -0
  4. package/lib/newtv-ui.common.js.map +1 -0
  5. package/lib/newtv-ui.css +1 -0
  6. package/lib/newtv-ui.umd.js +77394 -0
  7. package/lib/newtv-ui.umd.js.map +1 -0
  8. package/lib/newtv-ui.umd.min.js +25 -0
  9. package/lib/newtv-ui.umd.min.js.map +1 -0
  10. package/npm-shrinkwrap.json +24519 -0
  11. package/package.json +50 -0
  12. package/packages/assets/.DS_Store +0 -0
  13. package/packages/assets/css/.DS_Store +0 -0
  14. package/packages/assets/css/SourceHanSansCN-Normal.otf +0 -0
  15. package/packages/assets/css/UIRevision.css +784 -0
  16. package/packages/assets/css/UIRevision.less +829 -0
  17. package/packages/assets/css/header.css +0 -0
  18. package/packages/assets/css/header.less +514 -0
  19. package/packages/assets/css/iconfont.css +0 -0
  20. package/packages/assets/css/iconfont.less +520 -0
  21. package/packages/assets/css/newtv.css +1439 -0
  22. package/packages/assets/css/newtv.css.map +1 -0
  23. package/packages/assets/css/newtv.less +292 -0
  24. package/packages/dashboard/index.js +11 -0
  25. package/packages/dashboard/src/newtvDashboard.vue +125 -0
  26. package/packages/form/index.js +11 -0
  27. package/packages/form/src/newtvForm.vue +475 -0
  28. package/packages/header/index.js +11 -0
  29. package/packages/header/src/newtvHeader.vue +285 -0
  30. package/packages/index.js +49 -0
  31. package/packages/leftMenu/index.js +11 -0
  32. package/packages/leftMenu/src/newtvLeftMenu.vue +171 -0
  33. package/packages/list/index.js +10 -0
  34. package/packages/list/src/newtvList.vue +77 -0
  35. package/packages/notFount/index.js +11 -0
  36. package/packages/notFount/src/newtvNotFount.vue +28 -0
  37. package/packages/secondNav/index.js +11 -0
  38. package/packages/secondNav/src/newtvSecondNav.vue +157 -0
  39. package/packages/table/index.js +11 -0
  40. package/packages/table/src/newtvTable.vue +421 -0
  41. package/packages/videoBar/index.js +7 -0
  42. package/packages/videoBar/src/videoBar.vue +75 -0
  43. package/types/component.d.ts +7 -0
  44. package/types/dashboard.d.ts +10 -0
  45. package/types/form.d.ts +12 -0
  46. package/types/header.d.ts +10 -0
  47. package/types/index.d.ts +4 -0
  48. package/types/leftMenu.d.ts +14 -0
  49. package/types/list.d.ts +8 -0
  50. package/types/newtv-ui.d.ts +23 -0
  51. package/types/secondNav.d.ts +13 -0
  52. package/types/table.d.ts +14 -0
@@ -0,0 +1,12 @@
1
+ import { NewtvUIComponent } from './component'
2
+
3
+ export declare class newtvForm extends NewtvUIComponent {
4
+ inline: boolean
5
+ formWidth: string
6
+ labelWidth: string
7
+ form: {}
8
+ formData: {}
9
+ rules: {}
10
+ formCol: {}
11
+ disabled: boolean
12
+ }
@@ -0,0 +1,10 @@
1
+ import { NewtvUIComponent } from './component'
2
+
3
+ export declare class newtvHeader extends NewtvUIComponent {
4
+ title: string
5
+ logo: string
6
+ logoHref: string
7
+ username: string
8
+ portrait: string
9
+ mainMenuList: {}
10
+ }
@@ -0,0 +1,4 @@
1
+ export * from './newtv-ui'
2
+
3
+ import * as newtvUI from './newtv-ui'
4
+ export default newtvUI
@@ -0,0 +1,14 @@
1
+ import { NewtvUIComponent } from './component'
2
+
3
+ export declare class newtvLeftMenu extends NewtvUIComponent {
4
+ title: string
5
+ defaultActive: string
6
+ uniqueOpened: boolean
7
+ backgroundColor: string
8
+ textColor: string
9
+ activeTextColor: string
10
+ tooltip: boolean
11
+ router: boolean
12
+ isCollapse: boolean
13
+ items: []
14
+ }
@@ -0,0 +1,8 @@
1
+ import { NewtvUIComponent } from './component'
2
+
3
+ export type ListType = 'single' | 'multiple'
4
+
5
+ export declare class newtvList extends NewtvUIComponent {
6
+ type: ListType
7
+ listData: []
8
+ }
@@ -0,0 +1,23 @@
1
+ import Vue, { PluginObject } from 'vue'
2
+ import { NewtvUIComponent } from './component'
3
+
4
+ import { newtvDashboard } from './dashboard'
5
+ import { newtvForm } from './form'
6
+ import { newtvHeader } from './header'
7
+ import { newtvLeftMenu } from './leftMenu'
8
+ import { newtvList } from './list'
9
+ import { newtvSecondNav } from './secondNav'
10
+ import { newtvTable } from './table'
11
+
12
+
13
+ export function install (vue: typeof Vue): void
14
+
15
+ export type Component = NewtvUIComponent
16
+
17
+ export class Dashboard extends newtvDashboard {}
18
+ export class Form extends newtvForm {}
19
+ export class Header extends newtvHeader {}
20
+ export class LeftMenu extends newtvLeftMenu {}
21
+ export class List extends newtvList {}
22
+ export class SecondNav extends newtvSecondNav {}
23
+ export class Table extends newtvTable {}
@@ -0,0 +1,13 @@
1
+ import { NewtvUIComponent } from './component'
2
+
3
+ export declare class newtvSecondNav extends NewtvUIComponent {
4
+ title: string
5
+ nodeKey: string
6
+ tooltip: boolean
7
+ currentNodeKey: string
8
+ filter: boolean
9
+ asideWidth: string
10
+ filterNodeMethod: (done: Function) => void
11
+ props: {}
12
+ data: []
13
+ }
@@ -0,0 +1,14 @@
1
+ import { NewtvUIComponent } from './component'
2
+
3
+ export declare class newtvTable extends NewtvUIComponent {
4
+ defaultSort: {}
5
+ tableCols: []
6
+ tableData: string
7
+ stripe: boolean
8
+ border: boolean
9
+ showPagination: boolean
10
+ showOverflowTooltip: boolean
11
+ rowClassName: (done: Function) => any | string
12
+ spanMethod: () => any
13
+ paginationOption: {}
14
+ }