eoss-ui 0.6.19 → 0.6.20

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 (102) hide show
  1. package/lib/eoss-ui.common.js +780 -678
  2. package/lib/flow.js +619 -515
  3. package/lib/index.js +1 -1
  4. package/lib/login.js +3 -2
  5. package/lib/main.js +143 -146
  6. package/lib/qr-code.js +13 -13
  7. package/lib/theme-chalk/index.css +1 -1
  8. package/lib/theme-chalk/login.css +1 -1
  9. package/package.json +157 -157
  10. package/packages/button/src/main.vue +418 -418
  11. package/packages/button-group/src/main.vue +298 -298
  12. package/packages/checkbox-group/src/main.vue +333 -333
  13. package/packages/clients/src/main.vue +144 -144
  14. package/packages/data-table/src/children.vue +39 -39
  15. package/packages/data-table/src/column.vue +983 -983
  16. package/packages/data-table/src/main.vue +1812 -1812
  17. package/packages/data-table/src/sizer.vue +195 -195
  18. package/packages/date-picker/src/main.vue +236 -236
  19. package/packages/flow/src/component/CustomPreset.vue +1 -1
  20. package/packages/flow/src/component/Preset.vue +1 -1
  21. package/packages/flow/src/component/SendMsg.vue +3 -1
  22. package/packages/flow/src/component/taskUnionExamine.vue +38 -20
  23. package/packages/flow/src/main.vue +2731 -2711
  24. package/packages/flow/src/processForm.vue +13 -2
  25. package/packages/flow/src/processReject.vue +14 -3
  26. package/packages/flow/src/startTaskRead.vue +23 -5
  27. package/packages/flow-group/src/main.vue +684 -684
  28. package/packages/form/src/main.vue +3582 -3582
  29. package/packages/form/src/table.vue +1420 -1420
  30. package/packages/handle-user/src/main.vue +134 -134
  31. package/packages/handler/src/main.vue +374 -374
  32. package/packages/icon/src/main.vue +101 -101
  33. package/packages/input/src/main.vue +356 -356
  34. package/packages/login/src/main.vue +1851 -1850
  35. package/packages/login/src/resetPassword.vue +557 -557
  36. package/packages/main/src/default/message.vue +249 -249
  37. package/packages/main/src/default/notice.vue +157 -157
  38. package/packages/main/src/default/userinfo.vue +494 -494
  39. package/packages/main/src/public/online.vue +89 -89
  40. package/packages/main/src/public/search.vue +454 -454
  41. package/packages/main/src/public/settings.vue +221 -221
  42. package/packages/main/src/simplicity/apps.vue +388 -388
  43. package/packages/main/src/simplicity/avatar.vue +82 -82
  44. package/packages/main/src/simplicity/handler.vue +183 -183
  45. package/packages/main/src/simplicity/index.vue +1930 -1931
  46. package/packages/main/src/simplicity/lists.vue +84 -84
  47. package/packages/main/src/simplicity/menu-list.vue +128 -128
  48. package/packages/main/src/simplicity/message.vue +259 -259
  49. package/packages/main/src/simplicity/notice.vue +190 -190
  50. package/packages/main/src/simplicity/router-page.vue +45 -45
  51. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  52. package/packages/main/src/simplicity/user.vue +248 -248
  53. package/packages/main/src/simplicity/userinfo.vue +304 -304
  54. package/packages/menu/src/main.vue +536 -536
  55. package/packages/pagination/src/main.vue +96 -96
  56. package/packages/qr-code/src/main.vue +170 -170
  57. package/packages/radio-group/src/main.vue +319 -319
  58. package/packages/select/src/main.vue +761 -761
  59. package/packages/selector/src/main.vue +677 -677
  60. package/packages/selector-panel/src/main.vue +1020 -1020
  61. package/packages/selector-panel/src/selection.vue +160 -160
  62. package/packages/tabs/src/main.vue +788 -788
  63. package/packages/theme-chalk/lib/index.css +1 -1
  64. package/packages/theme-chalk/lib/login.css +1 -1
  65. package/packages/theme-chalk/src/base.scss +260 -260
  66. package/packages/theme-chalk/src/button-group.scss +175 -175
  67. package/packages/theme-chalk/src/calendar.scss +113 -113
  68. package/packages/theme-chalk/src/clients.scss +87 -87
  69. package/packages/theme-chalk/src/common/var.scss +1 -4
  70. package/packages/theme-chalk/src/data-table.scss +276 -276
  71. package/packages/theme-chalk/src/dialog.scss +77 -77
  72. package/packages/theme-chalk/src/flow-group.scss +110 -110
  73. package/packages/theme-chalk/src/form.scss +496 -496
  74. package/packages/theme-chalk/src/handler.scss +133 -133
  75. package/packages/theme-chalk/src/icon.scss +1745 -1745
  76. package/packages/theme-chalk/src/icons.scss +99 -99
  77. package/packages/theme-chalk/src/login.scss +917 -926
  78. package/packages/theme-chalk/src/main.scss +632 -632
  79. package/packages/theme-chalk/src/menu.scss +222 -222
  80. package/packages/theme-chalk/src/nav.scss +125 -125
  81. package/packages/theme-chalk/src/pagination.scss +29 -29
  82. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  83. package/packages/theme-chalk/src/simplicity.scss +1246 -1246
  84. package/packages/theme-chalk/src/tabs.scss +87 -87
  85. package/packages/theme-chalk/src/toolbar.scss +179 -179
  86. package/packages/theme-chalk/src/tree-group.scss +72 -72
  87. package/packages/theme-chalk/src/tree.scss +165 -165
  88. package/packages/upload/src/main.vue +1313 -1313
  89. package/packages/wujie/src/main.vue +145 -145
  90. package/src/config/api.js +236 -236
  91. package/src/config/image.js +2 -2
  92. package/src/index.js +157 -157
  93. package/packages/.DS_Store +0 -0
  94. package/packages/checkbox-group/.DS_Store +0 -0
  95. package/packages/data-table/.DS_Store +0 -0
  96. package/packages/dialog/.DS_Store +0 -0
  97. package/packages/handler/.DS_Store +0 -0
  98. package/packages/login/.DS_Store +0 -0
  99. package/packages/main/.DS_Store +0 -0
  100. package/packages/main/src/.DS_Store +0 -0
  101. package/packages/theme-chalk/src/.DS_Store +0 -0
  102. package/src/.DS_Store +0 -0
