@nutui/nutui 3.2.2 → 3.2.3
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/CHANGELOG.md +53 -0
- package/dist/nutui.es.js +2127 -1414
- package/dist/nutui.umd.js +2136 -1422
- package/dist/packages/_es/ActionSheet.js +4 -22
- package/dist/packages/_es/Address.js +63 -57
- package/dist/packages/_es/AddressList.js +12 -9
- package/dist/packages/_es/Animate.js +2 -21
- package/dist/packages/_es/Audio.js +11 -25
- package/dist/packages/_es/AudioOperate.js +3 -23
- package/dist/packages/_es/Avatar.js +6 -21
- package/dist/packages/_es/AvatarGroup.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +74 -22
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +17 -9
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +72 -68
- package/dist/packages/_es/Category.js +1 -1
- package/dist/packages/_es/CategoryPane.js +1 -1
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +31 -17
- package/dist/packages/_es/CheckboxGroup.js +14 -7
- package/dist/packages/_es/CircleProgress.js +4 -4
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +22 -19
- package/dist/packages/_es/CollapseItem.js +18 -32
- package/dist/packages/_es/Comment.js +13 -9
- package/dist/packages/_es/ConfigProvider.js +8 -4
- package/dist/packages/_es/CountDown.js +40 -46
- package/dist/packages/_es/CountUp.js +41 -40
- package/dist/packages/_es/DatePicker.js +25 -33
- package/dist/packages/_es/Dialog.js +13 -28
- package/dist/packages/_es/Divider.js +7 -24
- package/dist/packages/_es/Drag.js +2 -2
- package/dist/packages/_es/Ecard.js +8 -5
- package/dist/packages/_es/Elevator.js +27 -39
- package/dist/packages/_es/Ellipsis.js +14 -28
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +23 -12
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +15 -11
- package/dist/packages/_es/Image.js +8 -24
- package/dist/packages/_es/ImagePreview.js +34 -48
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +5 -24
- package/dist/packages/_es/Input.js +8 -5
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Invoice.js +10 -25
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +21 -30
- package/dist/packages/_es/Menu.js +13 -7
- package/dist/packages/_es/MenuItem.js +2 -21
- package/dist/packages/_es/Navbar.js +1 -1
- package/dist/packages/_es/NoticeBar.js +18 -29
- package/dist/packages/_es/Notify.js +16 -32
- package/dist/packages/_es/NumberKeyboard.js +23 -18
- package/dist/packages/_es/OldPicker.js +47 -46
- package/dist/packages/_es/OverLay.js +11 -23
- package/dist/packages/_es/Pagination.js +6 -6
- package/dist/packages/_es/Picker.js +66 -59
- package/dist/packages/_es/Popover.js +55 -52
- package/dist/packages/_es/Popup.js +35 -40
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +2 -2
- package/dist/packages/_es/PullRefresh.js +5 -20
- package/dist/packages/_es/Radio.js +25 -13
- package/dist/packages/_es/RadioGroup.js +12 -5
- package/dist/packages/_es/Range.js +20 -33
- package/dist/packages/_es/Rate.js +6 -24
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +6 -25
- package/dist/packages/_es/ShortPassword.js +18 -11
- package/dist/packages/_es/SideNavBar.js +6 -24
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +2 -21
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +30 -35
- package/dist/packages/_es/Step.js +4 -22
- package/dist/packages/_es/Steps.js +8 -4
- package/dist/packages/_es/Sticky.js +23 -12
- package/dist/packages/_es/SubSideNavBar.js +4 -22
- package/dist/packages/_es/Swipe.js +5 -24
- package/dist/packages/_es/Swiper.js +23 -14
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +10 -7
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +7 -4
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Table.js +10 -25
- package/dist/packages/_es/Tabs.js +99 -34
- package/dist/packages/_es/Tag.js +1 -2
- package/dist/packages/_es/TextArea.js +8 -5
- package/dist/packages/_es/TimeDetail.js +5 -24
- package/dist/packages/_es/TimePannel.js +4 -22
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +19 -35
- package/dist/packages/_es/TrendArrow.js +131 -0
- package/dist/packages/_es/Uploader.js +40 -34
- package/dist/packages/_es/Video.js +22 -33
- package/dist/packages/_es/WaterMark.js +31 -41
- package/dist/packages/_es/common.js +21 -11
- package/dist/packages/_es/component.js +13 -6
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +39 -41
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/_es/style.css +16 -1
- package/dist/packages/barrage/index.scss +27 -18
- package/dist/packages/list/index.scss +0 -1
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/picker/index.scss +14 -0
- package/dist/packages/tabbar/index.scss +2 -1
- package/dist/packages/trendarrow/index.scss +17 -0
- package/dist/smartips/attributes.json +70 -10
- package/dist/smartips/tags.json +26 -7
- package/dist/smartips/web-types.json +153 -11
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/font/config.json +3 -1
- package/dist/styles/font/demo_index.html +51 -5
- package/dist/styles/font/iconfont.css +11 -3
- package/dist/styles/font/iconfont.js +64 -61
- package/dist/styles/font/iconfont.json +14 -0
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +48 -47
- package/dist/styles/themes/jdb.scss +48 -47
- package/dist/styles/themes/jdt.scss +48 -47
- package/dist/styles/variables-jdb.scss +4 -1
- package/dist/styles/variables-jdt.scss +4 -1
- package/dist/styles/variables.scss +4 -1
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +117 -63
- package/dist/types/__VUE/address/index.vue.d.ts +150 -80
- package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +6 -5
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +10 -7
- package/dist/types/__VUE/addresslist/components/LongPressShell.vue.d.ts +6 -5
- package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +6 -5
- package/dist/types/__VUE/addresslist/index.vue.d.ts +22 -13
- package/dist/types/__VUE/animate/index.vue.d.ts +14 -9
- package/dist/types/__VUE/audio/index.vue.d.ts +30 -17
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +6 -5
- package/dist/types/__VUE/avatar/index.vue.d.ts +34 -21
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +34 -19
- package/dist/types/__VUE/backtop/index.vue.d.ts +31 -18
- package/dist/types/__VUE/badge/index.vue.d.ts +33 -20
- package/dist/types/__VUE/barrage/index.vue.d.ts +28 -16
- package/dist/types/__VUE/button/index.vue.d.ts +44 -27
- package/dist/types/__VUE/calendar/index.vue.d.ts +62 -35
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +72 -45
- package/dist/types/__VUE/card/index.vue.d.ts +34 -19
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +25 -24
- package/dist/types/__VUE/cascader/index.vue.d.ts +109 -64
- package/dist/types/__VUE/category/index.vue.d.ts +10 -7
- package/dist/types/__VUE/categorypane/index.vue.d.ts +14 -9
- package/dist/types/__VUE/cell/index.vue.d.ts +55 -34
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +10 -7
- package/dist/types/__VUE/checkbox/index.vue.d.ts +47 -26
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +14 -9
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +30 -17
- package/dist/types/__VUE/col/index.vue.d.ts +10 -7
- package/dist/types/__VUE/collapse/index.vue.d.ts +40 -24
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +29 -21
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +14 -9
- package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +14 -9
- package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +14 -9
- package/dist/types/__VUE/comment/index.vue.d.ts +38 -21
- package/dist/types/__VUE/configprovider/index.vue.d.ts +10 -7
- package/dist/types/__VUE/countdown/index.vue.d.ts +34 -20
- package/dist/types/__VUE/countdown/util.d.ts +1 -1
- package/dist/types/__VUE/countup/index.vue.d.ts +73 -40
- package/dist/types/__VUE/datepicker/index.vue.d.ts +132 -71
- package/dist/types/__VUE/dialog/index.vue.d.ts +136 -74
- package/dist/types/__VUE/divider/index.vue.d.ts +18 -11
- package/dist/types/__VUE/drag/index.vue.d.ts +19 -9
- package/dist/types/__VUE/ecard/index.vue.d.ts +42 -23
- package/dist/types/__VUE/elevator/index.vue.d.ts +26 -15
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +26 -15
- package/dist/types/__VUE/empty/index.vue.d.ts +14 -9
- package/dist/types/__VUE/fixednav/index.vue.d.ts +39 -21
- package/dist/types/__VUE/form/common.d.ts +4 -0
- package/dist/types/__VUE/form/index.vue.d.ts +16 -6
- package/dist/types/__VUE/formitem/index.vue.d.ts +42 -23
- package/dist/types/__VUE/grid/index.vue.d.ts +40 -24
- package/dist/types/__VUE/griditem/index.vue.d.ts +25 -18
- package/dist/types/__VUE/icon/index.vue.d.ts +26 -15
- package/dist/types/__VUE/image/index.vue.d.ts +37 -25
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +42 -29
- package/dist/types/__VUE/imagepreview/index.d.ts +4 -4
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +64 -37
- package/dist/types/__VUE/indicator/index.vue.d.ts +24 -13
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +46 -25
- package/dist/types/__VUE/input/index.vue.d.ts +133 -70
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +46 -25
- package/dist/types/__VUE/invoice/index.vue.d.ts +14 -9
- package/dist/types/__VUE/layout/index.vue.d.ts +1 -1
- package/dist/types/__VUE/list/index.vue.d.ts +15 -9
- package/dist/types/__VUE/menu/index.vue.d.ts +32 -22
- package/dist/types/__VUE/menuitem/index.vue.d.ts +22 -20
- package/dist/types/__VUE/navbar/index.vue.d.ts +42 -23
- package/dist/types/__VUE/noticebar/index.vue.d.ts +65 -36
- package/dist/types/__VUE/notify/index.vue.d.ts +42 -30
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +65 -36
- package/dist/types/__VUE/oldpicker/Column.vue.d.ts +20 -15
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +124 -71
- package/dist/types/__VUE/overlay/index.vue.d.ts +30 -1547
- package/dist/types/__VUE/pagination/index.vue.d.ts +42 -25
- package/dist/types/__VUE/picker/Column.vue.d.ts +25 -19
- package/dist/types/__VUE/picker/index.vue.d.ts +137 -79
- package/dist/types/__VUE/popover/index.vue.d.ts +107 -59
- package/dist/types/__VUE/popup/index.vue.d.ts +92 -62
- package/dist/types/__VUE/price/index.vue.d.ts +30 -17
- package/dist/types/__VUE/progress/index.vue.d.ts +51 -27
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +45 -17
- package/dist/types/__VUE/radio/index.vue.d.ts +34 -19
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +14 -9
- package/dist/types/__VUE/range/index.vue.d.ts +46 -34
- package/dist/types/__VUE/rate/index.vue.d.ts +59 -32
- package/dist/types/__VUE/row/index.vue.d.ts +22 -13
- package/dist/types/__VUE/searchbar/index.vue.d.ts +58 -31
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +42 -23
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +6 -5
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +10 -7
- package/dist/types/__VUE/signature/index.vue.d.ts +22 -13
- package/dist/types/__VUE/skeleton/common.d.ts +1 -1
- package/dist/types/__VUE/skeleton/index.vue.d.ts +43 -24
- package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +6 -5
- package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +22 -13
- package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +6 -5
- package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +18 -11
- package/dist/types/__VUE/sku/index.vue.d.ts +125 -67
- package/dist/types/__VUE/step/index.vue.d.ts +24 -15
- package/dist/types/__VUE/steps/index.vue.d.ts +14 -9
- package/dist/types/__VUE/sticky/index.vue.d.ts +21 -14
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +14 -9
- package/dist/types/__VUE/swipe/index.vue.d.ts +19 -12
- package/dist/types/__VUE/swiper/index.vue.d.ts +54 -29
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/index.vue.d.ts +50 -27
- package/dist/types/__VUE/tabbar/index.vue.d.ts +31 -18
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +42 -26
- package/dist/types/__VUE/table/common.d.ts +1 -1
- package/dist/types/__VUE/table/index.vue.d.ts +24 -15
- package/dist/types/__VUE/tabpane/index.vue.d.ts +14 -9
- package/dist/types/__VUE/tabs/common.d.ts +13 -0
- package/dist/types/__VUE/tabs/index.vue.d.ts +70 -26
- package/dist/types/__VUE/tag/index.vue.d.ts +30 -17
- package/dist/types/__VUE/textarea/index.vue.d.ts +43 -24
- package/dist/types/__VUE/timedetail/index.vue.d.ts +10 -7
- package/dist/types/__VUE/timepannel/index.vue.d.ts +10 -7
- package/dist/types/__VUE/timeselect/index.vue.d.ts +31 -18
- package/dist/types/__VUE/toast/index.d.ts +1 -1
- package/dist/types/__VUE/toast/index.vue.d.ts +58 -43
- package/dist/types/__VUE/trendarrow/index.vue.d.ts +138 -0
- package/dist/types/__VUE/uploader/index.vue.d.ts +108 -59
- package/dist/types/__VUE/video/index.vue.d.ts +27 -10
- package/dist/types/__VUE/watermark/index.vue.d.ts +70 -37
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.d.ts +2 -1
- package/package.json +4 -4
- package/dist/types/__VUE/animate/type.d.ts +0 -6
- package/dist/types/__VUE/button/type.d.ts +0 -7
- package/dist/types/__VUE/cascader/types.d.ts +0 -30
- package/dist/types/__VUE/datepicker/type.d.ts +0 -6
- package/dist/types/__VUE/form/types.d.ts +0 -13
- package/dist/types/__VUE/formitem/types.d.ts +0 -10
- package/dist/types/__VUE/image/type.d.ts +0 -6
- package/dist/types/__VUE/imagepreview/types.d.ts +0 -7
- package/dist/types/__VUE/input/type.d.ts +0 -13
- package/dist/types/__VUE/menuitem/type.d.ts +0 -8
- package/dist/types/__VUE/oldpicker/commonProps.d.ts +0 -22
- package/dist/types/__VUE/oldpicker/types.d.ts +0 -24
- package/dist/types/__VUE/picker/types.d.ts +0 -26
- package/dist/types/__VUE/popover/type.d.ts +0 -6
- package/dist/types/__VUE/range/type.d.ts +0 -5
- package/dist/types/__VUE/table/types.d.ts +0 -21
- package/dist/types/__VUE/tag/type.d.ts +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.3 Fri Sep 30 2022 10:26:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -171,7 +171,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
171
171
|
name: "btn",
|
|
172
172
|
fn: withCtx(() => [
|
|
173
173
|
renderSlot(_ctx.$slots, "btn")
|
|
174
|
-
])
|
|
174
|
+
]),
|
|
175
|
+
key: "0"
|
|
175
176
|
} : void 0,
|
|
176
177
|
_ctx.dayInfo ? {
|
|
177
178
|
name: "day",
|
|
@@ -179,7 +180,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179
180
|
renderSlot(_ctx.$slots, "day", {
|
|
180
181
|
date: date.date
|
|
181
182
|
})
|
|
182
|
-
])
|
|
183
|
+
]),
|
|
184
|
+
key: "1"
|
|
183
185
|
} : void 0,
|
|
184
186
|
_ctx.topInfo ? {
|
|
185
187
|
name: "topInfo",
|
|
@@ -187,7 +189,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
187
189
|
renderSlot(_ctx.$slots, "topInfo", {
|
|
188
190
|
date: date.date
|
|
189
191
|
})
|
|
190
|
-
])
|
|
192
|
+
]),
|
|
193
|
+
key: "2"
|
|
191
194
|
} : void 0,
|
|
192
195
|
_ctx.bottomInfo ? {
|
|
193
196
|
name: "bottomInfo",
|
|
@@ -195,7 +198,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
195
198
|
renderSlot(_ctx.$slots, "bottomInfo", {
|
|
196
199
|
date: date.date
|
|
197
200
|
})
|
|
198
|
-
])
|
|
201
|
+
]),
|
|
202
|
+
key: "3"
|
|
199
203
|
} : void 0
|
|
200
204
|
]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "confirm-text", "start-text", "end-text", "default-value", "start-date", "end-date", "onUpdate", "onClose", "onChoose", "onSelect", "show-today", "show-title", "show-sub-title", "to-date-animation"])) : createCommentVNode("", true)
|
|
201
205
|
]),
|
|
@@ -226,7 +230,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
226
230
|
name: "btn",
|
|
227
231
|
fn: withCtx(() => [
|
|
228
232
|
renderSlot(_ctx.$slots, "btn")
|
|
229
|
-
])
|
|
233
|
+
]),
|
|
234
|
+
key: "0"
|
|
230
235
|
} : void 0,
|
|
231
236
|
_ctx.dayInfo ? {
|
|
232
237
|
name: "day",
|
|
@@ -234,7 +239,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
234
239
|
renderSlot(_ctx.$slots, "day", {
|
|
235
240
|
date: date.date
|
|
236
241
|
})
|
|
237
|
-
])
|
|
242
|
+
]),
|
|
243
|
+
key: "1"
|
|
238
244
|
} : void 0,
|
|
239
245
|
_ctx.topInfo ? {
|
|
240
246
|
name: "topInfo",
|
|
@@ -242,7 +248,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
242
248
|
renderSlot(_ctx.$slots, "topInfo", {
|
|
243
249
|
date: date.date
|
|
244
250
|
})
|
|
245
|
-
])
|
|
251
|
+
]),
|
|
252
|
+
key: "2"
|
|
246
253
|
} : void 0,
|
|
247
254
|
_ctx.bottomInfo ? {
|
|
248
255
|
name: "bottomInfo",
|
|
@@ -250,7 +257,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
250
257
|
renderSlot(_ctx.$slots, "bottomInfo", {
|
|
251
258
|
date: date.date
|
|
252
259
|
})
|
|
253
|
-
])
|
|
260
|
+
]),
|
|
261
|
+
key: "3"
|
|
254
262
|
} : void 0
|
|
255
263
|
]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "confirm-text", "start-text", "end-text", "default-value", "start-date", "end-date", "onUpdate", "onClose", "onChoose", "onSelect", "show-today", "show-title", "show-sub-title", "to-date-animation"]));
|
|
256
264
|
}
|
|
@@ -1,37 +1,5 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __restKey = (key) => typeof key === "symbol" ? key : key + "";
|
|
21
|
-
var __objRest = (source, exclude) => {
|
|
22
|
-
var target = {};
|
|
23
|
-
for (var prop in source)
|
|
24
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
25
|
-
target[prop] = source[prop];
|
|
26
|
-
if (source != null && __getOwnPropSymbols)
|
|
27
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
28
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
29
|
-
target[prop] = source[prop];
|
|
30
|
-
}
|
|
31
|
-
return target;
|
|
32
|
-
};
|
|
33
1
|
/*!
|
|
34
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.3 Fri Sep 30 2022 10:26:47 GMT+0800 (中国标准时间)
|
|
35
3
|
* (c) 2022 @jdf2e.
|
|
36
4
|
* Released under the MIT License.
|
|
37
5
|
*/
|
|
@@ -45,16 +13,16 @@ import "./Icon.js";
|
|
|
45
13
|
import "./pxCheck.js";
|
|
46
14
|
const formatTree = (tree, parent, config) => tree.map((node) => {
|
|
47
15
|
const { value: valueKey = "value", text: textKey = "text", children: childrenKey = "children" } = config;
|
|
48
|
-
const
|
|
49
|
-
const newNode =
|
|
50
|
-
loading: false
|
|
51
|
-
|
|
16
|
+
const { [valueKey]: value, [textKey]: text, [childrenKey]: children, ...others } = node;
|
|
17
|
+
const newNode = {
|
|
18
|
+
loading: false,
|
|
19
|
+
...others,
|
|
52
20
|
level: parent ? (parent && parent.level || 0) + 1 : 0,
|
|
53
21
|
value,
|
|
54
22
|
text,
|
|
55
23
|
children,
|
|
56
24
|
_parent: parent
|
|
57
|
-
}
|
|
25
|
+
};
|
|
58
26
|
if (newNode.children && newNode.children.length) {
|
|
59
27
|
newNode.children = formatTree(newNode.children, newNode, config);
|
|
60
28
|
}
|
|
@@ -79,12 +47,15 @@ const defaultConvertConfig = {
|
|
|
79
47
|
sortKey: ""
|
|
80
48
|
};
|
|
81
49
|
const convertListToOptions = (list, options) => {
|
|
82
|
-
const mergedOptions =
|
|
50
|
+
const mergedOptions = {
|
|
51
|
+
...defaultConvertConfig,
|
|
52
|
+
...options || {}
|
|
53
|
+
};
|
|
83
54
|
const { topId, idKey, pidKey, sortKey } = mergedOptions;
|
|
84
55
|
let result = [];
|
|
85
56
|
let map = {};
|
|
86
57
|
list.forEach((node) => {
|
|
87
|
-
node =
|
|
58
|
+
node = { ...node };
|
|
88
59
|
const { [idKey]: id, [pidKey]: pid } = node;
|
|
89
60
|
const children = map[pid] = map[pid] || [];
|
|
90
61
|
if (!result.length && pid === topId) {
|
|
@@ -105,11 +76,12 @@ const convertListToOptions = (list, options) => {
|
|
|
105
76
|
};
|
|
106
77
|
class Tree {
|
|
107
78
|
constructor(nodes, config) {
|
|
108
|
-
this.config =
|
|
79
|
+
this.config = {
|
|
109
80
|
value: "value",
|
|
110
81
|
text: "text",
|
|
111
|
-
children: "children"
|
|
112
|
-
|
|
82
|
+
children: "children",
|
|
83
|
+
...config || {}
|
|
84
|
+
};
|
|
113
85
|
this.nodes = formatTree(nodes, null, this.config);
|
|
114
86
|
}
|
|
115
87
|
updateChildren(nodes, parent) {
|
|
@@ -348,7 +320,7 @@ const _sfc_main$1 = create$1({
|
|
|
348
320
|
},
|
|
349
321
|
handleTabClick(tab) {
|
|
350
322
|
currentProcessNode = null;
|
|
351
|
-
tabsCursor.value = tab.paneKey;
|
|
323
|
+
tabsCursor.value = Number(tab.paneKey);
|
|
352
324
|
},
|
|
353
325
|
formatTabTitle(pane) {
|
|
354
326
|
return pane.selectedNode ? pane.selectedNode.text : translate("select");
|
|
@@ -357,24 +329,34 @@ const _sfc_main$1 = create$1({
|
|
|
357
329
|
return pane.selectedNode && pane.selectedNode.value === node.value;
|
|
358
330
|
}
|
|
359
331
|
};
|
|
360
|
-
watch(
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
innerValue.value = value;
|
|
369
|
-
syncValue();
|
|
332
|
+
watch(
|
|
333
|
+
[configs, () => props.options],
|
|
334
|
+
() => {
|
|
335
|
+
init();
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
deep: true,
|
|
339
|
+
immediate: true
|
|
370
340
|
}
|
|
371
|
-
|
|
372
|
-
watch(
|
|
373
|
-
|
|
374
|
-
|
|
341
|
+
);
|
|
342
|
+
watch(
|
|
343
|
+
() => props.modelValue,
|
|
344
|
+
(value) => {
|
|
345
|
+
if (value !== innerValue.value) {
|
|
346
|
+
innerValue.value = value;
|
|
347
|
+
syncValue();
|
|
348
|
+
}
|
|
375
349
|
}
|
|
376
|
-
|
|
377
|
-
|
|
350
|
+
);
|
|
351
|
+
watch(
|
|
352
|
+
() => props.visible,
|
|
353
|
+
(val) => {
|
|
354
|
+
if (val && Array.isArray(innerValue.value) && innerValue.value.length > 0) {
|
|
355
|
+
syncValue();
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
);
|
|
359
|
+
return { panes, initLoading, tabsCursor, ...methods };
|
|
378
360
|
}
|
|
379
361
|
});
|
|
380
362
|
const _hoisted_1$1 = {
|
|
@@ -447,7 +429,8 @@ const _sfc_main = create({
|
|
|
447
429
|
components: {
|
|
448
430
|
[CascaderItem.name]: CascaderItem
|
|
449
431
|
},
|
|
450
|
-
props:
|
|
432
|
+
props: {
|
|
433
|
+
...popupProps,
|
|
451
434
|
modelValue: Array,
|
|
452
435
|
visible: Boolean,
|
|
453
436
|
title: String,
|
|
@@ -469,8 +452,12 @@ const _sfc_main = create({
|
|
|
469
452
|
type: String,
|
|
470
453
|
default: "children"
|
|
471
454
|
},
|
|
455
|
+
poppable: {
|
|
456
|
+
type: Boolean,
|
|
457
|
+
default: true
|
|
458
|
+
},
|
|
472
459
|
convertConfig: Object
|
|
473
|
-
}
|
|
460
|
+
},
|
|
474
461
|
emits: ["update:modelValue", "change", "pathChange", "update:visible"],
|
|
475
462
|
setup(props, { emit }) {
|
|
476
463
|
const innerValue = ref(props.modelValue);
|
|
@@ -491,11 +478,14 @@ const _sfc_main = create({
|
|
|
491
478
|
const onPathChange = (pathNodes) => {
|
|
492
479
|
emit("pathChange", pathNodes);
|
|
493
480
|
};
|
|
494
|
-
watch(
|
|
495
|
-
|
|
496
|
-
|
|
481
|
+
watch(
|
|
482
|
+
() => props.modelValue,
|
|
483
|
+
(value) => {
|
|
484
|
+
if (value !== innerValue.value) {
|
|
485
|
+
innerValue.value = value;
|
|
486
|
+
}
|
|
497
487
|
}
|
|
498
|
-
|
|
488
|
+
);
|
|
499
489
|
return {
|
|
500
490
|
onChange,
|
|
501
491
|
onPathChange,
|
|
@@ -508,7 +498,8 @@ const _hoisted_1 = ["innerHTML"];
|
|
|
508
498
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
509
499
|
const _component_nut_cascader_item = resolveComponent("nut-cascader-item");
|
|
510
500
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
511
|
-
return openBlock(), createBlock(_component_nut_popup, {
|
|
501
|
+
return _ctx.poppable ? (openBlock(), createBlock(_component_nut_popup, {
|
|
502
|
+
key: 0,
|
|
512
503
|
visible: _ctx.innerVisible,
|
|
513
504
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.innerVisible = $event),
|
|
514
505
|
position: "bottom",
|
|
@@ -540,7 +531,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
540
531
|
}, null, 8, ["onChange", "onPathChange", "modelValue", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible"])
|
|
541
532
|
]),
|
|
542
533
|
_: 1
|
|
543
|
-
}, 8, ["visible", "closeable", "close-icon", "close-icon-position"])
|
|
534
|
+
}, 8, ["visible", "closeable", "close-icon", "close-icon-position"])) : (openBlock(), createBlock(_component_nut_cascader_item, {
|
|
535
|
+
key: 1,
|
|
536
|
+
onChange: _ctx.onChange,
|
|
537
|
+
onPathChange: _ctx.onPathChange,
|
|
538
|
+
modelValue: _ctx.innerValue,
|
|
539
|
+
options: _ctx.options,
|
|
540
|
+
lazy: _ctx.lazy,
|
|
541
|
+
"lazy-load": _ctx.lazyLoad,
|
|
542
|
+
"value-key": _ctx.valueKey,
|
|
543
|
+
"text-key": _ctx.textKey,
|
|
544
|
+
"children-key": _ctx.childrenKey,
|
|
545
|
+
"convert-config": _ctx.convertConfig,
|
|
546
|
+
visible: _ctx.innerVisible
|
|
547
|
+
}, null, 8, ["onChange", "onPathChange", "modelValue", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible"]));
|
|
544
548
|
}
|
|
545
549
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
546
550
|
export { index as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.3 Fri Sep 30 2022 10:26:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -86,13 +86,16 @@ const component = (componentName2, nutIcon) => {
|
|
|
86
86
|
emit("update:modelValue", value);
|
|
87
87
|
emit("change", value, label);
|
|
88
88
|
};
|
|
89
|
-
watch(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
watch(
|
|
90
|
+
() => props.modelValue,
|
|
91
|
+
(v) => {
|
|
92
|
+
if (updateType == "click") {
|
|
93
|
+
updateType = "";
|
|
94
|
+
} else {
|
|
95
|
+
emit("change", v);
|
|
96
|
+
}
|
|
94
97
|
}
|
|
95
|
-
|
|
98
|
+
);
|
|
96
99
|
const renderIcon = () => {
|
|
97
100
|
const { iconName, iconSize, iconActiveName, iconClassPrefix, iconFontClassName, iconIndeterminateName } = props;
|
|
98
101
|
return h(nutIcon, {
|
|
@@ -105,9 +108,13 @@ const component = (componentName2, nutIcon) => {
|
|
|
105
108
|
};
|
|
106
109
|
const renderLabel = () => {
|
|
107
110
|
var _a;
|
|
108
|
-
return h(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
+
return h(
|
|
112
|
+
"view",
|
|
113
|
+
{
|
|
114
|
+
class: `${componentName2}__label ${pDisabled.value ? `${componentName2}__label--disabled` : ""}`
|
|
115
|
+
},
|
|
116
|
+
(_a = slots.default) == null ? void 0 : _a.call(slots)
|
|
117
|
+
);
|
|
111
118
|
};
|
|
112
119
|
const handleClick = (e) => {
|
|
113
120
|
var _a, _b;
|
|
@@ -135,14 +142,21 @@ const component = (componentName2, nutIcon) => {
|
|
|
135
142
|
onMounted(() => {
|
|
136
143
|
hasParent.value && parent["relation"](getCurrentInstance());
|
|
137
144
|
});
|
|
138
|
-
watch(
|
|
139
|
-
|
|
140
|
-
|
|
145
|
+
watch(
|
|
146
|
+
() => props.indeterminate,
|
|
147
|
+
(newVal) => {
|
|
148
|
+
state.partialSelect = newVal;
|
|
149
|
+
}
|
|
150
|
+
);
|
|
141
151
|
return () => {
|
|
142
|
-
return h(
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
152
|
+
return h(
|
|
153
|
+
"view",
|
|
154
|
+
{
|
|
155
|
+
class: `${componentName2} ${props.textPosition === "left" ? `${componentName2}--reverse` : ""}`,
|
|
156
|
+
onClick: handleClick
|
|
157
|
+
},
|
|
158
|
+
[renderIcon(), renderLabel()]
|
|
159
|
+
);
|
|
146
160
|
};
|
|
147
161
|
}
|
|
148
162
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.3 Fri Sep 30 2022 10:26:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -69,15 +69,22 @@ const _sfc_main = create({
|
|
|
69
69
|
updateValue,
|
|
70
70
|
relation
|
|
71
71
|
});
|
|
72
|
-
watch(
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
watch(
|
|
73
|
+
() => props.modelValue,
|
|
74
|
+
(value) => {
|
|
75
|
+
emit("change", value);
|
|
76
|
+
}
|
|
77
|
+
);
|
|
75
78
|
useExpose({ toggleAll, toggleReverse });
|
|
76
79
|
return () => {
|
|
77
80
|
var _a;
|
|
78
|
-
return h(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
return h(
|
|
82
|
+
"view",
|
|
83
|
+
{
|
|
84
|
+
class: `${componentName}`
|
|
85
|
+
},
|
|
86
|
+
(_a = slots.default) == null ? void 0 : _a.call(slots)
|
|
87
|
+
);
|
|
81
88
|
};
|
|
82
89
|
}
|
|
83
90
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.3 Fri Sep 30 2022 10:26:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { useSlots, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, renderList, renderSlot, toDisplayString, createCommentVNode } from "vue";
|
|
7
|
-
import {
|
|
7
|
+
import { a as isObject, c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
9
|
import "../locale/lang";
|
|
10
10
|
const { componentName, create } = createComponent("circleprogress");
|
|
@@ -39,7 +39,7 @@ const _sfc_main = create({
|
|
|
39
39
|
default: true
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
setup(props
|
|
42
|
+
setup(props) {
|
|
43
43
|
const slotDefault = !!useSlots().default;
|
|
44
44
|
const refRandomId = Math.random().toString(36).slice(-8);
|
|
45
45
|
const classes = computed(() => {
|
|
@@ -75,7 +75,7 @@ const _sfc_main = create({
|
|
|
75
75
|
let color = props.color;
|
|
76
76
|
const colorArr = Object.keys(color).sort((a, b) => parseFloat(a) - parseFloat(b));
|
|
77
77
|
let stopArr = [];
|
|
78
|
-
colorArr.map((item
|
|
78
|
+
colorArr.map((item) => {
|
|
79
79
|
let obj = {
|
|
80
80
|
key: "",
|
|
81
81
|
value: ""
|
package/dist/packages/_es/Col.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.3 Fri Sep 30 2022 10:26:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -53,25 +53,28 @@ const _sfc_main = create({
|
|
|
53
53
|
setup(props, { emit, slots }) {
|
|
54
54
|
const collapseDom = ref(null);
|
|
55
55
|
const collapseChldren = ref([]);
|
|
56
|
-
watch(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
watch(
|
|
57
|
+
() => props.active,
|
|
58
|
+
(newval, oldval) => {
|
|
59
|
+
let doms = collapseChldren.value;
|
|
60
|
+
Array.from(doms).forEach((item) => {
|
|
61
|
+
if (typeof newval == "number" || typeof newval == "string") {
|
|
62
|
+
if (newval == item.name) {
|
|
63
|
+
item.changeOpen(true);
|
|
64
|
+
} else {
|
|
65
|
+
item.changeOpen(false);
|
|
66
|
+
}
|
|
67
|
+
} else if (Object.values(newval) instanceof Array) {
|
|
68
|
+
if (newval.indexOf(Number(item.name)) > -1 || newval.indexOf(String(item.name)) > -1) {
|
|
69
|
+
item.changeOpen(true);
|
|
70
|
+
} else {
|
|
71
|
+
item.changeOpen(false);
|
|
72
|
+
}
|
|
64
73
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
item.changeOpen(false);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
item.animation();
|
|
73
|
-
});
|
|
74
|
-
});
|
|
74
|
+
item.animation();
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
);
|
|
75
78
|
onMounted(() => {
|
|
76
79
|
collapseChldren.value = getCurrentInstance().provides.collapseParent.children || [];
|
|
77
80
|
});
|
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
1
|
/*!
|
|
21
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.3 Fri Sep 30 2022 10:26:47 GMT+0800 (中国标准时间)
|
|
22
3
|
* (c) 2022 @jdf2e.
|
|
23
4
|
* Released under the MIT License.
|
|
24
5
|
*/
|
|
@@ -150,14 +131,17 @@ const _sfc_main = create({
|
|
|
150
131
|
proxyData.openExpanded = true;
|
|
151
132
|
}
|
|
152
133
|
});
|
|
153
|
-
watch(
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
134
|
+
watch(
|
|
135
|
+
() => {
|
|
136
|
+
var _a, _b;
|
|
137
|
+
return (_b = (_a = ctx == null ? void 0 : ctx.slots) == null ? void 0 : _a.default) == null ? void 0 : _b.call(_a);
|
|
138
|
+
},
|
|
139
|
+
() => {
|
|
140
|
+
setTimeout(() => {
|
|
141
|
+
animation();
|
|
142
|
+
}, 300);
|
|
143
|
+
}
|
|
144
|
+
);
|
|
161
145
|
const init = () => {
|
|
162
146
|
const { name } = props;
|
|
163
147
|
const active = parent && parent.props.active;
|
|
@@ -185,17 +169,19 @@ const _sfc_main = create({
|
|
|
185
169
|
}
|
|
186
170
|
return _class;
|
|
187
171
|
});
|
|
188
|
-
return
|
|
172
|
+
return {
|
|
189
173
|
classes,
|
|
190
|
-
emptyContent
|
|
191
|
-
|
|
174
|
+
emptyContent,
|
|
175
|
+
...toRefs(proxyData),
|
|
176
|
+
...toRefs(parent.props),
|
|
177
|
+
...toRefs(titleIconStyle),
|
|
192
178
|
wrapperRef,
|
|
193
179
|
contentRef,
|
|
194
180
|
open,
|
|
195
181
|
toggleOpen,
|
|
196
182
|
changeOpen,
|
|
197
183
|
animation
|
|
198
|
-
}
|
|
184
|
+
};
|
|
199
185
|
}
|
|
200
186
|
});
|
|
201
187
|
const _hoisted_1 = { class: "collapse-title" };
|