doctor-admin-components 1.0.0-beta.0

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.
package/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # doctor-admin-components
2
+
3
+ ## Project setup
4
+ ```
5
+ npm install
6
+ ```
7
+
8
+ ### Compiles and hot-reloads for development
9
+ ```
10
+ npm run serve
11
+ ```
12
+
13
+ ### Compiles and minifies for production
14
+ ```
15
+ npm run build
16
+ ```
17
+
18
+ ### Customize configuration
19
+ See [Configuration Reference](https://cli.vuejs.org/config/).
@@ -0,0 +1,271 @@
1
+ /******/ (function() { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ // The require scope
4
+ /******/ var __webpack_require__ = {};
5
+ /******/
6
+ /************************************************************************/
7
+ /******/ /* webpack/runtime/define property getters */
8
+ /******/ !function() {
9
+ /******/ // define getter functions for harmony exports
10
+ /******/ __webpack_require__.d = function(exports, definition) {
11
+ /******/ for(var key in definition) {
12
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14
+ /******/ }
15
+ /******/ }
16
+ /******/ };
17
+ /******/ }();
18
+ /******/
19
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
20
+ /******/ !function() {
21
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
22
+ /******/ }();
23
+ /******/
24
+ /******/ /* webpack/runtime/make namespace object */
25
+ /******/ !function() {
26
+ /******/ // define __esModule on exports
27
+ /******/ __webpack_require__.r = function(exports) {
28
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
29
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
30
+ /******/ }
31
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
32
+ /******/ };
33
+ /******/ }();
34
+ /******/
35
+ /******/ /* webpack/runtime/publicPath */
36
+ /******/ !function() {
37
+ /******/ __webpack_require__.p = "";
38
+ /******/ }();
39
+ /******/
40
+ /************************************************************************/
41
+ var __webpack_exports__ = {};
42
+ // ESM COMPAT FLAG
43
+ __webpack_require__.r(__webpack_exports__);
44
+
45
+ // EXPORTS
46
+ __webpack_require__.d(__webpack_exports__, {
47
+ "default": function() { return /* binding */ entry_lib; }
48
+ });
49
+
50
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
51
+ /* eslint-disable no-var */
52
+ // This file is imported into lib/wc client bundles.
53
+
54
+ if (typeof window !== 'undefined') {
55
+ var currentScript = window.document.currentScript
56
+ if (false) { var getCurrentScript; }
57
+
58
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
59
+ if (src) {
60
+ __webpack_require__.p = src[1] // eslint-disable-line
61
+ }
62
+ }
63
+
64
+ // Indicate to webpack that this file can be concatenated
65
+ /* harmony default export */ var setPublicPath = (null);
66
+
67
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/Button/src/index.vue?vue&type=template&id=495a3e9c&scoped=true&
68
+ var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"x-button"},[_c('div',[_vm._v("123123")]),_vm._t("default")],2)
69
+ }
70
+ var staticRenderFns = []
71
+
72
+
73
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/Button/src/index.vue?vue&type=script&lang=js&
74
+
75
+ /* harmony default export */ var srcvue_type_script_lang_js_ = ({
76
+ name: 'x-button',
77
+ props: {
78
+ type: String
79
+ }
80
+ });
81
+
82
+ ;// CONCATENATED MODULE: ./packages/Button/src/index.vue?vue&type=script&lang=js&
83
+ /* harmony default export */ var Button_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
84
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/Button/src/index.vue?vue&type=style&index=0&id=495a3e9c&prod&scoped=true&lang=css&
85
+ // extracted by mini-css-extract-plugin
86
+
87
+ ;// CONCATENATED MODULE: ./packages/Button/src/index.vue?vue&type=style&index=0&id=495a3e9c&prod&scoped=true&lang=css&
88
+
89
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
90
+ /* globals __VUE_SSR_CONTEXT__ */
91
+
92
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
93
+ // This module is a runtime utility for cleaner component module output and will
94
+ // be included in the final webpack user bundle.
95
+
96
+ function normalizeComponent(
97
+ scriptExports,
98
+ render,
99
+ staticRenderFns,
100
+ functionalTemplate,
101
+ injectStyles,
102
+ scopeId,
103
+ moduleIdentifier /* server only */,
104
+ shadowMode /* vue-cli only */
105
+ ) {
106
+ // Vue.extend constructor export interop
107
+ var options =
108
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
109
+
110
+ // render functions
111
+ if (render) {
112
+ options.render = render
113
+ options.staticRenderFns = staticRenderFns
114
+ options._compiled = true
115
+ }
116
+
117
+ // functional template
118
+ if (functionalTemplate) {
119
+ options.functional = true
120
+ }
121
+
122
+ // scopedId
123
+ if (scopeId) {
124
+ options._scopeId = 'data-v-' + scopeId
125
+ }
126
+
127
+ var hook
128
+ if (moduleIdentifier) {
129
+ // server build
130
+ hook = function (context) {
131
+ // 2.3 injection
132
+ context =
133
+ context || // cached call
134
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
135
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
136
+ // 2.2 with runInNewContext: true
137
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
138
+ context = __VUE_SSR_CONTEXT__
139
+ }
140
+ // inject component styles
141
+ if (injectStyles) {
142
+ injectStyles.call(this, context)
143
+ }
144
+ // register component module identifier for async chunk inferrence
145
+ if (context && context._registeredComponents) {
146
+ context._registeredComponents.add(moduleIdentifier)
147
+ }
148
+ }
149
+ // used by ssr in case component is cached and beforeCreate
150
+ // never gets called
151
+ options._ssrRegister = hook
152
+ } else if (injectStyles) {
153
+ hook = shadowMode
154
+ ? function () {
155
+ injectStyles.call(
156
+ this,
157
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
158
+ )
159
+ }
160
+ : injectStyles
161
+ }
162
+
163
+ if (hook) {
164
+ if (options.functional) {
165
+ // for template-only hot-reload because in that case the render fn doesn't
166
+ // go through the normalizer
167
+ options._injectStyles = hook
168
+ // register for functional component in vue file
169
+ var originalRender = options.render
170
+ options.render = function renderWithStyleInjection(h, context) {
171
+ hook.call(context)
172
+ return originalRender(h, context)
173
+ }
174
+ } else {
175
+ // inject component registration as beforeCreate hook
176
+ var existing = options.beforeCreate
177
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
178
+ }
179
+ }
180
+
181
+ return {
182
+ exports: scriptExports,
183
+ options: options
184
+ }
185
+ }
186
+
187
+ ;// CONCATENATED MODULE: ./packages/Button/src/index.vue
188
+
189
+
190
+
191
+ ;
192
+
193
+
194
+ /* normalize component */
195
+
196
+ var component = normalizeComponent(
197
+ Button_srcvue_type_script_lang_js_,
198
+ render,
199
+ staticRenderFns,
200
+ false,
201
+ null,
202
+ "495a3e9c",
203
+ null
204
+
205
+ )
206
+
207
+ /* harmony default export */ var Button_src = (component.exports);
208
+ ;// CONCATENATED MODULE: ./packages/Button/index.js
209
+ /*
210
+ * @Author: zhangpengwei 15038779532@163.com
211
+ * @Date: 2023-07-24 15:15:56
212
+ * @LastEditors: zhangpengwei 15038779532@163.com
213
+ * @LastEditTime: 2023-07-24 15:15:59
214
+ * @FilePath: /doctor-admin-components/packages/Button/index.js
215
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
216
+ */
217
+ // 导入组件,组件必须声明 name
218
+
219
+ // 为组件提供 install 安装方法,供按需引入
220
+ Button_src.install = function (Vue) {
221
+ Vue.component(Button_src.name, Button_src)
222
+ }
223
+ // 导出组件
224
+ /* harmony default export */ var Button = (Button_src);
225
+
226
+ ;// CONCATENATED MODULE: ./packages/index.js
227
+ /*
228
+ * @Author: zhangpengwei 15038779532@163.com
229
+ * @Date: 2023-07-24 15:34:35
230
+ * @LastEditors: zhangpengwei 15038779532@163.com
231
+ * @LastEditTime: 2023-07-24 15:34:53
232
+ * @FilePath: /doctor-admin-components/packages/index.js
233
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
234
+ */
235
+ // 导入button组件
236
+
237
+
238
+ // 组件列表
239
+ const components = [
240
+ Button
241
+ ]
242
+
243
+ // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
244
+ const install = function (Vue) {
245
+ // 判断是否安装
246
+ if (install.installed) return
247
+ // 遍历注册全局组件
248
+ components.map(component => Vue.component(component.name, component))
249
+ }
250
+
251
+ // 判断是否是直接引入文件
252
+ if (typeof window !== 'undefined' && window.Vue) {
253
+ install(window.Vue)
254
+ }
255
+
256
+ /* harmony default export */ var packages_0 = ({
257
+ // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
258
+ install,
259
+ // 以下是具体的组件列表
260
+ XButton: Button
261
+ });
262
+
263
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
264
+
265
+
266
+ /* harmony default export */ var entry_lib = (packages_0);
267
+
268
+
269
+ module.exports = __webpack_exports__;
270
+ /******/ })()
271
+ ;
package/lib/index.css ADDED
@@ -0,0 +1 @@
1
+ .x-button[data-v-495a3e9c]{display:inline-block;padding:3px 6px;background:#000;color:#fff}
@@ -0,0 +1,282 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["index"] = factory();
8
+ else
9
+ root["index"] = factory();
10
+ })((typeof self !== 'undefined' ? self : this), function() {
11
+ return /******/ (function() { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ // The require scope
14
+ /******/ var __webpack_require__ = {};
15
+ /******/
16
+ /************************************************************************/
17
+ /******/ /* webpack/runtime/define property getters */
18
+ /******/ !function() {
19
+ /******/ // define getter functions for harmony exports
20
+ /******/ __webpack_require__.d = function(exports, definition) {
21
+ /******/ for(var key in definition) {
22
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
23
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
24
+ /******/ }
25
+ /******/ }
26
+ /******/ };
27
+ /******/ }();
28
+ /******/
29
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
30
+ /******/ !function() {
31
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
32
+ /******/ }();
33
+ /******/
34
+ /******/ /* webpack/runtime/make namespace object */
35
+ /******/ !function() {
36
+ /******/ // define __esModule on exports
37
+ /******/ __webpack_require__.r = function(exports) {
38
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
39
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
40
+ /******/ }
41
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
42
+ /******/ };
43
+ /******/ }();
44
+ /******/
45
+ /******/ /* webpack/runtime/publicPath */
46
+ /******/ !function() {
47
+ /******/ __webpack_require__.p = "";
48
+ /******/ }();
49
+ /******/
50
+ /************************************************************************/
51
+ var __webpack_exports__ = {};
52
+ // ESM COMPAT FLAG
53
+ __webpack_require__.r(__webpack_exports__);
54
+
55
+ // EXPORTS
56
+ __webpack_require__.d(__webpack_exports__, {
57
+ "default": function() { return /* binding */ entry_lib; }
58
+ });
59
+
60
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
61
+ /* eslint-disable no-var */
62
+ // This file is imported into lib/wc client bundles.
63
+
64
+ if (typeof window !== 'undefined') {
65
+ var currentScript = window.document.currentScript
66
+ if (false) { var getCurrentScript; }
67
+
68
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
69
+ if (src) {
70
+ __webpack_require__.p = src[1] // eslint-disable-line
71
+ }
72
+ }
73
+
74
+ // Indicate to webpack that this file can be concatenated
75
+ /* harmony default export */ var setPublicPath = (null);
76
+
77
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/Button/src/index.vue?vue&type=template&id=495a3e9c&scoped=true&
78
+ var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"x-button"},[_c('div',[_vm._v("123123")]),_vm._t("default")],2)
79
+ }
80
+ var staticRenderFns = []
81
+
82
+
83
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/Button/src/index.vue?vue&type=script&lang=js&
84
+
85
+ /* harmony default export */ var srcvue_type_script_lang_js_ = ({
86
+ name: 'x-button',
87
+ props: {
88
+ type: String
89
+ }
90
+ });
91
+
92
+ ;// CONCATENATED MODULE: ./packages/Button/src/index.vue?vue&type=script&lang=js&
93
+ /* harmony default export */ var Button_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
94
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/Button/src/index.vue?vue&type=style&index=0&id=495a3e9c&prod&scoped=true&lang=css&
95
+ // extracted by mini-css-extract-plugin
96
+
97
+ ;// CONCATENATED MODULE: ./packages/Button/src/index.vue?vue&type=style&index=0&id=495a3e9c&prod&scoped=true&lang=css&
98
+
99
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
100
+ /* globals __VUE_SSR_CONTEXT__ */
101
+
102
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
103
+ // This module is a runtime utility for cleaner component module output and will
104
+ // be included in the final webpack user bundle.
105
+
106
+ function normalizeComponent(
107
+ scriptExports,
108
+ render,
109
+ staticRenderFns,
110
+ functionalTemplate,
111
+ injectStyles,
112
+ scopeId,
113
+ moduleIdentifier /* server only */,
114
+ shadowMode /* vue-cli only */
115
+ ) {
116
+ // Vue.extend constructor export interop
117
+ var options =
118
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
119
+
120
+ // render functions
121
+ if (render) {
122
+ options.render = render
123
+ options.staticRenderFns = staticRenderFns
124
+ options._compiled = true
125
+ }
126
+
127
+ // functional template
128
+ if (functionalTemplate) {
129
+ options.functional = true
130
+ }
131
+
132
+ // scopedId
133
+ if (scopeId) {
134
+ options._scopeId = 'data-v-' + scopeId
135
+ }
136
+
137
+ var hook
138
+ if (moduleIdentifier) {
139
+ // server build
140
+ hook = function (context) {
141
+ // 2.3 injection
142
+ context =
143
+ context || // cached call
144
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
145
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
146
+ // 2.2 with runInNewContext: true
147
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
148
+ context = __VUE_SSR_CONTEXT__
149
+ }
150
+ // inject component styles
151
+ if (injectStyles) {
152
+ injectStyles.call(this, context)
153
+ }
154
+ // register component module identifier for async chunk inferrence
155
+ if (context && context._registeredComponents) {
156
+ context._registeredComponents.add(moduleIdentifier)
157
+ }
158
+ }
159
+ // used by ssr in case component is cached and beforeCreate
160
+ // never gets called
161
+ options._ssrRegister = hook
162
+ } else if (injectStyles) {
163
+ hook = shadowMode
164
+ ? function () {
165
+ injectStyles.call(
166
+ this,
167
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
168
+ )
169
+ }
170
+ : injectStyles
171
+ }
172
+
173
+ if (hook) {
174
+ if (options.functional) {
175
+ // for template-only hot-reload because in that case the render fn doesn't
176
+ // go through the normalizer
177
+ options._injectStyles = hook
178
+ // register for functional component in vue file
179
+ var originalRender = options.render
180
+ options.render = function renderWithStyleInjection(h, context) {
181
+ hook.call(context)
182
+ return originalRender(h, context)
183
+ }
184
+ } else {
185
+ // inject component registration as beforeCreate hook
186
+ var existing = options.beforeCreate
187
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
188
+ }
189
+ }
190
+
191
+ return {
192
+ exports: scriptExports,
193
+ options: options
194
+ }
195
+ }
196
+
197
+ ;// CONCATENATED MODULE: ./packages/Button/src/index.vue
198
+
199
+
200
+
201
+ ;
202
+
203
+
204
+ /* normalize component */
205
+
206
+ var component = normalizeComponent(
207
+ Button_srcvue_type_script_lang_js_,
208
+ render,
209
+ staticRenderFns,
210
+ false,
211
+ null,
212
+ "495a3e9c",
213
+ null
214
+
215
+ )
216
+
217
+ /* harmony default export */ var Button_src = (component.exports);
218
+ ;// CONCATENATED MODULE: ./packages/Button/index.js
219
+ /*
220
+ * @Author: zhangpengwei 15038779532@163.com
221
+ * @Date: 2023-07-24 15:15:56
222
+ * @LastEditors: zhangpengwei 15038779532@163.com
223
+ * @LastEditTime: 2023-07-24 15:15:59
224
+ * @FilePath: /doctor-admin-components/packages/Button/index.js
225
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
226
+ */
227
+ // 导入组件,组件必须声明 name
228
+
229
+ // 为组件提供 install 安装方法,供按需引入
230
+ Button_src.install = function (Vue) {
231
+ Vue.component(Button_src.name, Button_src)
232
+ }
233
+ // 导出组件
234
+ /* harmony default export */ var Button = (Button_src);
235
+
236
+ ;// CONCATENATED MODULE: ./packages/index.js
237
+ /*
238
+ * @Author: zhangpengwei 15038779532@163.com
239
+ * @Date: 2023-07-24 15:34:35
240
+ * @LastEditors: zhangpengwei 15038779532@163.com
241
+ * @LastEditTime: 2023-07-24 15:34:53
242
+ * @FilePath: /doctor-admin-components/packages/index.js
243
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
244
+ */
245
+ // 导入button组件
246
+
247
+
248
+ // 组件列表
249
+ const components = [
250
+ Button
251
+ ]
252
+
253
+ // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
254
+ const install = function (Vue) {
255
+ // 判断是否安装
256
+ if (install.installed) return
257
+ // 遍历注册全局组件
258
+ components.map(component => Vue.component(component.name, component))
259
+ }
260
+
261
+ // 判断是否是直接引入文件
262
+ if (typeof window !== 'undefined' && window.Vue) {
263
+ install(window.Vue)
264
+ }
265
+
266
+ /* harmony default export */ var packages_0 = ({
267
+ // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
268
+ install,
269
+ // 以下是具体的组件列表
270
+ XButton: Button
271
+ });
272
+
273
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
274
+
275
+
276
+ /* harmony default export */ var entry_lib = (packages_0);
277
+
278
+
279
+ /******/ return __webpack_exports__;
280
+ /******/ })()
281
+ ;
282
+ });
@@ -0,0 +1 @@
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["index"]=t():e["index"]=t()})("undefined"!==typeof self?self:this,(function(){return function(){"use strict";var e={};!function(){e.d=function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})}}(),function(){e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){e.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){e.p=""}();var t={};if(e.r(t),e.d(t,{default:function(){return v}}),"undefined"!==typeof window){var n=window.document.currentScript,o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(e.p=o[1])}var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"x-button"},[t("div",[e._v("123123")]),e._t("default")],2)},i=[],f={name:"x-button",props:{type:String}},s=f;function u(e,t,n,o,r,i,f,s){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),f?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(f)},c._ssrRegister=u):r&&(u=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var d=c.render;c.render=function(e,t){return u.call(t),d(e,t)}}else{var a=c.beforeCreate;c.beforeCreate=a?[].concat(a,u):[u]}return{exports:e,options:c}}var c=u(s,r,i,!1,null,"495a3e9c",null),d=c.exports;d.install=function(e){e.component(d.name,d)};var a=d;const p=[a],l=function(e){l.installed||p.map((t=>e.component(t.name,t)))};"undefined"!==typeof window&&window.Vue&&l(window.Vue);var _={install:l,XButton:a},v=_;return t}()}));
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "doctor-admin-components",
3
+ "version": "1.0.0-beta.0",
4
+ "private": false,
5
+ "main": "lib/index.umd.min.js",
6
+ "scripts": {
7
+ "serve": "vue-cli-service serve",
8
+ "build": "vue-cli-service build",
9
+ "prelib": "rimraf ./lib",
10
+ "lib": "vue-cli-service build --target lib --name index --dest lib packages/index.js"
11
+ },
12
+ "dependencies": {
13
+ "ali-oss": "^6.17.1",
14
+ "axios": "^1.4.0",
15
+ "core-js": "^3.8.3",
16
+ "element-ui": "^2.15.13",
17
+ "file-saver": "^2.0.5",
18
+ "html2canvas": "^1.4.1",
19
+ "js-cookie": "^3.0.5",
20
+ "jspdf": "^2.5.1",
21
+ "jszip": "^3.10.1",
22
+ "moment": "^2.29.4",
23
+ "vue": "^2.6.14",
24
+ "vue-router": "^3.5.1",
25
+ "vuex": "^3.6.2"
26
+ },
27
+ "devDependencies": {
28
+ "@vue/cli-plugin-babel": "~5.0.0",
29
+ "@vue/cli-plugin-router": "~5.0.0",
30
+ "@vue/cli-plugin-vuex": "~5.0.0",
31
+ "@vue/cli-service": "~5.0.0",
32
+ "sass": "^1.32.7",
33
+ "sass-loader": "^12.0.0",
34
+ "vue-template-compiler": "^2.6.14"
35
+ },
36
+ "browserslist": [
37
+ "> 1%",
38
+ "last 2 versions",
39
+ "not dead"
40
+ ]
41
+ }