@@ -1,145 +1,145 @@
1
- <template>
2
- <WujieVue
3
- class="es-wujie"
4
- v-if="show"
5
- v-bind="$attrs"
6
- :width="width"
7
- :height="height"
8
- :name="wujieName"
9
- :loading="loading"
10
- :sync="sync"
11
- :prefix="prefix"
12
- :alive="alive"
13
- :props="defaultProps"
14
- :replace="replace"
15
- :fetch="fetch"
16
- :fiber="fiber"
17
- :degrade="degrade"
18
- :plugins="defaultPlugins"
19
- :beforeLoad="beforeLoad"
20
- :beforeMount="beforeMount"
21
- :afterMount="afterMount"
22
- :beforeUnmount="beforeUnmount"
23
- :afterUnmount="afterUnmount"
24
- :activated="activated"
25
- :deactivated="deactivated"
26
- :loadError="loadError"
27
- :attrs="attrs"
28
- :url="defaultUrl"
29
- ></WujieVue>
30
- </template>
31
- <script>
32
- import util from 'eoss-ui/src/utils/util.js';
33
- export default {
34
- name: 'EsWujie',
35
- inheritAttrs: false,
36
- inject: {},
37
- props: {
38
- width: { type: String, default: '100%' },
39
- height: { type: String, default: '100%' },
40
- name: { type: String, default: '' },
41
- loading: { type: HTMLElement, default: undefined },
42
- host: {
43
- type: String,
44
- default: ''
45
- },
46
- url: { type: String, default: '' },
47
- sync: { type: Boolean, default: false },
48
- prefix: { type: Object, default: undefined },
49
- alive: { type: Boolean, default: false },
50
- props: { type: Object, default: undefined },
51
- replace: { type: Function, default: undefined },
52
- fetch: { type: Function, default: undefined },
53
- fiber: { type: Boolean, default: true },
54
- degrade: { type: Boolean, default: false },
55
- plugins: {
56
- type: Array,
57
- default() {
58
- return [];
59
- }
60
- },
61
- beforeLoad: { type: Function, default: null },
62
- beforeMount: { type: Function, default: null },
63
- afterMount: { type: Function, default: null },
64
- beforeUnmount: { type: Function, default: null },
65
- afterUnmount: { type: Function, default: null },
66
- activated: { type: Function, default: null },
67
- deactivated: { type: Function, default: null },
68
- loadError: { type: Function, default: null },
69
- param: Object,
70
- attrs: {
71
- type: Object,
72
- default() {
73
- return {
74
- src: '#/empty'
75
- };
76
- }
77
- },
78
- show: Boolean,
79
- dialog: Boolean,
80
- appendTopBody: Boolean
81
- },
82
- data() {
83
- return {
84
- defaultUrl: '',
85
- defaultPlugins: null
86
- };
87
- },
88
- computed: {
89
- wujieName() {
90
- return this.name ? this.name : util.uuid(16);
91
- },
92
- defaultProps() {
93
- let props = {};
94
- if (this.url) {
95
- let params = util.getParams({ url: this.url });
96
- if (params) {
97
- props = params;
98
- }
99
- let urls = this.url.split('?');
100
- if (urls[0].indexOf('.js') > 1) {
101
- if (this.dialog) {
102
- props._dialog = true;
103
- props._dialogId = this.wujieName;
104
- }
105
- props.appendTopBody = this.appendTopBody;
106
- }
107
- }
108
- return { ...props, ...this.$attrs, ...this.props };
109
- }
110
- },
111
- watch: {
112
- url: {
113
- immediate: true,
114
- handler(val) {
115
- if (val) {
116
- let urls = val.split('?');
117
- let plugins = this.plugins;
118
- let defaultUrl = '';
119
- if (urls[0].indexOf('.js') > 1) {
120
- defaultUrl = this.param
121
- ? util.urlJoinParams({
122
- url: './primary.html',
123
- param: this.param,
124
- timestamp: true
125
- })
126
- : util.handlerUrl('./primary.html');
127
- plugins.push({
128
- jsBeforeLoaders: [{ src: val }]
129
- });
130
- } else {
131
- defaultUrl = val;
132
- }
133
- this.defaultUrl = util.startWith(defaultUrl, 'http')
134
- ? defaultUrl
135
- : this.host + defaultUrl;
136
- this.defaultPlugins = plugins;
137
- }
138
- }
139
- }
140
- },
141
- created() {},
142
- mounted() {},
143
- methods: {}
144
- };
145
- </script>
1
+ <template>
2
+ <WujieVue
3
+ class="es-wujie"
4
+ v-if="show"
5
+ v-bind="$attrs"
6
+ :width="width"
7
+ :height="height"
8
+ :name="wujieName"
9
+ :loading="loading"
10
+ :sync="sync"
11
+ :prefix="prefix"
12
+ :alive="alive"
13
+ :props="defaultProps"
14
+ :replace="replace"
15
+ :fetch="fetch"
16
+ :fiber="fiber"
17
+ :degrade="degrade"
18
+ :plugins="defaultPlugins"
19
+ :beforeLoad="beforeLoad"
20
+ :beforeMount="beforeMount"
21
+ :afterMount="afterMount"
22
+ :beforeUnmount="beforeUnmount"
23
+ :afterUnmount="afterUnmount"
24
+ :activated="activated"
25
+ :deactivated="deactivated"
26
+ :loadError="loadError"
27
+ :attrs="attrs"
28
+ :url="defaultUrl"
29
+ ></WujieVue>
30
+ </template>
31
+ <script>
32
+ import util from 'eoss-ui/src/utils/util.js';
33
+ export default {
34
+ name: 'EsWujie',
35
+ inheritAttrs: false,
36
+ inject: {},
37
+ props: {
38
+ width: { type: String, default: '100%' },
39
+ height: { type: String, default: '100%' },
40
+ name: { type: String, default: '' },
41
+ loading: { type: HTMLElement, default: undefined },
42
+ host: {
43
+ type: String,
44
+ default: ''
45
+ },
46
+ url: { type: String, default: '' },
47
+ sync: { type: Boolean, default: false },
48
+ prefix: { type: Object, default: undefined },
49
+ alive: { type: Boolean, default: false },
50
+ props: { type: Object, default: undefined },
51
+ replace: { type: Function, default: undefined },
52
+ fetch: { type: Function, default: undefined },
53
+ fiber: { type: Boolean, default: true },
54
+ degrade: { type: Boolean, default: false },
55
+ plugins: {
56
+ type: Array,
57
+ default() {
58
+ return [];
59
+ }
60
+ },
61
+ beforeLoad: { type: Function, default: null },
62
+ beforeMount: { type: Function, default: null },
63
+ afterMount: { type: Function, default: null },
64
+ beforeUnmount: { type: Function, default: null },
65
+ afterUnmount: { type: Function, default: null },
66
+ activated: { type: Function, default: null },
67
+ deactivated: { type: Function, default: null },
68
+ loadError: { type: Function, default: null },
69
+ param: Object,
70
+ attrs: {
71
+ type: Object,
72
+ default() {
73
+ return {
74
+ src: '#/empty'
75
+ };
76
+ }
77
+ },
78
+ show: Boolean,
79
+ dialog: Boolean,
80
+ appendTopBody: Boolean
81
+ },
82
+ data() {
83
+ return {
84
+ defaultUrl: '',
85
+ defaultPlugins: null
86
+ };
87
+ },
88
+ computed: {
89
+ wujieName() {
90
+ return this.name ? this.name : util.uuid(16);
91
+ },
92
+ defaultProps() {
93
+ let props = {};
94
+ if (this.url) {
95
+ let params = util.getParams({ url: this.url });
96
+ if (params) {
97
+ props = params;
98
+ }
99
+ let urls = this.url.split('?');
100
+ if (urls[0].indexOf('.js') > 1) {
101
+ if (this.dialog) {
102
+ props._dialog = true;
103
+ props._dialogId = this.wujieName;
104
+ }
105
+ props.appendTopBody = this.appendTopBody;
106
+ }
107
+ }
108
+ return { ...props, ...this.$attrs, ...this.props };
109
+ }
110
+ },
111
+ watch: {
112
+ url: {
113
+ immediate: true,
114
+ handler(val) {
115
+ if (val) {
116
+ let urls = val.split('?');
117
+ let plugins = this.plugins;
118
+ let defaultUrl = '';
119
+ if (urls[0].indexOf('.js') > 1) {
120
+ defaultUrl = this.param
121
+ ? util.urlJoinParams({
122
+ url: './primary.html',
123
+ param: this.param,
124
+ timestamp: true
125
+ })
126
+ : util.handlerUrl('./primary.html');
127
+ plugins.push({
128
+ jsBeforeLoaders: [{ src: val }]
129
+ });
130
+ } else {
131
+ defaultUrl = val;
132
+ }
133
+ this.defaultUrl = util.startWith(defaultUrl, 'http')
134
+ ? defaultUrl
135
+ : this.host + defaultUrl;
136
+ this.defaultPlugins = plugins;
137
+ }
138
+ }
139
+ }
140
+ },
141
+ created() {},
142
+ mounted() {},
143
+ methods: {}
144
+ };
145
+ </script>