imatrix-ui 2.9.0-dw → 2.9.0-dw-tmp3

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 (172) hide show
  1. package/.babelrc +17 -0
  2. package/build/components.json +31 -0
  3. package/build/gen-style.js +32 -0
  4. package/build/webpack.base.js +140 -0
  5. package/build/webpack.component.js +40 -0
  6. package/build/webpack.prod.js +35 -0
  7. package/lib/breadcrumb.js +2 -0
  8. package/lib/department-tree.js +8 -0
  9. package/lib/department-user-tree.js +8 -0
  10. package/lib/dynamic-source-select.js +8 -0
  11. package/lib/fs-preview.js +15 -0
  12. package/lib/fs-upload-list.js +15 -0
  13. package/lib/fs-upload.js +9 -0
  14. package/lib/hamburger.js +2 -0
  15. package/lib/inline-department-tree.js +8 -0
  16. package/lib/inline-department-user-tree.js +8 -0
  17. package/lib/inline-workgroup-tree.js +8 -0
  18. package/lib/inline-workgroup-user-treee.js +8 -0
  19. package/lib/multipart-upload.js +15 -0
  20. package/lib/organization-input.js +8 -0
  21. package/lib/remove-department.js +2 -0
  22. package/lib/remove-user.js +2 -0
  23. package/lib/remove-workgroup.js +2 -0
  24. package/lib/rich-editor.js +8 -0
  25. package/lib/scan-code-input.js +2 -0
  26. package/lib/secret-info.js +2 -0
  27. package/lib/super-grid.js +28 -0
  28. package/lib/super-nine-grid.js +9 -0
  29. package/lib/super-ui.min.js +72 -0
  30. package/lib/svg-icon.js +2 -0
  31. package/lib/valid-code.js +2 -0
  32. package/lib/workflow-button.js +8 -0
  33. package/lib/workflow-history-list.js +8 -0
  34. package/lib/workgroup-tree.js +8 -0
  35. package/lib/workgroup-user-tree.js +8 -0
  36. package/lib/year-range-picker.js +2 -0
  37. package/package.json +49 -24
  38. package/lib/super-ui.css +0 -1
  39. package/lib/super-ui.umd.min.js +0 -67
  40. package/packages/breadcrumb/index.js +0 -6
  41. package/packages/breadcrumb/src/breadcrumb.vue +0 -71
  42. package/packages/department-tree/index.js +0 -6
  43. package/packages/department-tree/src/department-tree.vue +0 -108
  44. package/packages/department-tree-inline/index.js +0 -6
  45. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -402
  46. package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -284
  47. package/packages/department-tree-inline/src/department-tree-inline.vue +0 -86
  48. package/packages/department-tree-inline/src/department-tree-service.js +0 -245
  49. package/packages/department-tree-inline/src/search-result.vue +0 -176
  50. package/packages/department-user-tree/index.js +0 -6
  51. package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -116
  52. package/packages/department-user-tree/src/department-user-single-tree.vue +0 -76
  53. package/packages/department-user-tree/src/department-user-tree.vue +0 -101
  54. package/packages/department-user-tree-inline/index.js +0 -6
  55. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -626
  56. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -269
  57. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -79
  58. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -230
  59. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -122
  60. package/packages/department-user-tree-inline/src/search-result.vue +0 -197
  61. package/packages/directives/prevent-reclick.js +0 -19
  62. package/packages/dynamic-source-select/index.js +0 -6
  63. package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -70
  64. package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -440
  65. package/packages/dynamic-source-select/src/events.js +0 -55
  66. package/packages/fs-preview/index.js +0 -6
  67. package/packages/fs-preview/src/fs-preview.vue +0 -226
  68. package/packages/fs-upload/index.js +0 -6
  69. package/packages/fs-upload/src/fs-upload-multi.vue +0 -420
  70. package/packages/fs-upload/src/fs-upload-single.vue +0 -312
  71. package/packages/fs-upload/src/fs-upload.vue +0 -189
  72. package/packages/fs-upload/src/see-big-picture.vue +0 -55
  73. package/packages/fs-upload-list/index.js +0 -6
  74. package/packages/fs-upload-list/src/fs-upload-list.vue +0 -287
  75. package/packages/hamburger/index.js +0 -6
  76. package/packages/hamburger/src/hamburger.vue +0 -38
  77. package/packages/index.js +0 -121
  78. package/packages/multipart-upload/index.js +0 -6
  79. package/packages/multipart-upload/src/index.vue +0 -73
  80. package/packages/multipart-upload/src/multipart-upload-form.vue +0 -297
  81. package/packages/multipart-upload/src/multipart-upload-list.vue +0 -378
  82. package/packages/organization-input/index.js +0 -6
  83. package/packages/organization-input/src/organization-input.vue +0 -542
  84. package/packages/plugins/export-data-new.js +0 -453
  85. package/packages/plugins/export-data.js +0 -361
  86. package/packages/plugins/index.js +0 -15
  87. package/packages/plugins/public-method.js +0 -43
  88. package/packages/remove-department/index.js +0 -6
  89. package/packages/remove-department/src/remove-department.vue +0 -172
  90. package/packages/remove-department/src/remove-dept-service.js +0 -20
  91. package/packages/remove-user/index.js +0 -6
  92. package/packages/remove-user/src/remove-user-service.js +0 -20
  93. package/packages/remove-user/src/remove-user.vue +0 -195
  94. package/packages/remove-workgroup/index.js +0 -6
  95. package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -20
  96. package/packages/remove-workgroup/src/remove-workgroup.vue +0 -159
  97. package/packages/rich-editor/index.js +0 -7
  98. package/packages/rich-editor/index.vue +0 -278
  99. package/packages/rich-editor/langs/zh-Hans.js +0 -1
  100. package/packages/rich-editor/viewer.vue +0 -103
  101. package/packages/scan-code-input/index.js +0 -6
  102. package/packages/scan-code-input/src/events.js +0 -33
  103. package/packages/scan-code-input/src/scan-code-input-colse.vue +0 -131
  104. package/packages/scan-code-input/src/scan-code-input.vue +0 -116
  105. package/packages/secret-info/index.js +0 -7
  106. package/packages/secret-info/index.vue +0 -90
  107. package/packages/super-grid/index.js +0 -7
  108. package/packages/super-grid/src/apis.js +0 -763
  109. package/packages/super-grid/src/columns-config.vue +0 -335
  110. package/packages/super-grid/src/custom-formatter.js +0 -250
  111. package/packages/super-grid/src/dynamic-input.vue +0 -1279
  112. package/packages/super-grid/src/eventBus.js +0 -2
  113. package/packages/super-grid/src/events.js +0 -55
  114. package/packages/super-grid/src/formValidatorUtil.js +0 -226
  115. package/packages/super-grid/src/formatter.js +0 -181
  116. package/packages/super-grid/src/group-column.vue +0 -100
  117. package/packages/super-grid/src/header-context-menu.vue +0 -87
  118. package/packages/super-grid/src/index-column.vue +0 -51
  119. package/packages/super-grid/src/normal-column.vue +0 -769
  120. package/packages/super-grid/src/public-methods.js +0 -31
  121. package/packages/super-grid/src/row-operation.vue +0 -161
  122. package/packages/super-grid/src/search-button.vue +0 -66
  123. package/packages/super-grid/src/search-condition-input.vue +0 -61
  124. package/packages/super-grid/src/search-condition-list.vue +0 -59
  125. package/packages/super-grid/src/search-form-advancedQuery.vue +0 -653
  126. package/packages/super-grid/src/search-form-dialog.vue +0 -79
  127. package/packages/super-grid/src/search-form-item.vue +0 -386
  128. package/packages/super-grid/src/search-form-number.vue +0 -38
  129. package/packages/super-grid/src/search-form-open.vue +0 -162
  130. package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -188
  131. package/packages/super-grid/src/search-form.vue +0 -634
  132. package/packages/super-grid/src/search-methods.js +0 -387
  133. package/packages/super-grid/src/selection-column.vue +0 -43
  134. package/packages/super-grid/src/store.js +0 -3
  135. package/packages/super-grid/src/super-grid-service.js +0 -561
  136. package/packages/super-grid/src/super-grid.vue +0 -2793
  137. package/packages/super-grid/src/utils.js +0 -763
  138. package/packages/super-grid/src/view-image-dialog.vue +0 -130
  139. package/packages/super-nine-grid/index.js +0 -7
  140. package/packages/super-nine-grid/src/apis.js +0 -103
  141. package/packages/super-nine-grid/src/custom-formatter.js +0 -66
  142. package/packages/super-nine-grid/src/formatter.js +0 -132
  143. package/packages/super-nine-grid/src/search-form-number.vue +0 -38
  144. package/packages/super-nine-grid/src/search-form.vue +0 -430
  145. package/packages/super-nine-grid/src/search-methods.js +0 -134
  146. package/packages/super-nine-grid/src/store.js +0 -3
  147. package/packages/super-nine-grid/src/super-grid-service.js +0 -91
  148. package/packages/super-nine-grid/src/super-nine-grid.vue +0 -872
  149. package/packages/super-nine-grid/src/utils.js +0 -261
  150. package/packages/svg-icon/index.js +0 -6
  151. package/packages/svg-icon/src/svg-icon.vue +0 -43
  152. package/packages/utils/utils.js +0 -152
  153. package/packages/utils/value-set.js +0 -86
  154. package/packages/valid-code/index.js +0 -7
  155. package/packages/valid-code/src/valid-code.vue +0 -95
  156. package/packages/workflow-button/index.js +0 -6
  157. package/packages/workflow-button/src/workflow-button.vue +0 -325
  158. package/packages/workflow-history-list/index.js +0 -6
  159. package/packages/workflow-history-list/src/api.js +0 -7
  160. package/packages/workflow-history-list/src/workflow-history-list.vue +0 -185
  161. package/packages/workgroup-tree/index.js +0 -6
  162. package/packages/workgroup-tree/src/workgroup-tree.vue +0 -76
  163. package/packages/workgroup-tree-inline/index.js +0 -6
  164. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -317
  165. package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -43
  166. package/packages/workgroup-user-tree/index.js +0 -6
  167. package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -100
  168. package/packages/workgroup-user-tree-inline/index.js +0 -6
  169. package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -163
  170. package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -436
  171. package/packages/year-range-picker/index.js +0 -6
  172. package/packages/year-range-picker/src/year-range-picker.vue +0 -51
