@nutui/nutui 3.1.19-beta.7 → 3.1.20-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/CHANGELOG.md +49 -0
- package/README.md +1 -1
- package/dist/nutui.es.js +3329 -1681
- package/dist/nutui.umd.js +3336 -1682
- package/dist/packages/_es/ActionSheet.js +19 -23
- package/dist/packages/_es/Address.js +17 -13
- package/dist/packages/_es/AddressList.js +616 -0
- package/dist/packages/_es/Audio.js +2 -1
- package/dist/packages/_es/AudioOperate.js +2 -1
- package/dist/packages/_es/Avatar.js +120 -24
- package/dist/packages/_es/AvatarGroup.js +78 -0
- package/dist/packages/_es/BackTop.js +2 -1
- package/dist/packages/_es/Badge.js +2 -1
- package/dist/packages/_es/Barrage.js +2 -1
- package/dist/packages/_es/Button.js +2 -1
- package/dist/packages/_es/Calendar.js +2 -1
- package/dist/packages/_es/CalendarItem.js +2 -1
- package/dist/packages/_es/Card.js +13 -5
- package/dist/packages/_es/Cascader.js +30 -31
- package/dist/packages/_es/Category.js +63 -0
- package/dist/packages/_es/CategoryPane.js +116 -0
- package/dist/packages/_es/Cell.js +2 -1
- package/dist/packages/_es/CellGroup.js +2 -1
- package/dist/packages/_es/Checkbox.js +2 -1
- package/dist/packages/_es/CheckboxGroup.js +2 -1
- package/dist/packages/_es/CircleProgress.js +114 -67
- package/dist/packages/_es/Col.js +12 -4
- package/dist/packages/_es/Collapse.js +2 -1
- package/dist/packages/_es/CollapseItem.js +13 -2
- package/dist/packages/_es/Comment.js +440 -0
- package/dist/packages/_es/CountDown.js +175 -137
- package/dist/packages/_es/CountUp.js +2 -1
- package/dist/packages/_es/DatePicker.js +40 -12
- package/dist/packages/_es/Dialog.js +36 -44
- package/dist/packages/_es/Divider.js +2 -1
- package/dist/packages/_es/Drag.js +2 -1
- package/dist/packages/_es/Ecard.js +22 -11
- package/dist/packages/_es/Elevator.js +2 -1
- package/dist/packages/_es/Empty.js +2 -1
- package/dist/packages/_es/FixedNav.js +2 -1
- package/dist/packages/_es/Form.js +2 -1
- package/dist/packages/_es/FormItem.js +6 -4
- package/dist/packages/_es/Grid.js +2 -1
- package/dist/packages/_es/GridItem.js +2 -1
- package/dist/packages/_es/Icon.js +2 -1
- package/dist/packages/_es/ImagePreview.js +11 -14
- package/dist/packages/_es/Indicator.js +2 -1
- package/dist/packages/_es/InfiniteLoading.js +11 -8
- package/dist/packages/_es/Input.js +5 -3
- package/dist/packages/_es/InputNumber.js +2 -1
- package/dist/packages/_es/Layout.js +2 -1
- package/dist/packages/_es/List.js +7 -3
- package/dist/packages/_es/Menu.js +2 -1
- package/dist/packages/_es/MenuItem.js +2 -1
- package/dist/packages/_es/Navbar.js +2 -1
- package/dist/packages/_es/NoticeBar.js +2 -1
- package/dist/packages/_es/Notify.js +41 -23
- package/dist/packages/_es/NumberKeyboard.js +2 -1
- package/dist/packages/_es/OldPicker.js +2 -1
- package/dist/packages/_es/OverLay.js +2 -1
- package/dist/packages/_es/Pagination.js +2 -1
- package/dist/packages/_es/Picker.js +9 -6
- package/dist/packages/_es/Popover.js +2 -1
- package/dist/packages/_es/Popup.js +7 -1
- package/dist/packages/_es/Price.js +2 -1
- package/dist/packages/_es/Progress.js +19 -4
- package/dist/packages/_es/PullRefresh.js +2 -1
- package/dist/packages/_es/Radio.js +2 -1
- package/dist/packages/_es/RadioGroup.js +2 -1
- package/dist/packages/_es/Range.js +2 -1
- package/dist/packages/_es/Rate.js +2 -1
- package/dist/packages/_es/Row.js +12 -4
- package/dist/packages/_es/SearchBar.js +2 -1
- package/dist/packages/_es/ShortPassword.js +2 -1
- package/dist/packages/_es/SideNavBar.js +2 -1
- package/dist/packages/_es/SideNavBarItem.js +2 -1
- package/dist/packages/_es/Signature.js +9 -10
- package/dist/packages/_es/Skeleton.js +2 -1
- package/dist/packages/_es/Sku.js +17 -14
- package/dist/packages/_es/Step.js +2 -1
- package/dist/packages/_es/Steps.js +2 -1
- package/dist/packages/_es/Sticky.js +2 -1
- package/dist/packages/_es/SubSideNavBar.js +2 -1
- package/dist/packages/_es/Swipe.js +2 -1
- package/dist/packages/_es/Swiper.js +2 -1
- package/dist/packages/_es/SwiperItem.js +2 -1
- package/dist/packages/_es/Switch.js +2 -1
- package/dist/packages/_es/TabPane.js +2 -1
- package/dist/packages/_es/Tabbar.js +2 -1
- package/dist/packages/_es/TabbarItem.js +2 -1
- package/dist/packages/_es/Table.js +21 -18
- package/dist/packages/_es/Tabs.js +27 -24
- package/dist/packages/_es/Tag.js +2 -1
- package/dist/packages/_es/TextArea.js +4 -3
- package/dist/packages/_es/TimeDetail.js +2 -1
- package/dist/packages/_es/TimePannel.js +2 -1
- package/dist/packages/_es/TimeSelect.js +7 -5
- package/dist/packages/_es/Toast.js +2 -1
- package/dist/packages/_es/Uploader.js +43 -52
- package/dist/packages/_es/Video.js +2 -1
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +27 -113
- 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 +1 -1
- 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 +111 -0
- package/dist/packages/actionsheet/index.scss +0 -4
- package/dist/packages/addresslist/index.scss +144 -0
- package/dist/packages/avatar/index.scss +10 -5
- package/dist/packages/avatargroup/index.scss +14 -0
- package/dist/packages/category/index.scss +38 -0
- package/dist/packages/categorypane/index.scss +124 -0
- package/dist/packages/circleprogress/index.scss +12 -53
- package/dist/packages/col/index.scss +2 -2
- package/dist/packages/collapseitem/index.scss +12 -2
- package/dist/packages/comment/index.scss +353 -0
- package/dist/packages/ecard/index.scss +2 -2
- package/dist/packages/input/index.scss +18 -2
- package/dist/packages/locale/index.d.ts +3 -0
- package/dist/packages/locale/index.scss +1 -0
- package/dist/packages/locale/lang/baseLang.js +8 -0
- package/dist/packages/locale/lang/en-US.js +91 -0
- package/dist/packages/locale/lang/index.js +48 -0
- package/dist/packages/locale/lang/index.scss +1 -0
- package/dist/packages/locale/lang/zh-CN.js +91 -0
- package/dist/packages/locale/lang/zh-TW.js +91 -0
- package/dist/packages/locale/locale/index.d.ts +8 -0
- package/dist/packages/locale/locale/lang/baseLang.d.ts +82 -0
- package/dist/packages/locale/locale/lang/en-US.d.ts +83 -0
- package/dist/packages/locale/locale/lang/zh-CN.d.ts +83 -0
- package/dist/packages/locale/locale/lang/zh-TW.d.ts +83 -0
- package/dist/packages/notify/index.scss +2 -0
- package/dist/packages/popup/index.scss +4 -0
- package/dist/smartips/attributes.json +2542 -0
- package/dist/smartips/tags.json +955 -0
- package/dist/style.css +1 -1
- package/dist/styles/font/config.json +5 -0
- package/dist/styles/themes/default.scss +51 -46
- package/dist/styles/themes/jdt.scss +51 -46
- package/dist/styles/variables-jdt.scss +22 -3
- package/dist/styles/variables.scss +21 -2
- package/dist/types/__VUE/actionsheet/index.d.ts +14 -14
- package/dist/types/__VUE/address/index.d.ts +15 -5
- package/dist/types/__VUE/addresslist/components/GeneralShell.d.ts +35 -0
- package/dist/types/__VUE/addresslist/components/ItemContents.d.ts +42 -0
- package/dist/types/__VUE/addresslist/components/LongPressShell.d.ts +47 -0
- package/dist/types/__VUE/addresslist/components/SwipeShell.d.ts +37 -0
- package/dist/types/__VUE/addresslist/index.d.ts +81 -0
- package/dist/types/__VUE/audio/index.d.ts +3 -3
- package/dist/types/__VUE/audiooperate/index.d.ts +3 -3
- package/dist/types/__VUE/avatar/index.d.ts +48 -4
- package/dist/types/__VUE/avatargroup/index.d.ts +93 -0
- package/dist/types/__VUE/backtop/index.d.ts +3 -3
- package/dist/types/__VUE/badge/index.d.ts +3 -3
- package/dist/types/__VUE/barrage/index.d.ts +3 -3
- package/dist/types/__VUE/button/index.d.ts +3 -3
- package/dist/types/__VUE/calendar/index.d.ts +4 -4
- package/dist/types/__VUE/calendaritem/index.d.ts +3 -3
- package/dist/types/__VUE/card/index.d.ts +12 -3
- package/dist/types/__VUE/cascader/cascader-item.d.ts +3 -3
- package/dist/types/__VUE/cascader/index.d.ts +167 -3
- package/dist/types/__VUE/cascader/tree.d.ts +0 -1
- package/dist/types/__VUE/category/index.d.ts +38 -0
- package/dist/types/__VUE/categorypane/index.d.ts +45 -0
- package/dist/types/__VUE/cell/index.d.ts +3 -3
- package/dist/types/__VUE/cellgroup/index.d.ts +3 -3
- package/dist/types/__VUE/checkbox/index.d.ts +3 -3
- package/dist/types/__VUE/checkboxgroup/index.d.ts +3 -3
- package/dist/types/__VUE/circleprogress/index.d.ts +58 -30
- package/dist/types/__VUE/col/index.d.ts +8 -5
- package/dist/types/__VUE/collapse/index.d.ts +4 -4
- package/dist/types/__VUE/collapseitem/index.d.ts +3 -3
- package/dist/types/__VUE/comment/components/CmtBottom.d.ts +52 -0
- package/dist/types/__VUE/comment/components/CmtHeader.d.ts +47 -0
- package/dist/types/__VUE/comment/components/CmtImages.d.ts +51 -0
- package/dist/types/__VUE/comment/index.d.ts +110 -0
- package/dist/types/__VUE/countdown/index.d.ts +81 -67
- package/dist/types/__VUE/countdown/util.d.ts +6 -0
- package/dist/types/__VUE/countup/index.d.ts +3 -3
- package/dist/types/__VUE/datepicker/index.d.ts +13 -4
- package/dist/types/__VUE/dialog/index.d.ts +15 -15
- package/dist/types/__VUE/divider/index.d.ts +3 -3
- package/dist/types/__VUE/drag/index.d.ts +3 -3
- package/dist/types/__VUE/ecard/index.d.ts +4 -3
- package/dist/types/__VUE/elevator/index.d.ts +4 -4
- package/dist/types/__VUE/empty/index.d.ts +3 -3
- package/dist/types/__VUE/fixednav/index.d.ts +4 -4
- package/dist/types/__VUE/form/index.d.ts +3 -3
- package/dist/types/__VUE/formitem/index.d.ts +3 -3
- package/dist/types/__VUE/grid/index.d.ts +3 -3
- package/dist/types/__VUE/griditem/index.d.ts +3 -3
- package/dist/types/__VUE/icon/index.d.ts +3 -3
- package/dist/types/__VUE/imagepreview/index.d.ts +3 -3
- package/dist/types/__VUE/indicator/index.d.ts +3 -3
- package/dist/types/__VUE/infiniteloading/index.d.ts +7 -7
- package/dist/types/__VUE/input/index.d.ts +3 -3
- package/dist/types/__VUE/inputnumber/index.d.ts +3 -3
- package/dist/types/__VUE/layout/index.d.ts +3 -3
- package/dist/types/__VUE/list/index.d.ts +12 -4
- package/dist/types/__VUE/menu/index.d.ts +4 -4
- package/dist/types/__VUE/menuitem/index.d.ts +3 -3
- package/dist/types/__VUE/navbar/index.d.ts +3 -3
- package/dist/types/__VUE/noticebar/index.d.ts +5 -5
- package/dist/types/__VUE/notify/index.d.ts +13 -3
- package/dist/types/__VUE/numberkeyboard/index.d.ts +5 -5
- package/dist/types/__VUE/oldpicker/Column.d.ts +3 -3
- package/dist/types/__VUE/oldpicker/index.d.ts +14 -5
- package/dist/types/__VUE/overlay/index.d.ts +3 -3
- package/dist/types/__VUE/pagination/index.d.ts +3 -3
- package/dist/types/__VUE/picker/Column.d.ts +3 -3
- package/dist/types/__VUE/picker/index.d.ts +14 -5
- package/dist/types/__VUE/popover/index.d.ts +14 -5
- package/dist/types/__VUE/popup/index.d.ts +15 -6
- package/dist/types/__VUE/price/index.d.ts +3 -3
- package/dist/types/__VUE/progress/index.d.ts +4 -3
- package/dist/types/__VUE/pullrefresh/index.d.ts +3 -3
- package/dist/types/__VUE/radio/index.d.ts +3 -3
- package/dist/types/__VUE/radiogroup/index.d.ts +3 -3
- package/dist/types/__VUE/range/index.d.ts +3 -3
- package/dist/types/__VUE/rate/index.d.ts +3 -3
- package/dist/types/__VUE/row/index.d.ts +8 -5
- package/dist/types/__VUE/searchbar/index.d.ts +3 -3
- package/dist/types/__VUE/shortpassword/index.d.ts +4 -4
- package/dist/types/__VUE/sidenavbar/index.d.ts +3 -3
- package/dist/types/__VUE/sidenavbaritem/index.d.ts +3 -3
- package/dist/types/__VUE/signature/index.d.ts +4 -3
- package/dist/types/__VUE/skeleton/index.d.ts +3 -3
- package/dist/types/__VUE/sku/components/SkuHeader.d.ts +4 -3
- package/dist/types/__VUE/sku/components/SkuOperate.d.ts +3 -3
- package/dist/types/__VUE/sku/components/SkuSelect.d.ts +3 -3
- package/dist/types/__VUE/sku/components/SkuStepper.d.ts +3 -3
- package/dist/types/__VUE/sku/index.d.ts +15 -5
- package/dist/types/__VUE/step/index.d.ts +3 -3
- package/dist/types/__VUE/steps/index.d.ts +3 -3
- package/dist/types/__VUE/sticky/index.d.ts +3 -3
- package/dist/types/__VUE/subsidenavbar/index.d.ts +3 -3
- package/dist/types/__VUE/swipe/index.d.ts +5 -5
- package/dist/types/__VUE/swiper/index.d.ts +4 -4
- package/dist/types/__VUE/swiperitem/index.d.ts +3 -3
- package/dist/types/__VUE/switch/index.d.ts +3 -3
- package/dist/types/__VUE/tabbar/index.d.ts +4 -4
- package/dist/types/__VUE/tabbaritem/index.d.ts +3 -3
- package/dist/types/__VUE/table/common.d.ts +2 -1
- package/dist/types/__VUE/table/index.d.ts +3 -3
- package/dist/types/__VUE/table/renderColumn.d.ts +5 -10
- package/dist/types/__VUE/table/types.d.ts +2 -2
- package/dist/types/__VUE/tabpane/index.d.ts +3 -3
- package/dist/types/__VUE/tabs/common.d.ts +78 -0
- package/dist/types/__VUE/tabs/index.d.ts +15 -17
- package/dist/types/__VUE/tag/index.d.ts +4 -4
- package/dist/types/__VUE/textarea/index.d.ts +6 -6
- package/dist/types/__VUE/timedetail/index.d.ts +3 -3
- package/dist/types/__VUE/timepannel/index.d.ts +3 -3
- package/dist/types/__VUE/timeselect/index.d.ts +4 -3
- package/dist/types/__VUE/toast/index.d.ts +3 -3
- package/dist/types/__VUE/uploader/index.d.ts +5 -5
- package/dist/types/__VUE/uploader/uploader.d.ts +1 -1
- package/dist/types/__VUE/video/index.d.ts +3 -3
- package/dist/types/nutui.d.ts +8 -2
- package/package.json +11 -12
- package/dist/index.d.ts +0 -3
- package/dist/nutui.d.ts +0 -103
package/dist/packages/_es/Sku.js
CHANGED
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -26,10 +26,11 @@ import { resolveComponent, openBlock, createElementBlock, createElementVNode, re
|
|
|
26
26
|
import { c as createComponent, T as TypeOfFun } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
28
|
import { popupProps } from "./Popup.js";
|
|
29
|
+
import "../locale/lang";
|
|
29
30
|
import "./OverLay.js";
|
|
30
31
|
import "./Icon.js";
|
|
31
32
|
import "./pxCheck.js";
|
|
32
|
-
const { componentName: componentName$4, create: create$4 } = createComponent("sku-header");
|
|
33
|
+
const { componentName: componentName$4, create: create$4, translate: translate$1 } = createComponent("sku-header");
|
|
33
34
|
const _sfc_main$4 = create$4({
|
|
34
35
|
props: {
|
|
35
36
|
goods: {
|
|
@@ -41,7 +42,8 @@ const _sfc_main$4 = create$4({
|
|
|
41
42
|
setup(props, { emit, slots }) {
|
|
42
43
|
const getSlots = (name) => slots[name];
|
|
43
44
|
return {
|
|
44
|
-
getSlots
|
|
45
|
+
getSlots,
|
|
46
|
+
translate: translate$1
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
});
|
|
@@ -66,7 +68,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
66
68
|
thousands: false
|
|
67
69
|
}, null, 8, ["price"])),
|
|
68
70
|
_ctx.getSlots("sku-header-extra") ? renderSlot(_ctx.$slots, "sku-header-extra", { key: 2 }) : createCommentVNode("", true),
|
|
69
|
-
_ctx.goods.skuId && !_ctx.getSlots("sku-header-extra") ? (openBlock(), createElementBlock("view", _hoisted_4$3, "\
|
|
71
|
+
_ctx.goods.skuId && !_ctx.getSlots("sku-header-extra") ? (openBlock(), createElementBlock("view", _hoisted_4$3, toDisplayString(_ctx.translate("skuId")) + "\xA0:\xA0" + toDisplayString(_ctx.goods.skuId), 1)) : createCommentVNode("", true)
|
|
70
72
|
])
|
|
71
73
|
]);
|
|
72
74
|
}
|
|
@@ -295,7 +297,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
295
297
|
])) : createCommentVNode("", true);
|
|
296
298
|
}
|
|
297
299
|
var SkuOperate = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
298
|
-
const { componentName, create } = createComponent("sku");
|
|
300
|
+
const { componentName, create, translate } = createComponent("sku");
|
|
299
301
|
const _sfc_main = create({
|
|
300
302
|
props: __spreadProps(__spreadValues({}, popupProps), {
|
|
301
303
|
sku: {
|
|
@@ -320,7 +322,7 @@ const _sfc_main = create({
|
|
|
320
322
|
},
|
|
321
323
|
stepperTitle: {
|
|
322
324
|
type: String,
|
|
323
|
-
default: "
|
|
325
|
+
default: ""
|
|
324
326
|
},
|
|
325
327
|
stepperExtraText: {
|
|
326
328
|
type: [Function, Boolean],
|
|
@@ -332,15 +334,15 @@ const _sfc_main = create({
|
|
|
332
334
|
},
|
|
333
335
|
buyText: {
|
|
334
336
|
type: String,
|
|
335
|
-
default: "
|
|
337
|
+
default: ""
|
|
336
338
|
},
|
|
337
339
|
addCartText: {
|
|
338
340
|
type: String,
|
|
339
|
-
default: "
|
|
341
|
+
default: ""
|
|
340
342
|
},
|
|
341
343
|
confirmText: {
|
|
342
344
|
type: String,
|
|
343
|
-
default: "
|
|
345
|
+
default: ""
|
|
344
346
|
}
|
|
345
347
|
}),
|
|
346
348
|
emits: [
|
|
@@ -422,7 +424,8 @@ const _sfc_main = create({
|
|
|
422
424
|
clickBtnOperate,
|
|
423
425
|
add,
|
|
424
426
|
reduce,
|
|
425
|
-
getSlots
|
|
427
|
+
getSlots,
|
|
428
|
+
translate
|
|
426
429
|
};
|
|
427
430
|
}
|
|
428
431
|
});
|
|
@@ -479,7 +482,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
479
482
|
!_ctx.getSlots("sku-stepper") ? (openBlock(), createBlock(_component_sku_stepper, {
|
|
480
483
|
key: 1,
|
|
481
484
|
goods: _ctx.goods,
|
|
482
|
-
stepperTitle: _ctx.stepperTitle,
|
|
485
|
+
stepperTitle: _ctx.stepperTitle || _ctx.translate("buyNumber"),
|
|
483
486
|
stepperMax: _ctx.stepperMax,
|
|
484
487
|
stepperMin: _ctx.stepperMin,
|
|
485
488
|
stepperExtraText: _ctx.stepperExtraText,
|
|
@@ -493,9 +496,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
493
496
|
createVNode(_component_sku_operate, {
|
|
494
497
|
btnOptions: _ctx.btnOptions,
|
|
495
498
|
btnExtraText: _ctx.btnExtraText,
|
|
496
|
-
buyText: _ctx.buyText,
|
|
497
|
-
addCartText: _ctx.addCartText,
|
|
498
|
-
confirmText: _ctx.confirmText,
|
|
499
|
+
buyText: _ctx.buyText || _ctx.translate("buyNow"),
|
|
500
|
+
addCartText: _ctx.addCartText || _ctx.translate("addToCard"),
|
|
501
|
+
confirmText: _ctx.confirmText || _ctx.translate("confirm"),
|
|
499
502
|
onClickBtnOperate: _ctx.clickBtnOperate
|
|
500
503
|
}, createSlots({ _: 2 }, [
|
|
501
504
|
_ctx.getSlots("sku-operate") ? {
|
|
@@ -18,13 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { getCurrentInstance, inject, reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, Fragment, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
import "../locale/lang";
|
|
28
29
|
const { create, componentName } = createComponent("step");
|
|
29
30
|
const _sfc_main = create({
|
|
30
31
|
props: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { reactive, computed, provide, h } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
|
+
import "../locale/lang";
|
|
8
9
|
const { create, componentName } = createComponent("steps");
|
|
9
10
|
const _sfc_main = create({
|
|
10
11
|
props: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { ref, reactive, computed, watch, onMounted, onUnmounted, h, unref } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { u as useRect } from "./index2.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { componentName, create } = createComponent("sticky");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -18,13 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { reactive, computed, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, toDisplayString, createVNode, normalizeStyle, renderSlot } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
import "../locale/lang";
|
|
28
29
|
const { componentName, create } = createComponent("subsidenavbar");
|
|
29
30
|
const _sfc_main = create({
|
|
30
31
|
props: {
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -26,6 +26,7 @@ import { u as useTouch } from "./index4.js";
|
|
|
26
26
|
import { computed, ref, reactive, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot } from "vue";
|
|
27
27
|
import { c as createComponent } from "./component.js";
|
|
28
28
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
29
|
+
import "../locale/lang";
|
|
29
30
|
const { componentName, create } = createComponent("swipe");
|
|
30
31
|
const _sfc_main = create({
|
|
31
32
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -7,6 +7,7 @@ import { reactive, ref, computed, provide, onMounted, nextTick, onActivated, onD
|
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { u as useExpose } from "./index3.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
|
+
import "../locale/lang";
|
|
10
11
|
const DISTANCE = 5;
|
|
11
12
|
function useTouch() {
|
|
12
13
|
const state = reactive({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -7,6 +7,7 @@ import { inject, getCurrentInstance, reactive, computed, openBlock, createElemen
|
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { u as useExpose } from "./index3.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
|
+
import "../locale/lang";
|
|
10
11
|
const { create, componentName } = createComponent("swiper-item");
|
|
11
12
|
const _sfc_main = create({
|
|
12
13
|
props: {},
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, Fragment, withDirectives, toDisplayString, vShow } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { componentName, create } = createComponent("switch");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { inject, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { create } = createComponent("tabpane");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { reactive, provide, watch, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { create } = createComponent("tabbar");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -7,6 +7,7 @@ import { c as createComponent } from "./component.js";
|
|
|
7
7
|
import { u as useRouter } from "./index.js";
|
|
8
8
|
import { inject, reactive, getCurrentInstance, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, toDisplayString, createCommentVNode, createVNode, renderSlot } from "vue";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
|
+
import "../locale/lang";
|
|
10
11
|
const { create } = createComponent("tabbar-item");
|
|
11
12
|
const _sfc_main = create({
|
|
12
13
|
props: {
|
|
@@ -18,19 +18,21 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { c as createComponent } from "./component.js";
|
|
26
26
|
import { h, reactive, computed, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createTextVNode, toDisplayString, renderSlot, createBlock, createCommentVNode } from "vue";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
import "../locale/lang";
|
|
28
29
|
var RenderColumn = {
|
|
29
30
|
setup(props) {
|
|
30
|
-
return () => h(`view`, {}, props.slots());
|
|
31
|
+
return () => h(`view`, {}, props.slots[0] ? props.slots[0](props.record) : props.slots[1](props.record));
|
|
31
32
|
},
|
|
32
33
|
props: {
|
|
33
|
-
slots:
|
|
34
|
+
slots: Array,
|
|
35
|
+
record: Object
|
|
34
36
|
}
|
|
35
37
|
};
|
|
36
38
|
const component = (componentName2, translate2) => {
|
|
@@ -91,8 +93,8 @@ const component = (componentName2, translate2) => {
|
|
|
91
93
|
}
|
|
92
94
|
};
|
|
93
95
|
const sortDataItem = () => {
|
|
94
|
-
return props.columns.map((
|
|
95
|
-
return
|
|
96
|
+
return props.columns.map((columns) => {
|
|
97
|
+
return [columns.key, columns.render];
|
|
96
98
|
});
|
|
97
99
|
};
|
|
98
100
|
watch(() => props.data, (val) => {
|
|
@@ -115,16 +117,17 @@ const _hoisted_1 = { class: "nut-table__main__head" };
|
|
|
115
117
|
const _hoisted_2 = { class: "nut-table__main__head__tr" };
|
|
116
118
|
const _hoisted_3 = ["onClick"];
|
|
117
119
|
const _hoisted_4 = { class: "nut-table__main__body" };
|
|
118
|
-
const _hoisted_5 = {
|
|
120
|
+
const _hoisted_5 = { key: 1 };
|
|
121
|
+
const _hoisted_6 = {
|
|
119
122
|
key: 0,
|
|
120
123
|
class: "nut-table__summary"
|
|
121
124
|
};
|
|
122
|
-
const
|
|
123
|
-
const
|
|
125
|
+
const _hoisted_7 = ["innerHTML"];
|
|
126
|
+
const _hoisted_8 = {
|
|
124
127
|
key: 1,
|
|
125
128
|
class: "nut-table__nodata"
|
|
126
129
|
};
|
|
127
|
-
const
|
|
130
|
+
const _hoisted_9 = {
|
|
128
131
|
key: 0,
|
|
129
132
|
class: "nut-table__nodata__text"
|
|
130
133
|
};
|
|
@@ -162,34 +165,34 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
162
165
|
class: "nut-table__main__body__tr",
|
|
163
166
|
key: item
|
|
164
167
|
}, [
|
|
165
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sortDataItem(), (value) => {
|
|
168
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sortDataItem(), ([value, render]) => {
|
|
166
169
|
return openBlock(), createElementBlock("span", {
|
|
167
170
|
class: normalizeClass(["nut-table__main__body__tr__td", _ctx.cellClasses(_ctx.getColumnItem(value))]),
|
|
168
171
|
key: value
|
|
169
172
|
}, [
|
|
170
|
-
|
|
171
|
-
typeof item[value] === "function" ? (openBlock(), createBlock(_component_RenderColumn, {
|
|
173
|
+
typeof item[value] === "function" || typeof render === "function" ? (openBlock(), createBlock(_component_RenderColumn, {
|
|
172
174
|
key: 0,
|
|
173
|
-
slots: item[value]
|
|
174
|
-
|
|
175
|
+
slots: [render, item[value]],
|
|
176
|
+
record: item
|
|
177
|
+
}, null, 8, ["slots", "record"])) : (openBlock(), createElementBlock("view", _hoisted_5, toDisplayString(item[value]), 1))
|
|
175
178
|
], 2);
|
|
176
179
|
}), 128))
|
|
177
180
|
]);
|
|
178
181
|
}), 128))
|
|
179
182
|
])
|
|
180
183
|
], 2),
|
|
181
|
-
_ctx.summary ? (openBlock(), createElementBlock("view",
|
|
184
|
+
_ctx.summary ? (openBlock(), createElementBlock("view", _hoisted_6, [
|
|
182
185
|
createElementVNode("span", {
|
|
183
186
|
class: "nut-table__summary__text",
|
|
184
187
|
innerHTML: _ctx.summary().value
|
|
185
|
-
}, null, 8,
|
|
188
|
+
}, null, 8, _hoisted_7)
|
|
186
189
|
])) : createCommentVNode("", true),
|
|
187
|
-
!_ctx.curData.length ? (openBlock(), createElementBlock("view",
|
|
190
|
+
!_ctx.curData.length ? (openBlock(), createElementBlock("view", _hoisted_8, [
|
|
188
191
|
createElementVNode("div", {
|
|
189
192
|
class: normalizeClass(["nut-table__nodata", { "nut-table__nodata--border": _ctx.bordered }])
|
|
190
193
|
}, [
|
|
191
194
|
renderSlot(_ctx.$slots, "nodata"),
|
|
192
|
-
!_ctx.$slots.nodata ? (openBlock(), createElementBlock("div",
|
|
195
|
+
!_ctx.$slots.nodata ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(_ctx.translate("noData")), 1)) : createCommentVNode("", true)
|
|
193
196
|
], 2)
|
|
194
197
|
])) : createCommentVNode("", true)
|
|
195
198
|
], 2);
|
|
@@ -14,29 +14,24 @@ var __spreadValues = (a, b) => {
|
|
|
14
14
|
}
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
|
-
var __publicField = (obj, key, value) => {
|
|
18
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
19
|
-
return value;
|
|
20
|
-
};
|
|
21
17
|
/*!
|
|
22
|
-
* @nutui/nutui v3.1.
|
|
18
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
23
19
|
* (c) 2022 @jdf2e.
|
|
24
20
|
* Released under the MIT License.
|
|
25
21
|
*/
|
|
22
|
+
import { c as createComponent } from "./component.js";
|
|
26
23
|
import { p as pxCheck } from "./pxCheck.js";
|
|
27
24
|
import { provide, computed, ref, watch, onMounted, onActivated, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode, createVNode, toDisplayString } from "vue";
|
|
28
|
-
import { c as createComponent } from "./component.js";
|
|
29
25
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
30
|
-
|
|
26
|
+
import "../locale/lang";
|
|
31
27
|
class Title {
|
|
32
28
|
constructor() {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
__publicField(this, "disabled", false);
|
|
29
|
+
this.title = "";
|
|
30
|
+
this.paneKey = "";
|
|
31
|
+
this.disabled = false;
|
|
37
32
|
}
|
|
38
33
|
}
|
|
39
|
-
const
|
|
34
|
+
const component = {
|
|
40
35
|
props: {
|
|
41
36
|
modelValue: {
|
|
42
37
|
type: [String, Number],
|
|
@@ -84,7 +79,6 @@ const _sfc_main = create({
|
|
|
84
79
|
setup(props, { emit, slots }) {
|
|
85
80
|
provide("activeKey", { activeKey: computed(() => props.modelValue) });
|
|
86
81
|
const titles = ref([]);
|
|
87
|
-
const currentIndex = ref(props.modelValue || 0);
|
|
88
82
|
const renderTitles = (vnodes) => {
|
|
89
83
|
vnodes.forEach((vnode, index2) => {
|
|
90
84
|
var _a, _b, _c, _d, _e;
|
|
@@ -103,11 +97,23 @@ const _sfc_main = create({
|
|
|
103
97
|
}
|
|
104
98
|
});
|
|
105
99
|
};
|
|
100
|
+
const currentIndex = ref(props.modelValue || 0);
|
|
101
|
+
const findTabsIndex = (value) => {
|
|
102
|
+
let index2 = titles.value.findIndex((item) => item.paneKey == value);
|
|
103
|
+
if (titles.value.length == 0) {
|
|
104
|
+
console.error("[NutUI] <Tabs> \u5F53\u524D\u672A\u627E\u5230 TabPane \u7EC4\u4EF6\u5143\u7D20 , \u8BF7\u68C0\u67E5 .");
|
|
105
|
+
} else if (index2 == -1) {
|
|
106
|
+
console.error("[NutUI] <Tabs> \u8BF7\u68C0\u67E5 v-model \u503C\u662F\u5426\u4E3A paneKey ,\u5982 paneKey \u672A\u8BBE\u7F6E\uFF0C\u8BF7\u91C7\u7528\u4E0B\u6807\u63A7\u5236 .");
|
|
107
|
+
} else {
|
|
108
|
+
currentIndex.value = index2;
|
|
109
|
+
}
|
|
110
|
+
};
|
|
106
111
|
const init = (vnodes = ((_a) => (_a = slots.default) == null ? void 0 : _a.call(slots))()) => {
|
|
107
112
|
titles.value = [];
|
|
108
113
|
if (vnodes && vnodes.length) {
|
|
109
114
|
renderTitles(vnodes);
|
|
110
115
|
}
|
|
116
|
+
findTabsIndex(props.modelValue);
|
|
111
117
|
};
|
|
112
118
|
watch(() => {
|
|
113
119
|
var _a;
|
|
@@ -116,12 +122,7 @@ const _sfc_main = create({
|
|
|
116
122
|
init(vnodes);
|
|
117
123
|
});
|
|
118
124
|
watch(() => props.modelValue, (value) => {
|
|
119
|
-
|
|
120
|
-
if (index2 == -1) {
|
|
121
|
-
console.error("[NutUI] <Tabs> \u8BF7\u68C0\u67E5 v-model \u503C\u662F\u5426\u4E3A paneKey ,\u5982 paneKey \u672A\u8BBE\u7F6E\uFF0C\u8BF7\u91C7\u7528\u4E0B\u6807\u63A7\u5236 .");
|
|
122
|
-
} else {
|
|
123
|
-
currentIndex.value = index2;
|
|
124
|
-
}
|
|
125
|
+
findTabsIndex(value);
|
|
125
126
|
});
|
|
126
127
|
onMounted(init);
|
|
127
128
|
onActivated(init);
|
|
@@ -163,13 +164,13 @@ const _sfc_main = create({
|
|
|
163
164
|
titles,
|
|
164
165
|
contentStyle,
|
|
165
166
|
tabsNavStyle,
|
|
166
|
-
|
|
167
|
-
|
|
167
|
+
titleStyle,
|
|
168
|
+
tabsActiveStyle
|
|
168
169
|
}, methods);
|
|
169
170
|
}
|
|
170
|
-
}
|
|
171
|
+
};
|
|
171
172
|
const _hoisted_1 = ["onClick"];
|
|
172
|
-
function
|
|
173
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
173
174
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
174
175
|
return openBlock(), createElementBlock("view", {
|
|
175
176
|
class: normalizeClass(["nut-tabs", [_ctx.direction]])
|
|
@@ -214,5 +215,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
214
215
|
], 4)
|
|
215
216
|
], 2);
|
|
216
217
|
}
|
|
217
|
-
|
|
218
|
+
const { create } = createComponent("tabs");
|
|
219
|
+
const _sfc_main = create(component);
|
|
220
|
+
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", render]]);
|
|
218
221
|
export { index as default };
|
package/dist/packages/_es/Tag.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, createCommentVNode } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { componentName, create } = createComponent("tag");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { ref, computed, onMounted, nextTick, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { componentName, create, translate } = createComponent("textarea");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -27,7 +28,7 @@ const _sfc_main = create({
|
|
|
27
28
|
},
|
|
28
29
|
rows: {
|
|
29
30
|
type: [String, Number],
|
|
30
|
-
default: ""
|
|
31
|
+
default: "2"
|
|
31
32
|
},
|
|
32
33
|
placeholder: {
|
|
33
34
|
type: String,
|
|
@@ -42,7 +43,7 @@ const _sfc_main = create({
|
|
|
42
43
|
default: false
|
|
43
44
|
},
|
|
44
45
|
autosize: {
|
|
45
|
-
type: Boolean,
|
|
46
|
+
type: [Boolean, Object],
|
|
46
47
|
default: false
|
|
47
48
|
},
|
|
48
49
|
autofocus: {
|
|
@@ -18,13 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
import "../locale/lang";
|
|
28
29
|
const { componentName, create } = createComponent("timedetail");
|
|
29
30
|
const _sfc_main = create({
|
|
30
31
|
name: "timedetail",
|
|
@@ -18,13 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
import "../locale/lang";
|
|
28
29
|
const { componentName, create } = createComponent("timepannel");
|
|
29
30
|
const _sfc_main = create({
|
|
30
31
|
name: "timepannel",
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { computed, provide, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, toDisplayString, renderSlot } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
-
|
|
9
|
+
import "../locale/lang";
|
|
10
|
+
const { componentName, create, translate } = createComponent("timeselect");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
12
13
|
visible: {
|
|
@@ -19,7 +20,7 @@ const _sfc_main = create({
|
|
|
19
20
|
},
|
|
20
21
|
title: {
|
|
21
22
|
type: String,
|
|
22
|
-
default: "
|
|
23
|
+
default: ""
|
|
23
24
|
},
|
|
24
25
|
currentKey: {
|
|
25
26
|
type: [Number, String],
|
|
@@ -61,7 +62,8 @@ const _sfc_main = create({
|
|
|
61
62
|
return {
|
|
62
63
|
classes,
|
|
63
64
|
popStyle,
|
|
64
|
-
close
|
|
65
|
+
close,
|
|
66
|
+
translate
|
|
65
67
|
};
|
|
66
68
|
}
|
|
67
69
|
});
|
|
@@ -87,7 +89,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
87
89
|
class: normalizeClass(_ctx.classes)
|
|
88
90
|
}, [
|
|
89
91
|
createElementVNode("view", _hoisted_1, [
|
|
90
|
-
createElementVNode("view", _hoisted_2, toDisplayString(_ctx.title), 1)
|
|
92
|
+
createElementVNode("view", _hoisted_2, toDisplayString(_ctx.title || _ctx.translate("pickupTime")), 1)
|
|
91
93
|
]),
|
|
92
94
|
createElementVNode("view", _hoisted_3, [
|
|
93
95
|
createElementVNode("view", _hoisted_4, [
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -26,6 +26,7 @@ import { reactive, onMounted, watch, computed, resolveComponent, openBlock, crea
|
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import _sfc_main$1 from "./Icon.js";
|
|
28
28
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
29
|
+
import "../locale/lang";
|
|
29
30
|
import "./pxCheck.js";
|
|
30
31
|
const { create } = createComponent("toast");
|
|
31
32
|
const _sfc_main = create({
|