cy-element-ui 1.0.4 → 1.0.5
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 +22 -13
- package/lib/alert.js +211 -203
- package/lib/aside.js +29 -29
- package/lib/autocomplete.js +4615 -483
- package/lib/avatar.js +152 -126
- package/lib/backtop.js +117 -125
- package/lib/badge.js +128 -134
- package/lib/breadcrumb-item.js +146 -122
- package/lib/breadcrumb.js +97 -96
- package/lib/button-group.js +68 -65
- package/lib/button.js +67 -87
- package/lib/calendar.js +2475 -603
- package/lib/card.js +101 -100
- package/lib/carousel-item.js +854 -210
- package/lib/carousel.js +575 -408
- package/lib/cascader-panel.js +3546 -1153
- package/lib/cascader.js +7376 -970
- package/lib/checkbox-button.js +337 -290
- package/lib/checkbox-group.js +176 -105
- package/lib/checkbox.js +240 -220
- package/lib/col.js +113 -68
- package/lib/collapse-item.js +1228 -225
- package/lib/collapse.js +163 -123
- package/lib/color-picker.js +5223 -1251
- package/lib/container.js +98 -88
- package/lib/date-picker.js +8396 -3945
- package/lib/descriptions-item.js +53 -32
- package/lib/descriptions.js +697 -334
- package/lib/dialog.js +1725 -247
- package/lib/directives/mousewheel.js +14 -20
- package/lib/directives/repeat-click.js +27 -30
- package/lib/divider.js +38 -45
- package/lib/drawer.js +1032 -238
- package/lib/dropdown-item.js +159 -111
- package/lib/dropdown-menu.js +2445 -117
- package/lib/dropdown.js +1675 -366
- package/lib/element-ui.common.js +49110 -39985
- package/lib/empty.js +1084 -203
- package/lib/fileUpload.js +3900 -0
- package/lib/footer.js +29 -29
- package/lib/form-item.js +1236 -467
- package/lib/form.js +326 -258
- package/lib/header.js +80 -80
- package/lib/icon.js +71 -68
- package/lib/image.js +2389 -743
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +814 -150
- package/lib/input-number.js +2181 -444
- package/lib/input.js +1197 -517
- package/lib/link.js +117 -135
- package/lib/loading.js +1130 -363
- package/lib/locale/format.js +38 -49
- package/lib/locale/index.js +38 -52
- package/lib/locale/lang/af-ZA.js +130 -123
- package/lib/locale/lang/ar.js +123 -122
- package/lib/locale/lang/az.js +122 -121
- package/lib/locale/lang/bg.js +133 -123
- package/lib/locale/lang/bn.js +121 -121
- package/lib/locale/lang/ca.js +123 -122
- package/lib/locale/lang/cs-CZ.js +127 -125
- package/lib/locale/lang/da.js +124 -122
- package/lib/locale/lang/de.js +126 -124
- package/lib/locale/lang/ee.js +125 -123
- package/lib/locale/lang/el.js +125 -123
- package/lib/locale/lang/en.js +127 -123
- package/lib/locale/lang/eo.js +125 -123
- package/lib/locale/lang/es.js +123 -122
- package/lib/locale/lang/eu.js +128 -123
- package/lib/locale/lang/fa.js +125 -123
- package/lib/locale/lang/fi.js +125 -123
- package/lib/locale/lang/fr.js +125 -122
- package/lib/locale/lang/he.js +130 -123
- package/lib/locale/lang/hr.js +128 -123
- package/lib/locale/lang/hu.js +124 -122
- package/lib/locale/lang/hy-AM.js +125 -123
- package/lib/locale/lang/id.js +124 -123
- package/lib/locale/lang/is.js +124 -123
- package/lib/locale/lang/it.js +123 -122
- package/lib/locale/lang/ja.js +125 -123
- package/lib/locale/lang/kg.js +125 -123
- package/lib/locale/lang/km.js +124 -123
- package/lib/locale/lang/ko.js +125 -123
- package/lib/locale/lang/ku.js +125 -123
- package/lib/locale/lang/kz.js +125 -123
- package/lib/locale/lang/lo-LA.js +121 -121
- package/lib/locale/lang/lt.js +125 -123
- package/lib/locale/lang/lv.js +125 -123
- package/lib/locale/lang/mn.js +125 -123
- package/lib/locale/lang/ms.js +123 -122
- package/lib/locale/lang/nb-NO.js +123 -122
- package/lib/locale/lang/nl.js +125 -123
- package/lib/locale/lang/pl.js +125 -123
- package/lib/locale/lang/pt-br.js +124 -123
- package/lib/locale/lang/pt.js +133 -123
- package/lib/locale/lang/ro.js +125 -123
- package/lib/locale/lang/ru-RU.js +124 -123
- package/lib/locale/lang/si.js +127 -123
- package/lib/locale/lang/sk.js +126 -125
- package/lib/locale/lang/sl.js +125 -123
- package/lib/locale/lang/sr-Latn.js +124 -123
- package/lib/locale/lang/sr.js +128 -123
- package/lib/locale/lang/sv-SE.js +128 -123
- package/lib/locale/lang/sw.js +127 -123
- package/lib/locale/lang/ta.js +130 -122
- package/lib/locale/lang/th.js +127 -123
- package/lib/locale/lang/tk.js +129 -123
- package/lib/locale/lang/tr-TR.js +125 -123
- package/lib/locale/lang/ua.js +124 -123
- package/lib/locale/lang/ug-CN.js +124 -123
- package/lib/locale/lang/uz-UZ.js +124 -123
- package/lib/locale/lang/vi.js +124 -123
- package/lib/locale/lang/zh-CN.js +124 -123
- package/lib/locale/lang/zh-TW.js +128 -123
- package/lib/main.js +23 -21
- package/lib/menu-item-group.js +105 -111
- package/lib/menu-item.js +3558 -253
- package/lib/menu.js +1680 -528
- package/lib/message-box.js +3427 -684
- package/lib/message.js +1677 -229
- package/lib/mixins/emitter.js +28 -30
- package/lib/mixins/focus.js +10 -11
- package/lib/mixins/locale.js +12 -14
- package/lib/mixins/migrating.js +38 -45
- package/lib/notification.js +1707 -269
- package/lib/option-group.js +190 -139
- package/lib/option.js +949 -196
- package/lib/page-header.js +964 -42
- package/lib/pagination.js +6947 -641
- package/lib/popconfirm.js +3951 -223
- package/lib/popover.js +3247 -369
- package/lib/progress.js +254 -244
- package/lib/radio-button.js +259 -226
- package/lib/radio-group.js +249 -186
- package/lib/radio.js +263 -253
- package/lib/rate.js +1399 -420
- package/lib/result.js +183 -227
- package/lib/row.js +58 -41
- package/lib/scrollbar.js +1331 -278
- package/lib/select.js +5816 -1428
- package/lib/skeleton-item.js +133 -145
- package/lib/skeleton.js +82 -91
- package/lib/slider.js +5157 -702
- package/lib/spinner.js +113 -101
- package/lib/statistic.js +10205 -254
- package/lib/step.js +274 -311
- package/lib/steps.js +854 -117
- package/lib/subTitle.js +292 -0
- package/lib/submenu.js +2867 -429
- package/lib/switch.js +1051 -291
- package/lib/tab-pane.js +125 -135
- package/lib/tabDialog.js +2658 -0
- package/lib/table-column.js +1975 -751
- package/lib/table.js +8019 -3979
- package/lib/tabs.js +1455 -605
- package/lib/tag.js +73 -68
- package/lib/theme-chalk/src/index.scss +3 -0
- package/lib/time-picker.js +6821 -1944
- package/lib/time-select.js +6297 -1186
- package/lib/timeline-item.js +43 -84
- package/lib/timeline.js +43 -39
- package/lib/tooltip.js +3185 -287
- package/lib/transfer.js +2943 -625
- package/lib/transitions/collapse-transition.js +69 -87
- package/lib/tree.js +3312 -1791
- package/lib/treeSelect.js +4436 -0
- package/lib/umd/locale/af-ZA.js +145 -138
- package/lib/umd/locale/ar.js +138 -137
- package/lib/umd/locale/az.js +139 -137
- package/lib/umd/locale/bg.js +148 -138
- package/lib/umd/locale/bn.js +138 -137
- package/lib/umd/locale/ca.js +138 -137
- package/lib/umd/locale/cs-CZ.js +142 -140
- package/lib/umd/locale/da.js +139 -137
- package/lib/umd/locale/de.js +141 -139
- package/lib/umd/locale/ee.js +140 -138
- package/lib/umd/locale/el.js +140 -138
- package/lib/umd/locale/en.js +142 -138
- package/lib/umd/locale/eo.js +140 -138
- package/lib/umd/locale/es.js +138 -137
- package/lib/umd/locale/eu.js +143 -138
- package/lib/umd/locale/fa.js +140 -138
- package/lib/umd/locale/fi.js +140 -138
- package/lib/umd/locale/fr.js +140 -137
- package/lib/umd/locale/he.js +145 -138
- package/lib/umd/locale/hr.js +143 -138
- package/lib/umd/locale/hu.js +139 -137
- package/lib/umd/locale/hy-AM.js +140 -138
- package/lib/umd/locale/id.js +139 -138
- package/lib/umd/locale/is.js +139 -138
- package/lib/umd/locale/it.js +138 -137
- package/lib/umd/locale/ja.js +140 -138
- package/lib/umd/locale/kg.js +140 -138
- package/lib/umd/locale/km.js +139 -138
- package/lib/umd/locale/ko.js +140 -138
- package/lib/umd/locale/ku.js +140 -138
- package/lib/umd/locale/kz.js +140 -138
- package/lib/umd/locale/lo-LA.js +138 -137
- package/lib/umd/locale/lt.js +140 -138
- package/lib/umd/locale/lv.js +140 -138
- package/lib/umd/locale/mn.js +140 -138
- package/lib/umd/locale/ms.js +138 -137
- package/lib/umd/locale/nb-NO.js +138 -137
- package/lib/umd/locale/nl.js +140 -138
- package/lib/umd/locale/pl.js +140 -138
- package/lib/umd/locale/pt-br.js +139 -138
- package/lib/umd/locale/pt.js +148 -138
- package/lib/umd/locale/ro.js +140 -138
- package/lib/umd/locale/ru-RU.js +139 -138
- package/lib/umd/locale/si.js +142 -138
- package/lib/umd/locale/sk.js +141 -140
- package/lib/umd/locale/sl.js +140 -138
- package/lib/umd/locale/sr-Latn.js +139 -138
- package/lib/umd/locale/sr.js +143 -138
- package/lib/umd/locale/sv-SE.js +143 -138
- package/lib/umd/locale/sw.js +142 -138
- package/lib/umd/locale/ta.js +145 -137
- package/lib/umd/locale/th.js +142 -138
- package/lib/umd/locale/tk.js +144 -138
- package/lib/umd/locale/tr-TR.js +140 -138
- package/lib/umd/locale/ua.js +139 -138
- package/lib/umd/locale/ug-CN.js +139 -138
- package/lib/umd/locale/uz-UZ.js +139 -138
- package/lib/umd/locale/vi.js +139 -138
- package/lib/umd/locale/zh-CN.js +139 -138
- package/lib/umd/locale/zh-TW.js +143 -138
- package/lib/upload.js +2377 -987
- package/lib/utils/after-leave.js +36 -33
- package/lib/utils/aria-dialog.js +55 -73
- package/lib/utils/aria-utils.js +67 -76
- package/lib/utils/clickoutside.js +52 -60
- package/lib/utils/date-util.js +198 -241
- package/lib/utils/date.js +6 -368
- package/lib/utils/date_source.js +349 -0
- package/lib/utils/dom.js +167 -183
- package/lib/utils/lodash.js +13 -9421
- package/lib/utils/lodash_source.js +9421 -0
- package/lib/utils/menu/aria-menubar.js +13 -18
- package/lib/utils/menu/aria-menuitem.js +43 -54
- package/lib/utils/menu/aria-submenu.js +50 -59
- package/lib/utils/merge.js +15 -17
- package/lib/utils/popper.js +1141 -1170
- package/lib/utils/popup/index.js +186 -230
- package/lib/utils/popup/popup-manager.js +159 -191
- package/lib/utils/resize-event.js +29 -44
- package/lib/utils/scroll-into-view.js +25 -33
- package/lib/utils/scrollbar-width.js +25 -36
- package/lib/utils/shared.js +3 -3
- package/lib/utils/types.js +19 -32
- package/lib/utils/util.js +187 -221
- package/lib/utils/vdom.js +5 -9
- package/lib/utils/vue-popper.js +166 -188
- package/package.json +20 -19
- package/packages/alert/src/main.vue +63 -63
- package/packages/aside/src/main.vue +9 -9
- package/packages/autocomplete/src/autocomplete-suggestions.vue +46 -46
- package/packages/autocomplete/src/autocomplete.vue +198 -198
- package/packages/avatar/src/main.vue +5 -5
- package/packages/backtop/src/main.vue +3 -3
- package/packages/badge/src/main.vue +1 -1
- package/packages/breadcrumb/src/breadcrumb-item.vue +26 -26
- package/packages/breadcrumb/src/breadcrumb.vue +22 -22
- package/packages/button/src/button-group.vue +3 -3
- package/packages/button/src/button.vue +44 -44
- package/packages/calendar/src/date-table.vue +3 -3
- package/packages/calendar/src/main.vue +7 -7
- package/packages/card/src/main.vue +9 -9
- package/packages/carousel/src/item.vue +98 -98
- package/packages/carousel/src/main.vue +2 -2
- package/packages/cascader/src/cascader.vue +4 -4
- package/packages/cascader-panel/src/cascader-menu.vue +4 -4
- package/packages/cascader-panel/src/cascader-node.vue +232 -232
- package/packages/cascader-panel/src/cascader-panel.vue +3 -3
- package/packages/cascader-panel/src/node.js +2 -3
- package/packages/cascader-panel/src/store.js +0 -1
- package/packages/checkbox/src/checkbox-button.vue +139 -139
- package/packages/checkbox/src/checkbox-group.vue +33 -33
- package/packages/checkbox/src/checkbox.vue +140 -140
- package/packages/col/src/col.js +5 -5
- package/packages/collapse/src/collapse-item.vue +55 -55
- package/packages/collapse/src/collapse.vue +54 -54
- package/packages/color-picker/src/color.js +4 -4
- package/packages/color-picker/src/components/alpha-slider.vue +100 -100
- package/packages/color-picker/src/components/hue-slider.vue +91 -91
- package/packages/color-picker/src/components/picker-dropdown.vue +64 -64
- package/packages/color-picker/src/components/predefine.vue +43 -43
- package/packages/color-picker/src/components/sv-panel.vue +70 -70
- package/packages/color-picker/src/main.vue +141 -141
- package/packages/container/src/main.vue +20 -20
- package/packages/date-picker/src/basic/date-table.vue +360 -360
- package/packages/date-picker/src/basic/month-table.vue +222 -223
- package/packages/date-picker/src/basic/time-spinner.vue +174 -174
- package/packages/date-picker/src/basic/year-table.vue +91 -91
- package/packages/date-picker/src/panel/date-range.vue +415 -415
- package/packages/date-picker/src/panel/date.vue +423 -423
- package/packages/date-picker/src/panel/month-range.vue +177 -177
- package/packages/date-picker/src/panel/time-range.vue +173 -173
- package/packages/date-picker/src/panel/time-select.vue +131 -131
- package/packages/date-picker/src/panel/time.vue +131 -131
- package/packages/date-picker/src/picker.vue +7 -7
- package/packages/descriptions/src/descriptions-row.js +3 -3
- package/packages/descriptions/src/index.js +1 -1
- package/packages/dialog/src/component.vue +155 -155
- package/packages/divider/src/main.vue +1 -1
- package/packages/drawer/src/main.vue +2 -2
- package/packages/dropdown/src/dropdown-item.vue +15 -15
- package/packages/dropdown/src/dropdown-menu.vue +47 -47
- package/packages/dropdown/src/dropdown.vue +260 -260
- package/packages/empty/src/index.vue +1 -1
- package/packages/fileUpload/index.js +8 -0
- package/packages/fileUpload/src/main.vue +430 -0
- package/packages/footer/src/main.vue +9 -9
- package/packages/form/src/form-item.vue +245 -245
- package/packages/form/src/form.vue +154 -154
- package/packages/header/src/main.vue +9 -9
- package/packages/icon/src/icon.vue +6 -6
- package/packages/image/src/image-viewer.vue +9 -9
- package/packages/image/src/main.vue +206 -206
- package/packages/infinite-scroll/src/main.js +1 -2
- package/packages/input/src/calcTextareaHeight.js +2 -2
- package/packages/input/src/input.vue +311 -311
- package/packages/input-number/src/input-number.vue +205 -205
- package/packages/loading/src/loading.vue +19 -19
- package/packages/main/src/main.vue +4 -4
- package/packages/menu/src/menu-item-group.vue +27 -27
- package/packages/menu/src/menu-item.vue +69 -69
- package/packages/menu/src/menu.vue +284 -284
- package/packages/menu/src/submenu.vue +308 -309
- package/packages/message/src/main.js +1 -1
- package/packages/message/src/main.vue +72 -72
- package/packages/message-box/src/main.vue +216 -216
- package/packages/notification/src/main.js +1 -1
- package/packages/notification/src/main.vue +93 -93
- package/packages/pagination/src/pager.vue +99 -99
- package/packages/popconfirm/src/main.vue +28 -28
- package/packages/popover/src/main.vue +6 -6
- package/packages/progress/src/progress.vue +174 -174
- package/packages/radio/src/radio-button.vue +64 -64
- package/packages/radio/src/radio-group.vue +88 -88
- package/packages/radio/src/radio.vue +74 -74
- package/packages/rate/src/main.vue +270 -270
- package/packages/row/src/row.js +3 -3
- package/packages/scrollbar/src/main.js +2 -2
- package/packages/scrollbar/src/util.js +1 -1
- package/packages/select/src/option-group.vue +46 -46
- package/packages/select/src/option.vue +122 -122
- package/packages/select/src/select-dropdown.vue +49 -49
- package/packages/select/src/select.vue +676 -676
- package/packages/skeleton/src/item.vue +12 -12
- package/packages/slider/src/button.vue +191 -191
- package/packages/slider/src/main.vue +314 -314
- package/packages/spinner/src/spinner.vue +16 -16
- package/packages/statistic/src/main.vue +5 -6
- package/packages/steps/src/step.vue +2 -2
- package/packages/steps/src/steps.vue +4 -4
- package/packages/subTitle/index.js +8 -0
- package/packages/subTitle/src/main.vue +33 -0
- package/packages/switch/src/component.vue +123 -123
- package/packages/tabDialog/index.js +23 -0
- package/packages/tabDialog/src/dialog/drag.js +63 -0
- package/packages/tabDialog/src/dialog/dragHeight.js +34 -0
- package/packages/tabDialog/src/dialog/dragWidth.js +30 -0
- package/packages/tabDialog/src/main.vue +277 -0
- package/packages/table/src/filter-panel.vue +128 -128
- package/packages/table/src/store/index.js +1 -1
- package/packages/table/src/table-body.js +2 -2
- package/packages/table/src/table-column.js +1 -1
- package/packages/table/src/table-header.js +1 -1
- package/packages/table/src/table-layout.js +1 -1
- package/packages/table/src/table.vue +416 -416
- package/packages/tabs/src/tab-bar.vue +43 -43
- package/packages/tabs/src/tab-nav.vue +250 -250
- package/packages/tabs/src/tab-pane.vue +34 -34
- package/packages/tabs/src/tabs.vue +165 -165
- package/packages/tag/src/tag.vue +52 -52
- package/packages/theme-cy/lib/element.css +1 -0
- package/packages/theme-cy/lib/fileUpload.css +1 -0
- package/packages/theme-cy/lib/index.css +1 -1
- package/packages/theme-cy/lib/subTitle.css +1 -0
- package/packages/theme-cy/lib/tabDialog.css +1 -0
- package/packages/theme-cy/lib/treeselect.css +1 -1
- package/packages/theme-cy/src/element.scss +45 -0
- package/packages/theme-cy/src/fileUpload.scss +30 -0
- package/packages/theme-cy/src/index.scss +4 -0
- package/packages/theme-cy/src/subTitle.scss +26 -0
- package/packages/theme-cy/src/tabDialog.scss +43 -0
- package/packages/theme-cy/src/treeselect.scss +20 -14
- package/packages/timeline/src/item.vue +24 -24
- package/packages/timeline/src/main.vue +27 -27
- package/packages/tooltip/src/main.js +1 -1
- package/packages/transfer/src/main.vue +169 -169
- package/packages/transfer/src/transfer-panel.vue +164 -164
- package/packages/tree/src/tree-node.vue +169 -169
- package/packages/tree/src/tree.vue +408 -408
- package/packages/treeSelect/index.js +8 -0
- package/packages/{treeselect → treeSelect}/src/main.vue +19 -19
- package/packages/upload/src/ajax.js +3 -3
- package/packages/upload/src/upload-dragger.vue +50 -50
- package/packages/upload/src/upload-list.vue +33 -33
- package/packages/upload/src/upload.vue +1 -1
- package/src/index.js +13 -5
- package/src/locale/format.js +0 -1
- package/src/mixins/migrating.js +2 -2
- package/src/utils/date.js +2 -368
- package/src/utils/date_source.js +368 -0
- package/src/utils/lodash.js +9 -18075
- package/src/utils/lodash_source.js +18075 -0
- package/src/utils/types.js +1 -1
- package/types/element-ui.d.ts +16 -3
- package/types/fileUpload.d.ts +5 -0
- package/types/subTitle.d.ts +5 -0
- package/types/tabDialog.d.ts +5 -0
- package/types/treeSelect.d.ts +5 -0
- package/lib/treeselect.js +0 -682
- package/packages/treeselect/index.js +0 -8
- package/types/treeselect.d.ts +0 -5
package/README.md
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
- [组件使用](#-组件使用)
|
|
18
18
|
- [开发指南](#-开发指南)
|
|
19
19
|
- [环境准备](#-环境准备)
|
|
20
|
+
- [常用命令](#-常用命令)
|
|
20
21
|
- [增加新的element-ui组件](#-增加新的element-ui组件)
|
|
21
22
|
- [增加新的cy组件](#-增加新的cy组件)
|
|
22
23
|
- [生成文件说明](#-生成文件说明)
|
|
@@ -46,15 +47,15 @@ new Vue({
|
|
|
46
47
|
```
|
|
47
48
|
|
|
48
49
|
## 🧩 组件使用
|
|
49
|
-
以新组件`
|
|
50
|
+
以新组件`CyTreeSelect`为例,其他组件使用还是和`element-ui`用法相同
|
|
50
51
|
```vue
|
|
51
|
-
<
|
|
52
|
+
<CyTreeSelect
|
|
52
53
|
v-model="dept_id"
|
|
53
54
|
:options="deptOptions"
|
|
54
55
|
placeholder="请选择部门"
|
|
55
56
|
clearable
|
|
56
57
|
:multiple="true"
|
|
57
|
-
@change="
|
|
58
|
+
@change="treeSelectChange"
|
|
58
59
|
/>
|
|
59
60
|
```
|
|
60
61
|
|
|
@@ -80,6 +81,13 @@ npm install
|
|
|
80
81
|
```
|
|
81
82
|
> ⚠️ **注意**:如果安装过程中提示需要关闭终端,请重新打开终端后再次执行相同命令
|
|
82
83
|
|
|
84
|
+
### 🔧 常用命令
|
|
85
|
+
| 命令 | 说明 | 备注 |
|
|
86
|
+
|-------------------------|---------------------------------|-------------------------------|
|
|
87
|
+
| `npm run dev` | 启动开发服务器 | 访问 http://localhost:8085 |
|
|
88
|
+
| `npm run dist` | 组件库打包,上传到npm前,先执行这个命令,看看打包是否有错误 | 生成在 `lib` 目录 |
|
|
89
|
+
| `npm run deploy:build` | 文档站点构建 | 生成在 `examples/element-ui` |
|
|
90
|
+
| `make new-cy-ui <name>` | 创建新组件 | 如 `make new-cy-ui treeSelect` |
|
|
83
91
|
|
|
84
92
|
### 🛠️ 增加新的element-ui组件
|
|
85
93
|
- 🔗 可以参考 [此文档](https://mp.weixin.qq.com/s?__biz=MzA3NTk4NjQ1OQ==&mid=2247484697&idx=1&sn=01de22e7fa48fbee510305177beeccb1&chksm=9f69666da81eef7b96c9fe2b2b5fd02bac222dc1e49ebafff9b23e1bb312e3abec6cbf32edb8)
|
|
@@ -91,18 +99,18 @@ npm install
|
|
|
91
99
|
```shell
|
|
92
100
|
make new-cy-ui <component-name> [组件中文名]
|
|
93
101
|
比如:
|
|
94
|
-
make new-cy-ui
|
|
102
|
+
make new-cy-ui treeSelect 下拉树
|
|
95
103
|
```
|
|
96
104
|
|
|
97
105
|
### 📂 生成文件说明
|
|
98
106
|
|
|
99
107
|
| 文件类型 | 路径 | 注意事项 |
|
|
100
108
|
|------|-----------------------------------------|----------------|
|
|
101
|
-
| 组件开发 | `packages/
|
|
102
|
-
| 组件文档 | `examples/docs/cy/
|
|
103
|
-
| 组件样式 | `packages/theme-cy/src/
|
|
104
|
-
| 测试文件 | `test/unit/specs/
|
|
105
|
-
| 类型声明 | `types/
|
|
109
|
+
| 组件开发 | `packages/treeSelect/src/main.vue` | ⚠️ 禁止写 CSS 样式 |
|
|
110
|
+
| 组件文档 | `examples/docs/cy/treeSelect.md` | 编写示例用法和 API 说明 |
|
|
111
|
+
| 组件样式 | `packages/theme-cy/src/treeSelect.scss` | 组件专用样式 |
|
|
112
|
+
| 测试文件 | `test/unit/specs/treeSelect.spec.js` | 单元测试 |
|
|
113
|
+
| 类型声明 | `types/treeSelect.d.ts` | TS 类型定义 |
|
|
106
114
|
|
|
107
115
|
|
|
108
116
|
### 📝 自动修改的文件
|
|
@@ -131,7 +139,7 @@ make new-cy-ui treeselect 下拉树
|
|
|
131
139
|
| `examples/components/demo-block` | MD文档渲染组件,将`.md`转为页面 |
|
|
132
140
|
| `examples/demo-styles/` | 自定义样式目录(需在`index.scss`中引入) |
|
|
133
141
|
|
|
134
|
-
### 🗂️ 路由配置
|
|
142
|
+
### 🗂️ 路由配置 **❗ 很重要**
|
|
135
143
|
| 文件 | 说明 |
|
|
136
144
|
|--------------------------|-----------------------|
|
|
137
145
|
| `examples/router_config` | 路由生成器(根据nav.config生成) |
|
|
@@ -145,9 +153,10 @@ make new-cy-ui treeselect 下拉树
|
|
|
145
153
|
| `examples/pages/cy/changelog` | 版本更新日志页面 |
|
|
146
154
|
|
|
147
155
|
### ⚙️ 开发工具
|
|
148
|
-
| 文件
|
|
149
|
-
|
|
150
|
-
| `build/bin/new-cy-ui.js`
|
|
156
|
+
| 文件 | 说明 |
|
|
157
|
+
|----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
|
|
158
|
+
| `build/bin/new-cy-ui.js` | 组件生成器(自动创建/修改相关文件) |
|
|
159
|
+
| `build/bin/build-entry.js` | 组件注册文件生成器(自动创建/修改`src/index.js`),**❗ 注意** `npm run dev`、`npm run deploy:build`、`npm run dist` 都会触发这个生成器,所以不要去修改`src/index.js`,想改的话就去改这个生成器 |
|
|
151
160
|
|
|
152
161
|
### 📦 发布配置
|
|
153
162
|
| 文件 | 说明 |
|
package/lib/alert.js
CHANGED
|
@@ -82,128 +82,25 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 185);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
91
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
|
-
|
|
93
|
-
"use strict";
|
|
94
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
95
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
96
|
-
|
|
97
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
98
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
99
|
-
// be included in the final webpack user bundle.
|
|
100
|
-
|
|
101
|
-
function normalizeComponent(
|
|
102
|
-
scriptExports,
|
|
103
|
-
render,
|
|
104
|
-
staticRenderFns,
|
|
105
|
-
functionalTemplate,
|
|
106
|
-
injectStyles,
|
|
107
|
-
scopeId,
|
|
108
|
-
moduleIdentifier /* server only */,
|
|
109
|
-
shadowMode /* vue-cli only */
|
|
110
|
-
) {
|
|
111
|
-
// Vue.extend constructor export interop
|
|
112
|
-
var options =
|
|
113
|
-
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
114
|
-
|
|
115
|
-
// render functions
|
|
116
|
-
if (render) {
|
|
117
|
-
options.render = render
|
|
118
|
-
options.staticRenderFns = staticRenderFns
|
|
119
|
-
options._compiled = true
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// functional template
|
|
123
|
-
if (functionalTemplate) {
|
|
124
|
-
options.functional = true
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// scopedId
|
|
128
|
-
if (scopeId) {
|
|
129
|
-
options._scopeId = 'data-v-' + scopeId
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
var hook
|
|
133
|
-
if (moduleIdentifier) {
|
|
134
|
-
// server build
|
|
135
|
-
hook = function (context) {
|
|
136
|
-
// 2.3 injection
|
|
137
|
-
context =
|
|
138
|
-
context || // cached call
|
|
139
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
140
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
141
|
-
// 2.2 with runInNewContext: true
|
|
142
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
143
|
-
context = __VUE_SSR_CONTEXT__
|
|
144
|
-
}
|
|
145
|
-
// inject component styles
|
|
146
|
-
if (injectStyles) {
|
|
147
|
-
injectStyles.call(this, context)
|
|
148
|
-
}
|
|
149
|
-
// register component module identifier for async chunk inferrence
|
|
150
|
-
if (context && context._registeredComponents) {
|
|
151
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
// used by ssr in case component is cached and beforeCreate
|
|
155
|
-
// never gets called
|
|
156
|
-
options._ssrRegister = hook
|
|
157
|
-
} else if (injectStyles) {
|
|
158
|
-
hook = shadowMode
|
|
159
|
-
? function () {
|
|
160
|
-
injectStyles.call(
|
|
161
|
-
this,
|
|
162
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
163
|
-
)
|
|
164
|
-
}
|
|
165
|
-
: injectStyles
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
if (hook) {
|
|
169
|
-
if (options.functional) {
|
|
170
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
171
|
-
// go through the normalizer
|
|
172
|
-
options._injectStyles = hook
|
|
173
|
-
// register for functional component in vue file
|
|
174
|
-
var originalRender = options.render
|
|
175
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
176
|
-
hook.call(context)
|
|
177
|
-
return originalRender(h, context)
|
|
178
|
-
}
|
|
179
|
-
} else {
|
|
180
|
-
// inject component registration as beforeCreate hook
|
|
181
|
-
var existing = options.beforeCreate
|
|
182
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
return {
|
|
187
|
-
exports: scriptExports,
|
|
188
|
-
options: options
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
/***/ }),
|
|
194
|
-
|
|
195
|
-
/***/ 102:
|
|
90
|
+
/***/ 185:
|
|
196
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
92
|
|
|
198
93
|
"use strict";
|
|
199
94
|
// ESM COMPAT FLAG
|
|
200
95
|
__webpack_require__.r(__webpack_exports__);
|
|
201
96
|
|
|
202
|
-
//
|
|
203
|
-
var
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
97
|
+
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
98
|
+
var es_function_name_js_ = __webpack_require__(5);
|
|
99
|
+
|
|
100
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/alert/src/main.vue?vue&type=template&id=80ca8a0a
|
|
101
|
+
var render = function render() {
|
|
102
|
+
var _vm = this,
|
|
103
|
+
_c = _vm._self._c
|
|
207
104
|
return _c("transition", { attrs: { name: "el-alert-fade" } }, [
|
|
208
105
|
_c(
|
|
209
106
|
"div",
|
|
@@ -236,7 +133,11 @@ var render = function () {
|
|
|
236
133
|
? _c(
|
|
237
134
|
"span",
|
|
238
135
|
{ staticClass: "el-alert__title", class: [_vm.isBoldTitle] },
|
|
239
|
-
[
|
|
136
|
+
[
|
|
137
|
+
_vm._t("title", function () {
|
|
138
|
+
return [_vm._v(_vm._s(_vm.title))]
|
|
139
|
+
}),
|
|
140
|
+
],
|
|
240
141
|
2
|
|
241
142
|
)
|
|
242
143
|
: _vm._e(),
|
|
@@ -286,104 +187,85 @@ var staticRenderFns = []
|
|
|
286
187
|
render._withStripped = true
|
|
287
188
|
|
|
288
189
|
|
|
289
|
-
// CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=template&id=
|
|
190
|
+
// CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=template&id=80ca8a0a
|
|
191
|
+
|
|
192
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
193
|
+
var es_symbol_js_ = __webpack_require__(78);
|
|
194
|
+
|
|
195
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
|
|
196
|
+
var es_symbol_description_js_ = __webpack_require__(79);
|
|
290
197
|
|
|
291
198
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/alert/src/main.vue?vue&type=script&lang=js
|
|
292
|
-
|
|
293
|
-
//
|
|
294
|
-
//
|
|
295
|
-
//
|
|
296
|
-
//
|
|
297
|
-
//
|
|
298
|
-
//
|
|
299
|
-
//
|
|
300
|
-
//
|
|
301
|
-
//
|
|
302
|
-
//
|
|
303
|
-
//
|
|
304
|
-
//
|
|
305
|
-
//
|
|
306
|
-
//
|
|
307
|
-
//
|
|
308
|
-
//
|
|
309
|
-
//
|
|
310
|
-
//
|
|
311
|
-
//
|
|
312
|
-
//
|
|
199
|
+
|
|
313
200
|
|
|
314
201
|
var TYPE_CLASSES_MAP = {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
202
|
+
'success': 'el-icon-success',
|
|
203
|
+
'warning': 'el-icon-warning',
|
|
204
|
+
'error': 'el-icon-error'
|
|
318
205
|
};
|
|
319
206
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
},
|
|
378
|
-
isBoldTitle: function isBoldTitle() {
|
|
379
|
-
return this.description || this.$slots.default ? 'is-bold' : '';
|
|
380
|
-
}
|
|
381
|
-
}
|
|
207
|
+
name: 'ElAlert',
|
|
208
|
+
props: {
|
|
209
|
+
title: {
|
|
210
|
+
type: String,
|
|
211
|
+
default: ''
|
|
212
|
+
},
|
|
213
|
+
description: {
|
|
214
|
+
type: String,
|
|
215
|
+
default: ''
|
|
216
|
+
},
|
|
217
|
+
type: {
|
|
218
|
+
type: String,
|
|
219
|
+
default: 'info'
|
|
220
|
+
},
|
|
221
|
+
closable: {
|
|
222
|
+
type: Boolean,
|
|
223
|
+
default: true
|
|
224
|
+
},
|
|
225
|
+
closeText: {
|
|
226
|
+
type: String,
|
|
227
|
+
default: ''
|
|
228
|
+
},
|
|
229
|
+
showIcon: Boolean,
|
|
230
|
+
center: Boolean,
|
|
231
|
+
effect: {
|
|
232
|
+
type: String,
|
|
233
|
+
default: 'light',
|
|
234
|
+
validator: function validator(value) {
|
|
235
|
+
return ['light', 'dark'].indexOf(value) !== -1;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
data: function data() {
|
|
240
|
+
return {
|
|
241
|
+
visible: true
|
|
242
|
+
};
|
|
243
|
+
},
|
|
244
|
+
methods: {
|
|
245
|
+
close: function close() {
|
|
246
|
+
this.visible = false;
|
|
247
|
+
this.$emit('close');
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
computed: {
|
|
251
|
+
typeClass: function typeClass() {
|
|
252
|
+
return "el-alert--" + this.type;
|
|
253
|
+
},
|
|
254
|
+
iconClass: function iconClass() {
|
|
255
|
+
return TYPE_CLASSES_MAP[this.type] || 'el-icon-info';
|
|
256
|
+
},
|
|
257
|
+
isBigIcon: function isBigIcon() {
|
|
258
|
+
return this.description || this.$slots.default ? 'is-big' : '';
|
|
259
|
+
},
|
|
260
|
+
isBoldTitle: function isBoldTitle() {
|
|
261
|
+
return this.description || this.$slots.default ? 'is-bold' : '';
|
|
262
|
+
}
|
|
263
|
+
}
|
|
382
264
|
});
|
|
383
265
|
// CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=script&lang=js
|
|
384
266
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
385
267
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
386
|
-
var componentNormalizer = __webpack_require__(
|
|
268
|
+
var componentNormalizer = __webpack_require__(2);
|
|
387
269
|
|
|
388
270
|
// CONCATENATED MODULE: ./packages/alert/src/main.vue
|
|
389
271
|
|
|
@@ -408,13 +290,139 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
408
290
|
// CONCATENATED MODULE: ./packages/alert/index.js
|
|
409
291
|
|
|
410
292
|
|
|
293
|
+
|
|
411
294
|
/* istanbul ignore next */
|
|
412
295
|
main.install = function (Vue) {
|
|
413
|
-
|
|
296
|
+
Vue.component(main.name, main);
|
|
414
297
|
};
|
|
415
|
-
|
|
416
298
|
/* harmony default export */ var packages_alert = __webpack_exports__["default"] = (main);
|
|
417
299
|
|
|
300
|
+
/***/ }),
|
|
301
|
+
|
|
302
|
+
/***/ 2:
|
|
303
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
304
|
+
|
|
305
|
+
"use strict";
|
|
306
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
307
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
308
|
+
|
|
309
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
310
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
311
|
+
// be included in the final webpack user bundle.
|
|
312
|
+
|
|
313
|
+
function normalizeComponent(
|
|
314
|
+
scriptExports,
|
|
315
|
+
render,
|
|
316
|
+
staticRenderFns,
|
|
317
|
+
functionalTemplate,
|
|
318
|
+
injectStyles,
|
|
319
|
+
scopeId,
|
|
320
|
+
moduleIdentifier /* server only */,
|
|
321
|
+
shadowMode /* vue-cli only */
|
|
322
|
+
) {
|
|
323
|
+
// Vue.extend constructor export interop
|
|
324
|
+
var options =
|
|
325
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
326
|
+
|
|
327
|
+
// render functions
|
|
328
|
+
if (render) {
|
|
329
|
+
options.render = render
|
|
330
|
+
options.staticRenderFns = staticRenderFns
|
|
331
|
+
options._compiled = true
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// functional template
|
|
335
|
+
if (functionalTemplate) {
|
|
336
|
+
options.functional = true
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
// scopedId
|
|
340
|
+
if (scopeId) {
|
|
341
|
+
options._scopeId = 'data-v-' + scopeId
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
var hook
|
|
345
|
+
if (moduleIdentifier) {
|
|
346
|
+
// server build
|
|
347
|
+
hook = function (context) {
|
|
348
|
+
// 2.3 injection
|
|
349
|
+
context =
|
|
350
|
+
context || // cached call
|
|
351
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
352
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
353
|
+
// 2.2 with runInNewContext: true
|
|
354
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
355
|
+
context = __VUE_SSR_CONTEXT__
|
|
356
|
+
}
|
|
357
|
+
// inject component styles
|
|
358
|
+
if (injectStyles) {
|
|
359
|
+
injectStyles.call(this, context)
|
|
360
|
+
}
|
|
361
|
+
// register component module identifier for async chunk inferrence
|
|
362
|
+
if (context && context._registeredComponents) {
|
|
363
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
// used by ssr in case component is cached and beforeCreate
|
|
367
|
+
// never gets called
|
|
368
|
+
options._ssrRegister = hook
|
|
369
|
+
} else if (injectStyles) {
|
|
370
|
+
hook = shadowMode
|
|
371
|
+
? function () {
|
|
372
|
+
injectStyles.call(
|
|
373
|
+
this,
|
|
374
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
375
|
+
)
|
|
376
|
+
}
|
|
377
|
+
: injectStyles
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
if (hook) {
|
|
381
|
+
if (options.functional) {
|
|
382
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
383
|
+
// go through the normalizer
|
|
384
|
+
options._injectStyles = hook
|
|
385
|
+
// register for functional component in vue file
|
|
386
|
+
var originalRender = options.render
|
|
387
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
388
|
+
hook.call(context)
|
|
389
|
+
return originalRender(h, context)
|
|
390
|
+
}
|
|
391
|
+
} else {
|
|
392
|
+
// inject component registration as beforeCreate hook
|
|
393
|
+
var existing = options.beforeCreate
|
|
394
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
return {
|
|
399
|
+
exports: scriptExports,
|
|
400
|
+
options: options
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
/***/ }),
|
|
406
|
+
|
|
407
|
+
/***/ 5:
|
|
408
|
+
/***/ (function(module, exports) {
|
|
409
|
+
|
|
410
|
+
module.exports = require("core-js/modules/es.function.name.js");
|
|
411
|
+
|
|
412
|
+
/***/ }),
|
|
413
|
+
|
|
414
|
+
/***/ 78:
|
|
415
|
+
/***/ (function(module, exports) {
|
|
416
|
+
|
|
417
|
+
module.exports = require("core-js/modules/es.symbol.js");
|
|
418
|
+
|
|
419
|
+
/***/ }),
|
|
420
|
+
|
|
421
|
+
/***/ 79:
|
|
422
|
+
/***/ (function(module, exports) {
|
|
423
|
+
|
|
424
|
+
module.exports = require("core-js/modules/es.symbol.description.js");
|
|
425
|
+
|
|
418
426
|
/***/ })
|
|
419
427
|
|
|
420
428
|
/******/ });
|
package/lib/aside.js
CHANGED
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 200);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 2:
|
|
91
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -192,18 +192,20 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 200:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
//
|
|
203
|
-
var
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
202
|
+
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
203
|
+
var es_function_name_js_ = __webpack_require__(5);
|
|
204
|
+
|
|
205
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=template&id=88358c60
|
|
206
|
+
var render = function render() {
|
|
207
|
+
var _vm = this,
|
|
208
|
+
_c = _vm._self._c
|
|
207
209
|
return _c(
|
|
208
210
|
"aside",
|
|
209
211
|
{ staticClass: "el-aside", style: { width: _vm.width } },
|
|
@@ -215,32 +217,23 @@ var staticRenderFns = []
|
|
|
215
217
|
render._withStripped = true
|
|
216
218
|
|
|
217
219
|
|
|
218
|
-
// CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=template&id=
|
|
220
|
+
// CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=template&id=88358c60
|
|
219
221
|
|
|
220
222
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=script&lang=js
|
|
221
|
-
//
|
|
222
|
-
//
|
|
223
|
-
//
|
|
224
|
-
//
|
|
225
|
-
//
|
|
226
|
-
//
|
|
227
|
-
|
|
228
223
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
}
|
|
238
|
-
}
|
|
224
|
+
name: 'ElAside',
|
|
225
|
+
componentName: 'ElAside',
|
|
226
|
+
props: {
|
|
227
|
+
width: {
|
|
228
|
+
type: String,
|
|
229
|
+
default: '300px'
|
|
230
|
+
}
|
|
231
|
+
}
|
|
239
232
|
});
|
|
240
233
|
// CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=script&lang=js
|
|
241
234
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
242
235
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
243
|
-
var componentNormalizer = __webpack_require__(
|
|
236
|
+
var componentNormalizer = __webpack_require__(2);
|
|
244
237
|
|
|
245
238
|
// CONCATENATED MODULE: ./packages/aside/src/main.vue
|
|
246
239
|
|
|
@@ -265,13 +258,20 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
265
258
|
// CONCATENATED MODULE: ./packages/aside/index.js
|
|
266
259
|
|
|
267
260
|
|
|
261
|
+
|
|
268
262
|
/* istanbul ignore next */
|
|
269
263
|
main.install = function (Vue) {
|
|
270
|
-
|
|
264
|
+
Vue.component(main.name, main);
|
|
271
265
|
};
|
|
272
|
-
|
|
273
266
|
/* harmony default export */ var aside = __webpack_exports__["default"] = (main);
|
|
274
267
|
|
|
268
|
+
/***/ }),
|
|
269
|
+
|
|
270
|
+
/***/ 5:
|
|
271
|
+
/***/ (function(module, exports) {
|
|
272
|
+
|
|
273
|
+
module.exports = require("core-js/modules/es.function.name.js");
|
|
274
|
+
|
|
275
275
|
/***/ })
|
|
276
276
|
|
|
277
277
|
/******/ });
|