n20-common-lib 1.1.10

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 (85) hide show
  1. package/README.md +24 -0
  2. package/package.json +120 -0
  3. package/src/assets/css/_coreLib.scss +26 -0
  4. package/src/assets/css/cl-approve-card.scss +66 -0
  5. package/src/assets/css/cl-drag-list.scss +22 -0
  6. package/src/assets/css/cl-empty.scss +10 -0
  7. package/src/assets/css/cl-expandable.scss +31 -0
  8. package/src/assets/css/cl-file-upload-table.scss +11 -0
  9. package/src/assets/css/cl-filter.scss +20 -0
  10. package/src/assets/css/cl-foldedpanel.scss +35 -0
  11. package/src/assets/css/cl-footer-box.scss +8 -0
  12. package/src/assets/css/cl-form-item.scss +281 -0
  13. package/src/assets/css/cl-more-tab.scss +98 -0
  14. package/src/assets/css/cl-nav-menu.scss +5 -0
  15. package/src/assets/css/cl-pagination.scss +71 -0
  16. package/src/assets/css/cl-secondary-tab.scss +30 -0
  17. package/src/assets/css/cl-sifting.scss +51 -0
  18. package/src/assets/css/cl-statis.scss +14 -0
  19. package/src/assets/css/cl-step.scss +164 -0
  20. package/src/assets/css/cl-suspend.scss +25 -0
  21. package/src/assets/css/cl-tertiary-tab.scss +37 -0
  22. package/src/assets/css/cl-upload.scss +41 -0
  23. package/src/assets/css/cl-worn-pagination.scss +50 -0
  24. package/src/assets/css/element-variables.scss +1053 -0
  25. package/src/assets/css/element.dev.scss +5 -0
  26. package/src/assets/css/font-icon.scss +22 -0
  27. package/src/assets/css/index.dev.scss +3 -0
  28. package/src/assets/css/index.scss +8 -0
  29. package/src/assets/css/normalize.scss +243 -0
  30. package/src/assets/css/rootvar.scss +66 -0
  31. package/src/assets/css/title-pop.scss +4 -0
  32. package/src/assets/getJsonc.js +51 -0
  33. package/src/assets/postMessage.js +2 -0
  34. package/src/assets/postMessageC.js +37 -0
  35. package/src/components/ApproveCard/index.vue +83 -0
  36. package/src/components/DatePicker/index.vue +22 -0
  37. package/src/components/Dialog/index.vue +115 -0
  38. package/src/components/DragList/index.vue +64 -0
  39. package/src/components/Empty/img/404.png +0 -0
  40. package/src/components/Empty/img/abnormal.svg +109 -0
  41. package/src/components/Empty/img/dispose.svg +72 -0
  42. package/src/components/Empty/img/empty.svg +58 -0
  43. package/src/components/Empty/img/general.svg +59 -0
  44. package/src/components/Empty/img/lock.svg +58 -0
  45. package/src/components/Empty/img/network.svg +60 -0
  46. package/src/components/Empty/img/relevant.svg +69 -0
  47. package/src/components/Empty/img/search.svg +73 -0
  48. package/src/components/Empty/index.vue +92 -0
  49. package/src/components/Expandable/index.vue +47 -0
  50. package/src/components/FileUploadTable/index.vue +456 -0
  51. package/src/components/Filters/index.vue +77 -0
  52. package/src/components/FoldedPanel/index.vue +64 -0
  53. package/src/components/FooterBox/index.vue +18 -0
  54. package/src/components/InputNumber/index.vue +126 -0
  55. package/src/components/MoreTab/index.vue +232 -0
  56. package/src/components/NavMenu/index.vue +90 -0
  57. package/src/components/Pagination/index.vue +126 -0
  58. package/src/components/SecondaryTab/index.vue +75 -0
  59. package/src/components/Select/index.vue +51 -0
  60. package/src/components/Sifting/index.vue +97 -0
  61. package/src/components/Statis/index.vue +55 -0
  62. package/src/components/Step/index.vue +65 -0
  63. package/src/components/Suspend/index.vue +63 -0
  64. package/src/components/Suspend/suspensionBtn.png +0 -0
  65. package/src/components/TertiaryTab/index.vue +49 -0
  66. package/src/components/TimePicker/index.vue +22 -0
  67. package/src/components/Upload/index.vue +237 -0
  68. package/src/components/WornPagination/index.vue +202 -0
  69. package/src/directives/VMove/index.js +42 -0
  70. package/src/directives/VTitle/index.js +55 -0
  71. package/src/directives/VTitle/tooltip.vue +21 -0
  72. package/src/directives/vDrag/index.js +72 -0
  73. package/src/index.js +111 -0
  74. package/src/utils/auth.js +41 -0
  75. package/src/utils/axios.js +180 -0
  76. package/src/utils/print.js +156 -0
  77. package/src/utils/pushLink.js +5 -0
  78. package/style/css/normalize.scss +243 -0
  79. package/style/fonts/element-icons.535877f5.woff +0 -0
  80. package/style/fonts/element-icons.732389de.ttf +0 -0
  81. package/style/index.css +3 -0
  82. package/style/index.css.map +1 -0
  83. package/style/index.umd.min.js +2 -0
  84. package/style/index.umd.min.js.map +1 -0
  85. package/style/server-config.jsonc +212 -0