package/.babelrc ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "presets": [
3
+ [
4
+ "@babel/preset-env",
5
+ {
6
+ "loose": false,
7
+ "modules": "commonjs",
8
+ "spec": true,
9
+ "useBuiltIns": "usage",
10
+ "corejs": "2.6.9"
11
+ }
12
+ ]
13
+ ],
14
+ "plugins": [
15
+ "@babel/plugin-transform-runtime",
16
+ ]
17
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "super-grid": "packages/super-grid/index.js",
3
+ "department-tree": "packages/department-tree/index.js",
4
+ "breadcrumb": "packages/breadcrumb/index.js",
5
+ "hamburger": "packages/hamburger/index.js",
6
+ "svg-icon": "packages/svg-icon/index.js",
7
+ "department-user-tree": "packages/department-user-tree/index.js",
8
+ "workgroup-tree": "packages/workgroup-tree/index.js",
9
+ "workgroup-user-tree": "packages/workgroup-user-tree/index.js",
10
+ "inline-department-tree": "packages/department-tree-inline/index.js",
11
+ "inline-department-user-tree": "packages/department-user-tree-inline/index.js",
12
+ "inline-workgroup-tree": "packages/workgroup-tree-inline/index.js",
13
+ "inline-workgroup-user-treee": "packages/workgroup-user-tree-inline/index.js",
14
+ "workflow-button": "packages/workflow-button/index.js",
15
+ "workflow-history-list": "packages/workflow-history-list/index.js",
16
+ "valid-code": "packages/valid-code/index.js",
17
+ "remove-user": "packages/remove-user/index.js",
18
+ "remove-department": "packages/remove-department/index.js",
19
+ "remove-workgroup": "packages/remove-workgroup/index.js",
20
+ "organization-input": "packages/organization-input/index.js",
21
+ "super-nine-grid": "packages/super-nine-grid/index.js",
22
+ "dynamic-source-select": "packages/dynamic-source-select/index.js",
23
+ "fs-upload": "packages/fs-upload/index.js",
24
+ "scan-code-input": "packages/scan-code-input/index.js",
25
+ "fs-preview": "packages/fs-preview/index.js",
26
+ "fs-upload-list": "packages/fs-upload-list/index.js",
27
+ "year-range-picker": "packages/year-range-picker/index.js",
28
+ "multipart-upload": "packages/multipart-upload/index.js",
29
+ "rich-editor": "packages/rich-editor/index.js",
30
+ "secret-info": "packages/secret-info/index.js"
31
+ }
@@ -0,0 +1,32 @@
1
+ const gulp = require('gulp');
2
+ const cleanCSS = require('gulp-clean-css');
3
+ const sass = require('gulp-sass');
4
+ const rename = require('gulp-rename');
5
+ const autoprefixer = require('gulp-autoprefixer');
6
+ const components = require('./components.json')
7
+
8
+ function buildCss(cb) {
9
+ gulp.src('../src/styles/index.scss')
10
+ .pipe(sass())
11
+ .pipe(autoprefixer())
12
+ .pipe(cleanCSS())
13
+ .pipe(rename('lime-ui.css'))
14
+ .pipe(gulp.dest('../lib/styles'));
15
+ cb()
16
+ }
17
+
18
+
19
+ function buildSeperateCss(cb) {
20
+ Object.keys(components).forEach(compName => {
21
+ gulp.src(`../src/styles/${compName}.scss`)
22
+ .pipe(sass())
23
+ .pipe(autoprefixer())
24
+ .pipe(cleanCSS())
25
+ .pipe(rename(`${compName}.css`))
26
+ .pipe(gulp.dest('../lib/styles'));
27
+ })
28
+
29
+ cb()
30
+ }
31
+
32
+ exports.default = gulp.series(buildCss, buildSeperateCss) // 加上 buildSeperateCss
@@ -0,0 +1,140 @@
1
+ const path = require('path');
2
+ const webpack = require('webpack');
3
+ const pkg = require('../package.json');
4
+ const VueLoaderPlugin = require('vue-loader/lib/plugin')
5
+
6
+ function resolve(dir) {
7
+ return path.join(__dirname, '..', dir);
8
+ }
9
+
10
+ module.exports = {
11
+ module: {
12
+ rules: [
13
+ {
14
+ test: /\.vue$/,
15
+ loader: 'vue-loader',
16
+ options: {
17
+ loaders: {
18
+ css: [
19
+ 'vue-style-loader',
20
+ {
21
+ loader: 'css-loader',
22
+ options: {
23
+ sourceMap: true,
24
+ },
25
+ },
26
+ ],
27
+ less: [
28
+ 'vue-style-loader',
29
+ {
30
+ loader: 'css-loader',
31
+ options: {
32
+ sourceMap: true,
33
+ },
34
+ },
35
+ {
36
+ loader: 'less-loader',
37
+ options: {
38
+ sourceMap: true,
39
+ },
40
+ },
41
+ ],
42
+ },
43
+ postLoaders: {
44
+ html: 'babel-loader?sourceMap'
45
+ },
46
+ sourceMap: true,
47
+ }
48
+ },
49
+ {
50
+ test: /\.js$/,
51
+ loader: 'babel-loader',
52
+ options: {
53
+ sourceMap: true,
54
+ },
55
+ exclude: /node_modules/,
56
+ },
57
+ {
58
+ test: /\.css$/,
59
+ loaders: [
60
+ {
61
+ loader: 'style-loader',
62
+ options: {
63
+ sourceMap: true,
64
+ },
65
+ },
66
+ {
67
+ loader: 'css-loader',
68
+ options: {
69
+ sourceMap: true,
70
+ },
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ test: /\.less$/,
76
+ loaders: [
77
+ {
78
+ loader: 'style-loader',
79
+ options: {
80
+ sourceMap: true,
81
+ },
82
+ },
83
+ {
84
+ loader: 'css-loader',
85
+ options: {
86
+ sourceMap: true,
87
+ },
88
+ },
89
+ {
90
+ loader: 'less-loader',
91
+ options: {
92
+ sourceMap: true,
93
+ },
94
+ },
95
+ ]
96
+ },
97
+ {
98
+ test: /\.scss$/,
99
+ loaders: [
100
+ {
101
+ loader: 'style-loader',
102
+ options: {
103
+ sourceMap: true,
104
+ },
105
+ },
106
+ {
107
+ loader: 'css-loader',
108
+ options: {
109
+ sourceMap: true,
110
+ },
111
+ },
112
+ {
113
+ loader: 'sass-loader',
114
+ options: {
115
+ sourceMap: true,
116
+ },
117
+ },
118
+ ]
119
+ },
120
+ {
121
+ test: /\.(gif|jpg|png|woff|svg|eot|ttf)\??.*$/,
122
+ loader: 'url-loader?limit=8192'
123
+ }
124
+ ]
125
+ },
126
+ resolve: {
127
+ extensions: ['.js', '.vue'],
128
+ alias: {
129
+ 'vue': 'vue/dist/vue.esm.js',
130
+ '@': resolve('src')
131
+ }
132
+ },
133
+ plugins: [
134
+ new webpack.optimize.ModuleConcatenationPlugin(),
135
+ new webpack.DefinePlugin({
136
+ 'process.env.VERSION': `'${pkg.version}'`
137
+ }),
138
+ new VueLoaderPlugin()
139
+ ]
140
+ }
@@ -0,0 +1,40 @@
1
+ const path = require('path');
2
+ const webpack = require('webpack');
3
+ const merge = require('webpack-merge');
4
+ const webpackBaseConfig = require('./webpack.base.js');
5
+ const components = require('./components.json')
6
+ process.env.NODE_ENV = 'production';
7
+
8
+ const basePath = path.resolve(__dirname, '../')
9
+ let entries = {}
10
+ Object.keys(components).forEach(key => {
11
+ entries[key] = path.join(basePath, '.', components[key])
12
+ })
13
+
14
+ module.exports = merge(webpackBaseConfig, {
15
+ devtool: 'source-map',
16
+ mode: "production",
17
+ entry: entries,
18
+ output: {
19
+ path: path.resolve(__dirname, '../lib'),
20
+ publicPath: '/lib/',
21
+ filename: '[name].js',
22
+ chunkFilename: '[id].js',
23
+ // library: 'lime-ui',
24
+ libraryTarget: 'umd',
25
+ umdNamedDefine: true
26
+ },
27
+ externals: {
28
+ vue: {
29
+ root: 'Vue',
30
+ commonjs: 'vue',
31
+ commonjs2: 'vue',
32
+ amd: 'vue'
33
+ }
34
+ },
35
+ plugins: [
36
+ new webpack.DefinePlugin({
37
+ 'process.env.NODE_ENV': '"production"'
38
+ })
39
+ ]
40
+ });
@@ -0,0 +1,35 @@
1
+ const path = require('path');
2
+ const webpack = require('webpack');
3
+ const merge = require('webpack-merge');
4
+ const webpackBaseConfig = require('./webpack.base.js');
5
+
6
+ process.env.NODE_ENV = 'production';
7
+
8
+ module.exports = merge(webpackBaseConfig, {
9
+ devtool: 'source-map',
10
+ mode: "production",
11
+ entry: {
12
+ main: path.resolve(__dirname, '../packages/index.js') // 将src下的index.js 作为入口点
13
+ },
14
+ output: {
15
+ path: path.resolve(__dirname, '../lib'),
16
+ publicPath: '/lib/',
17
+ filename: 'super-ui.min.js', // 改成自己的类库名
18
+ library: 'super-ui', // 类库导出
19
+ libraryTarget: 'umd',
20
+ umdNamedDefine: true
21
+ },
22
+ externals: { // 外部化对vue的依赖
23
+ vue: {
24
+ root: 'Vue',
25
+ commonjs: 'vue',
26
+ commonjs2: 'vue',
27
+ amd: 'vue'
28
+ }
29
+ },
30
+ plugins: [
31
+ new webpack.DefinePlugin({
32
+ 'process.env.NODE_ENV': '"production"'
33
+ })
34
+ ]
35
+ })
@@ -0,0 +1,2 @@
1
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/lib/",n(n.s=811)}({0:function(t,e,n){var r=n(48)("wks"),o=n(34),i=n(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},1:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e,n){var r=n(8).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(6)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},11:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},12:function(t,e,n){var r=n(8),o=n(39);t.exports=n(6)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},133:function(t,e,n){var r=n(23),o=n(85),i=n(38),u=n(21),a=n(150);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,d=e||a;return function(e,a,v){for(var h,b,m=i(e),y=o(m),g=r(a,v,3),x=u(y.length),w=0,_=n?d(e,x):c?d(e,0):void 0;x>w;w++)if((p||w in y)&&(b=g(h=y[w],w,m),t))if(n)_[w]=b;else if(b)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:_.push(h)}else if(f)return!1;return l?-1:s||f?f:_}}},135:function(t,e,n){t.exports=n(48)("native-function-to-string",Function.toString)},137:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(u=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(u))))+" */"),i=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(i).concat([o]).join("\n")}var u;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(o=0;o<t.length;o++){var u=t[o];null!=u[0]&&r[u[0]]||(n&&!u[2]?u[2]=n:n&&(u[2]="("+u[2]+") and ("+n+")"),e.push(u))}},e}},138:function(t,e,n){var r,o,i={},u=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),a=function(t,e){return e?e.querySelector(t):document.querySelector(t)},c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=a.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),s=null,f=0,l=[],p=n(257);function d(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=i[r.id];if(o){o.refs++;for(var u=0;u<o.parts.length;u++)o.parts[u](r.parts[u]);for(;u<r.parts.length;u++)o.parts.push(g(r.parts[u],e))}else{var a=[];for(u=0;u<r.parts.length;u++)a.push(g(r.parts[u],e));i[r.id]={id:r.id,refs:1,parts:a}}}}function v(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],u=e.base?i[0]+e.base:i[0],a={css:i[1],media:i[2],sourceMap:i[3]};r[u]?r[u].parts.push(a):n.push(r[u]={id:u,parts:[a]})}return n}function h(t,e){var n=c(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=l[l.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),l.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=c(t.insertAt.before,n);n.insertBefore(e,o)}}function b(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function m(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return y(e,t.attrs),h(t,e),e}function y(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function g(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var u=f++;n=s||(s=m(e)),r=_.bind(null,n,u,!1),o=_.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),h(t,e),e}(e),r=A.bind(null,n,e),o=function(){b(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(e),r=j.bind(null,n),o=function(){b(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=u()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=v(t,e);return d(n,e),function(t){for(var r=[],o=0;o<n.length;o++){var u=n[o];(a=i[u.id]).refs--,r.push(a)}t&&d(v(t,e),e);for(o=0;o<r.length;o++){var a;if(0===(a=r[o]).refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete i[a.id]}}}};var x,w=(x=[],function(t,e){return x[t]=e,x.filter(Boolean).join("\n")});function _(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=w(e,o);else{var i=document.createTextNode(o),u=t.childNodes;u[e]&&t.removeChild(u[e]),u.length?t.insertBefore(i,u[e]):t.appendChild(i)}}function j(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function A(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=p(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var u=new Blob([r],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(u),a&&URL.revokeObjectURL(a)}},142:function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},150:function(t,e,n){var r=n(151);t.exports=function(t,e){return new(r(t))(e)}},151:function(t,e,n){var r=n(3),o=n(93),i=n(0)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},17:function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},18:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},19:function(t,e,n){"use strict";function r(t,e,n,r,o,i,u,a){var c,s="function"==typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),u?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},s._ssrRegister=c):o&&(c=a?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(s.functional){s._injectStyles=c;var f=s.render;s.render=function(t,e){return c.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:s}}n.d(e,"a",(function(){return r}))},2:function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},21:function(t,e,n){var r=n(51),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},23:function(t,e,n){var r=n(33);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},257:function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},3:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},30:function(t,e,n){"use strict";function r(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}n.r(e),n.d(e,"default",(function(){return r}))},31:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},33:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},34:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},38:function(t,e,n){var r=n(31);t.exports=function(t){return Object(r(t))}},39:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},40:function(t,e){t.exports=!1},46:function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},48:function(t,e,n){var r=n(17),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(40)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},498:function(t,e,n){"use strict";n.r(e);var r=n(499),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e.default=o.a},499:function(t,e,n){"use strict";var r=n(7);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(10);var o=r(n(30));n(58),n(10);var i=r(n(813)),u={name:"Breadcrumb",data:function(){return{levelList:null}},computed:{levelListWithTitle:function(){var t=this;return this.levelList.filter(function(e){return(0,o.default)(this,t),void 0!==e.meta.title&&null!==e.meta.title}.bind(this))}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this,e=this.$route.params,n=this.$route.matched.filter(function(n){if((0,o.default)(this,t),n.name){var r=i.default.compile(n.path);return n.path=r(e),!0}}.bind(this)),r=n[0];r&&"Dashboard"!==r.name&&(n=[{path:"/dashboard",meta:{title:"Dashboard"}}].concat(n)),this.levelList=n}}};e.default=u},5:function(t,e,n){var r=n(1),o=n(17),i=n(12),u=n(9),a=n(23),c=function(t,e,n){var s,f,l,p,d=t&c.F,v=t&c.G,h=t&c.S,b=t&c.P,m=t&c.B,y=v?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,g=v?o:o[e]||(o[e]={}),x=g.prototype||(g.prototype={});for(s in v&&(n=e),n)l=((f=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&f?a(l,r):b&&"function"==typeof l?a(Function.call,l):l,y&&u(y,s,l,t&c.U),g[s]!=l&&i(g,s,p),b&&x[s]!=l&&(x[s]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},51:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},58:function(t,e,n){"use strict";var r=n(5),o=n(133)(2);r(r.P+r.F*!n(142)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},6:function(t,e,n){t.exports=!n(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},60:function(t,e,n){var r=n(3),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},672:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelListWithTitle,(function(e,r){return n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||r==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v("\n "+t._s(e.meta.title)+"\n ")]):n("router-link",{attrs:{to:e.redirect||e.path}},[t._v("\n "+t._s(e.meta.title)+"\n ")])],1)})),1)],1)},o=[]},7:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},740:function(t,e,n){var r=n(816);"string"==typeof r&&(r=[[t.i,r,""]]);var o={sourceMap:!0,hmr:!0,transform:void 0,insertInto:void 0};n(138)(r,o);r.locals&&(t.exports=r.locals)},75:function(t,e,n){t.exports=!n(6)&&!n(4)((function(){return 7!=Object.defineProperty(n(60)("div"),"a",{get:function(){return 7}}).a}))},8:function(t,e,n){var r=n(2),o=n(75),i=n(46),u=Object.defineProperty;e.f=n(6)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},811:function(t,e,n){"use strict";var r=n(7);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(10),n(10);var o=r(n(812));o.default.install=function(t){t.component(o.default.name,o.default)};var i=o.default;e.default=i},812:function(t,e,n){"use strict";n.r(e);var r=n(672),o=n(498);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n(815);var u=n(19),a=Object(u.a)(o.default,r.a,r.b,!1,null,"7da23860",null);e.default=a.exports},813:function(t,e,n){var r=n(814);t.exports=d,t.exports.parse=i,t.exports.compile=function(t,e){return a(i(t,e),e)},t.exports.tokensToFunction=a,t.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(t,e){for(var n,r=[],i=0,u=0,a="",f=e&&e.delimiter||"/";null!=(n=o.exec(t));){var l=n[0],p=n[1],d=n.index;if(a+=t.slice(u,d),u=d+l.length,p)a+=p[1];else{var v=t[u],h=n[2],b=n[3],m=n[4],y=n[5],g=n[6],x=n[7];a&&(r.push(a),a="");var w=null!=h&&null!=v&&v!==h,_="+"===g||"*"===g,j="?"===g||"*"===g,A=n[2]||f,C=m||y;r.push({name:b||i++,prefix:h||"",delimiter:A,optional:j,repeat:_,partial:w,asterisk:!!x,pattern:C?s(C):x?".*":"[^"+c(A)+"]+?"})}}return u<t.length&&(a+=t.substr(u)),a&&r.push(a),r}function u(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function a(t,e){for(var n=new Array(t.length),o=0;o<t.length;o++)"object"==typeof t[o]&&(n[o]=new RegExp("^(?:"+t[o].pattern+")$",l(e)));return function(e,o){for(var i="",a=e||{},c=(o||{}).pretty?u:encodeURIComponent,s=0;s<t.length;s++){var f=t[s];if("string"!=typeof f){var l,p=a[f.name];if(null==p){if(f.optional){f.partial&&(i+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(r(p)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var d=0;d<p.length;d++){if(l=c(p[d]),!n[s].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===d?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?encodeURI(p).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):c(p),!n[s].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');i+=f.prefix+l}}else i+=f}return i}}function c(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function f(t,e){return t.keys=e,t}function l(t){return t&&t.sensitive?"":"i"}function p(t,e,n){r(e)||(n=e||n,e=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,u="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)u+=c(s);else{var p=c(s.prefix),d="(?:"+s.pattern+")";e.push(s),s.repeat&&(d+="(?:"+p+d+")*"),u+=d=s.optional?s.partial?p+"("+d+")?":"(?:"+p+"("+d+"))?":p+"("+d+")"}}var v=c(n.delimiter||"/"),h=u.slice(-v.length)===v;return o||(u=(h?u.slice(0,-v.length):u)+"(?:"+v+"(?=$))?"),u+=i?"$":o&&h?"":"(?="+v+"|$)",f(new RegExp("^"+u,l(n)),e)}function d(t,e,n){return r(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(t,e)}(t,e):r(t)?function(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(d(t[o],e,n).source);return f(new RegExp("(?:"+r.join("|")+")",l(n)),e)}(t,e,n):function(t,e,n){return p(i(t,n),e,n)}(t,e,n)}},814:function(t,e){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},815:function(t,e,n){"use strict";n(740)},816:function(t,e,n){(t.exports=n(137)(!0)).push([t.i,".app-breadcrumb.el-breadcrumb[data-v-7da23860]{display:inline-block;font-size:14px;line-height:50px;margin-left:10px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-7da23860]{color:#97a8be;cursor:text}\n","",{version:3,sources:["D:/iMatrix-UI/packages/breadcrumb/src/breadcrumb.vue"],names:[],mappings:"AA4DA,+CACE,oBAAqB,CACrB,cAAe,CACf,gBAAiB,CACjB,gBAAiB,CAJnB,4DAMI,aAAc,CACd,WAAY",file:"breadcrumb.vue?vue&type=style&index=0&id=7da23860&prod&rel=stylesheet%2Fscss&lang=scss&scoped=true&",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.app-breadcrumb.el-breadcrumb {\n display: inline-block;\n font-size: 14px;\n line-height: 50px;\n margin-left: 10px;\n .no-redirect {\n color: #97a8be;\n cursor: text;\n }\n}\n"]}])},85:function(t,e,n){var r=n(18);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},9:function(t,e,n){var r=n(1),o=n(12),i=n(11),u=n(34)("src"),a=n(135),c=(""+a).split("toString");n(17).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,u)||o(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||a.call(this)}))},93:function(t,e,n){var r=n(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}}})}));
2
+ //# sourceMappingURL=breadcrumb.js.map