@@ -0,0 +1,2 @@
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["undefined-index.umd.min"]=t():e["undefined-index.umd.min"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fae3")}({"1eb2":function(e,t,n){"use strict";if("undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var u=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(n.p=u[1])}},8875:function(e,t,n){var r,o,u;(function(n,c){o=[],r=c,u="function"===typeof r?r.apply(t,o):r,void 0===u||(e.exports=u)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(s){var n,r,o,u=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,i=u.exec(s.stack)||c.exec(s.stack),f=i&&i[1]||!1,d=i&&i[2]||!1,p=document.location.href.replace(document.location.hash,""),a=document.getElementsByTagName("script");f===p&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(d-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var l=0;l<a.length;l++){if("interactive"===a[l].readyState)return a[l];if(a[l].src===f)return a[l];if(f===p&&a[l].innerHTML&&a[l].innerHTML.trim()===o)return a[l]}return null}}return e}))},9536:function(e,t,n){},fae3:function(e,t,n){"use strict";n.r(t);n("1eb2");var r=n("9536");for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o)}})}));
2
+ //# sourceMappingURL=index.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/universalModuleDefinition?ac33","webpack:///webpack/bootstrap?7f80","webpack:///./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js?1eb2","webpack:///./node_modules/@soda/get-current-script/index.js?8875","webpack:///./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js?fae3"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","window","currentScript","document","getCurrentScript","src","match","descriptor","getOwnPropertyDescriptor","Error","err","pageSource","inlineScriptSourceRegExp","inlineScriptSource","ieStackRegExp","ffStackRegExp","stackDetails","exec","stack","scriptLocation","line","currentLocation","location","href","replace","hash","scripts","getElementsByTagName","documentElement","outerHTML","RegExp","trim","length","readyState","innerHTML"],"mappings":"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","file":"index.umd.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"undefined-index.umd.min\"] = factory();\n\telse\n\t\troot[\"undefined-index.umd.min\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fae3\");\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","// addapted from the document.currentScript polyfill by Adam Miller\n// MIT license\n// source: https://github.com/amiller-gh/currentScript-polyfill\n\n// added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n define([], factory);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = factory();\n } else {\n root.getCurrentScript = factory();\n }\n}(typeof self !== 'undefined' ? self : this, function () {\n function getCurrentScript () {\n var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')\n // for chrome\n if (!descriptor && 'currentScript' in document && document.currentScript) {\n return document.currentScript\n }\n\n // for other browsers with native support for currentScript\n if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {\n return document.currentScript\n }\n \n // IE 8-10 support script readyState\n // IE 11+ & Firefox support stack trace\n try {\n throw new Error();\n }\n catch (err) {\n // Find the second match for the \"at\" string to get file src url from stack.\n var ieStackRegExp = /.*at [^(]*\\((.*):(.+):(.+)\\)$/ig,\n ffStackRegExp = /@([^@]*):(\\d+):(\\d+)\\s*$/ig,\n stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),\n scriptLocation = (stackDetails && stackDetails[1]) || false,\n line = (stackDetails && stackDetails[2]) || false,\n currentLocation = document.location.href.replace(document.location.hash, ''),\n pageSource,\n inlineScriptSourceRegExp,\n inlineScriptSource,\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n \n if (scriptLocation === currentLocation) {\n pageSource = document.documentElement.outerHTML;\n inlineScriptSourceRegExp = new RegExp('(?:[^\\\\n]+?\\\\n){0,' + (line - 2) + '}[^<]*<script>([\\\\d\\\\D]*?)<\\\\/script>[\\\\d\\\\D]*', 'i');\n inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();\n }\n \n for (var i = 0; i < scripts.length; i++) {\n // If ready state is interactive, return the script tag\n if (scripts[i].readyState === 'interactive') {\n return scripts[i];\n }\n \n // If src matches, return the script tag\n if (scripts[i].src === scriptLocation) {\n return scripts[i];\n }\n \n // If inline source matches, return the script tag\n if (\n scriptLocation === currentLocation &&\n scripts[i].innerHTML &&\n scripts[i].innerHTML.trim() === inlineScriptSource\n ) {\n return scripts[i];\n }\n }\n \n // If no match, return null\n return null;\n }\n };\n\n return getCurrentScript\n}));\n","import './setPublicPath'\nexport * from '~entry'\n"],"sourceRoot":""}
@@ -0,0 +1,212 @@
1
+ /*
2
+ * 打包后依然可以根据部署要求修改配置项
3
+ * 配置会合并到process.env中,VUE_APP_开头的在生产环境process.env可以获取
4
+ * 打包后的修改不能在process.env中生效(添加到process.env是编译阶段添加的)
5
+ * 为什么不在index中直接script引入?直接引入会挂载到window上,可能被窜改
6
+ */
7
+ {
8
+ "_name": "core-lib", // 应用名称
9
+ "_publicPath": "/core-lib/", // 部署的根目录
10
+ "_outputDir": "dist/core-lib", // 生产构建文件目录
11
+ "_iskeepAlive": true, // 作为乾坤子应用时,从其他子运用再切回这个应用,是否保持之前的状态
12
+ // 接口代理,给vueconfig/axios/express使用
13
+ "_proxy": {
14
+ "/sug": {
15
+ "target": "https://suggest.taobao.com", //目标主机
16
+ "ws": true, //代理的WebSockets
17
+ "changeOrigin": true, //需要虚拟主机站点
18
+ "pathRewrite": {
19
+ "^/sug": "/sug"
20
+ }
21
+ },
22
+ "/bems": {
23
+ "target": "http://192.168.60.58:5001", //目标主机
24
+ "ws": true, //代理的WebSockets
25
+ "changeOrigin": true //需要虚拟主机站点
26
+ }
27
+ },
28
+ // 加载到主应用的菜单
29
+ "_menu": [
30
+ {
31
+ "title": "安装",
32
+ "iconClass": "",
33
+ "route": "/index"
34
+ },
35
+ {
36
+ "title": "Color 色彩",
37
+ "iconClass": "",
38
+ "route": "/color"
39
+ },
40
+ {
41
+ "title": "normalizeCss 样式",
42
+ "iconClass": "",
43
+ "route": "/normalize-css"
44
+ },
45
+ {
46
+ "title": "Button 按钮",
47
+ "iconUrl": "",
48
+ "route": "/cl-button"
49
+ },
50
+ {
51
+ "title": "Filters 筛选按钮",
52
+ "iconUrl": "",
53
+ "route": "/cl-filter"
54
+ },
55
+ {
56
+ "title": "FooterBox 按钮布局",
57
+ "iconUrl": "",
58
+ "route": "/cl-footer-box"
59
+ },
60
+ {
61
+ "title": "Suspend 悬浮按钮",
62
+ "iconUrl": "",
63
+ "route": "/cl-suspend"
64
+ },
65
+ {
66
+ "title": "Navigation 导航",
67
+ "iconClass": "",
68
+ "children": [
69
+ {
70
+ "title": "MoreTab 多页签",
71
+ "iconClass": "",
72
+ "route": "/cl-moretab"
73
+ },
74
+ {
75
+ "title": "SecondaryTab 二级Tab",
76
+ "iconClass": "",
77
+ "route": "/cl-secondarytab"
78
+ },
79
+ {
80
+ "title": "TertiaryTab 三级Tab",
81
+ "iconClass": "",
82
+ "route": "/cl-tertiarytab"
83
+ },
84
+ {
85
+ "title": "Pagination 分页",
86
+ "iconClass": "",
87
+ "route": "/cl-pagination"
88
+ },
89
+ {
90
+ "title": "Step 步骤条",
91
+ "iconClass": "",
92
+ "route": "/cl-step"
93
+ }
94
+ ]
95
+ },
96
+ {
97
+ "title": "Feedback 反馈",
98
+ "iconClass": "",
99
+ "children": [
100
+ {
101
+ "title": "异常页面",
102
+ "iconClass": "",
103
+ "route": "/cl-empty"
104
+ },
105
+ {
106
+ "title": "标签",
107
+ "iconClass": "",
108
+ "route": "/cl-tag"
109
+ },
110
+ {
111
+ "title": "Tabs 页签",
112
+ "iconClass": "",
113
+ "route": ""
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "title": "From 表单",
119
+ "iconClass": "",
120
+ "children": [
121
+ {
122
+ "title": "信息输入",
123
+ "iconClass": "",
124
+ "route": "/from-input"
125
+ },
126
+ {
127
+ "title": "上传组件",
128
+ "iconClass": "",
129
+ "route": "/cl-upload"
130
+ },
131
+ {
132
+ "title": "附件上传表格",
133
+ "iconClass": "",
134
+ "route": "/cl-upload-table"
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ "title": "Data 数据",
140
+ "iconClass": "",
141
+ "children": [
142
+ // {
143
+ // "title": "Message 消息提示",
144
+ // "iconClass": "",
145
+ // "route": ""
146
+ // },
147
+ {
148
+ "title": "DragList 拖拽列表",
149
+ "iconClass": "",
150
+ "route": "/cl-draglist"
151
+ },
152
+ {
153
+ "title": "Dialog 弹窗",
154
+ "iconClass": "",
155
+ "route": "/cl-dialog"
156
+ },
157
+ {
158
+ "title": "statis 统计条",
159
+ "iconClass": "",
160
+ "route": "/cl-statis"
161
+ },
162
+ {
163
+ "title": "审批记录卡片",
164
+ "iconClass": "",
165
+ "route": "/cl-approvecard"
166
+ },
167
+ {
168
+ "title": "信息展示组件",
169
+ "iconClass": "",
170
+ "route": "/cl-expandable"
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "title": "Directive 指令",
176
+ "iconClass": "",
177
+ "children": [
178
+ {
179
+ "title": "v-title 文字提示",
180
+ "iconClass": "",
181
+ "route": "/v-title"
182
+ },
183
+ {
184
+ "title": "v-drag 弹窗拖拽",
185
+ "iconClass": "",
186
+ "route": "/v-drag"
187
+ },
188
+ {
189
+ "title": "v-move 位置拖拽",
190
+ "iconClass": "",
191
+ "route": "/v-move"
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "title": "Function 方法",
197
+ "iconClass": "",
198
+ "children": [
199
+ {
200
+ "title": "Print 打印",
201
+ "iconClass": "",
202
+ "route": "/print"
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "title": "Axios 数据请求",
208
+ "iconClass": "",
209
+ "route": "/axios"
210
+ }
211
+ ]
212
+ }