@nutui/nutui 3.1.23-beta.2 → 3.1.23-beta.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/dist/nutui.es.js +90 -60
- package/dist/nutui.umd.js +90 -60
- package/dist/packages/_es/ActionSheet.js +8 -3
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/AddressList.js +1 -1
- package/dist/packages/_es/Animate.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- 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 +1 -1
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +1 -1
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +7 -4
- package/dist/packages/_es/Cascader.js +1 -1
- 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 +1 -1
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +1 -1
- package/dist/packages/_es/Comment.js +4 -3
- package/dist/packages/_es/ConfigProvider.js +1 -1
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +8 -3
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +1 -1
- package/dist/packages/_es/Ellipsis.js +1 -1
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +1 -1
- 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 +1 -1
- package/dist/packages/_es/Image.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +1 -1
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +1 -1
- package/dist/packages/_es/Menu.js +1 -1
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +1 -1
- package/dist/packages/_es/NoticeBar.js +1 -1
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- package/dist/packages/_es/OldPicker.js +1 -1
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +41 -25
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/PullRefresh.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +1 -1
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +1 -1
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +1 -1
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Table.js +1 -1
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/Uploader.js +1 -1
- package/dist/packages/_es/Video.js +1 -1
- package/dist/packages/_es/WaterMark.js +1 -1
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +1 -1
- 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/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 +9 -0
- package/dist/smartips/attributes.json +8 -0
- package/dist/smartips/tags.json +4 -2
- package/dist/smartips/web-types.json +19 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +50 -50
- package/dist/styles/themes/jdb.scss +50 -50
- package/dist/styles/themes/jdt.scss +50 -50
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -0
- package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/backtop/index.vue.d.ts +2 -2
- package/dist/types/__VUE/button/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cell/index.vue.d.ts +4 -4
- package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/datepicker/index.vue.d.ts +7 -0
- package/dist/types/__VUE/grid/index.vue.d.ts +2 -2
- package/dist/types/__VUE/input/index.vue.d.ts +2 -2
- package/dist/types/__VUE/picker/Column.vue.d.ts +10 -3
- package/dist/types/__VUE/picker/index.vue.d.ts +17 -3
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
- package/dist/types/__VUE/step/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
- package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { c as createComponent } from "./component.js";
|
|
7
|
-
import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot,
|
|
7
|
+
import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot, createBlock, createCommentVNode, Fragment, createVNode, withCtx, createTextVNode } from "vue";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
9
|
import "../locale/lang";
|
|
10
10
|
const { create } = createComponent("card");
|
|
@@ -78,9 +78,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78
78
|
createElementVNode("div", _hoisted_5, toDisplayString(_ctx.title), 1),
|
|
79
79
|
renderSlot(_ctx.$slots, "prolist"),
|
|
80
80
|
_ctx.isNeedPrice ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
81
|
-
|
|
82
|
-
_ctx.isHaveSlot("origin") ? renderSlot(_ctx.$slots, "origin", { key: 0 }) : (openBlock(), createBlock(_component_nut_price, {
|
|
81
|
+
_ctx.isHaveSlot("price") ? renderSlot(_ctx.$slots, "price", { key: 0 }) : (openBlock(), createBlock(_component_nut_price, {
|
|
83
82
|
key: 1,
|
|
83
|
+
price: _ctx.price
|
|
84
|
+
}, null, 8, ["price"])),
|
|
85
|
+
_ctx.isHaveSlot("origin") ? renderSlot(_ctx.$slots, "origin", { key: 2 }) : (openBlock(), createBlock(_component_nut_price, {
|
|
86
|
+
key: 3,
|
|
84
87
|
class: "nut-card__right__price__origin",
|
|
85
88
|
price: _ctx.vipPrice
|
|
86
89
|
}, null, 8, ["price"]))
|
package/dist/packages/_es/Col.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -72,7 +72,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
72
72
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.info.score = $event),
|
|
73
73
|
"icon-size": "10",
|
|
74
74
|
spacing: "5",
|
|
75
|
-
|
|
75
|
+
readonly: "",
|
|
76
76
|
onChange: _ctx.handleClick
|
|
77
77
|
}, null, 8, ["modelValue", "onChange"])
|
|
78
78
|
])
|
|
@@ -96,7 +96,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
96
96
|
modelValue: _ctx.info.score,
|
|
97
97
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.info.score = $event),
|
|
98
98
|
"icon-size": "12",
|
|
99
|
-
spacing: "3"
|
|
99
|
+
spacing: "3",
|
|
100
|
+
readonly: ""
|
|
100
101
|
}, null, 8, ["modelValue"]),
|
|
101
102
|
createElementVNode("i", {
|
|
102
103
|
class: normalizeClass([`nut-comment-header__${_ctx.type}-score-i`])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -78,6 +78,10 @@ const _sfc_main = create({
|
|
|
78
78
|
type: Function,
|
|
79
79
|
default: null
|
|
80
80
|
},
|
|
81
|
+
threeDimensional: {
|
|
82
|
+
type: Boolean,
|
|
83
|
+
default: true
|
|
84
|
+
},
|
|
81
85
|
filter: Function
|
|
82
86
|
},
|
|
83
87
|
emits: ["click", "update:visible", "change", "confirm", "update:moduleValue"],
|
|
@@ -315,13 +319,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
315
319
|
onChange: _ctx.changeHandler,
|
|
316
320
|
title: _ctx.title,
|
|
317
321
|
onConfirm: _ctx.confirm,
|
|
318
|
-
isWrapTeleport: _ctx.isWrapTeleport
|
|
322
|
+
isWrapTeleport: _ctx.isWrapTeleport,
|
|
323
|
+
threeDimensional: _ctx.threeDimensional
|
|
319
324
|
}, {
|
|
320
325
|
default: withCtx(() => [
|
|
321
326
|
renderSlot(_ctx.$slots, "default")
|
|
322
327
|
]),
|
|
323
328
|
_: 3
|
|
324
|
-
}, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport"]);
|
|
329
|
+
}, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport", "threeDimensional"]);
|
|
325
330
|
}
|
|
326
331
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
327
332
|
export { index as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -28,6 +28,10 @@ const _sfc_main$1 = create$1({
|
|
|
28
28
|
readonly: {
|
|
29
29
|
type: Boolean,
|
|
30
30
|
default: false
|
|
31
|
+
},
|
|
32
|
+
threeDimensional: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: true
|
|
31
35
|
}
|
|
32
36
|
},
|
|
33
37
|
emits: ["click", "change"],
|
|
@@ -52,7 +56,6 @@ const _sfc_main$1 = create$1({
|
|
|
52
56
|
});
|
|
53
57
|
const roller = ref(null);
|
|
54
58
|
const list = ref(null);
|
|
55
|
-
const listItem = ref(null);
|
|
56
59
|
const moving = ref(false);
|
|
57
60
|
const touchDeg = ref(0);
|
|
58
61
|
const touchTime = ref(0);
|
|
@@ -64,7 +67,7 @@ const _sfc_main$1 = create$1({
|
|
|
64
67
|
transform: `rotate3d(1, 0, 0, ${touchDeg.value})`
|
|
65
68
|
};
|
|
66
69
|
});
|
|
67
|
-
const
|
|
70
|
+
const touchTileStyle = computed(() => {
|
|
68
71
|
return {
|
|
69
72
|
transition: `transform ${touchTime.value}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,
|
|
70
73
|
transform: `translate3d(0, ${state.scrollDistance}px, 0)`
|
|
@@ -76,7 +79,11 @@ const _sfc_main$1 = create$1({
|
|
|
76
79
|
const onTouchStart = (event) => {
|
|
77
80
|
touch.start(event);
|
|
78
81
|
if (moving.value) {
|
|
79
|
-
|
|
82
|
+
let dom = list.value;
|
|
83
|
+
if (!props.threeDimensional) {
|
|
84
|
+
dom = roller.value;
|
|
85
|
+
}
|
|
86
|
+
const { transform } = window.getComputedStyle(dom);
|
|
80
87
|
state.scrollDistance = +transform.slice(7, transform.length - 1).split(", ")[5];
|
|
81
88
|
}
|
|
82
89
|
state.touchParams.startY = touch.deltaY.value;
|
|
@@ -90,13 +97,8 @@ const _sfc_main$1 = create$1({
|
|
|
90
97
|
preventDefault(event, true);
|
|
91
98
|
}
|
|
92
99
|
state.touchParams.lastY = touch.deltaY.value;
|
|
93
|
-
const now = Date.now();
|
|
94
100
|
let move = state.touchParams.lastY - state.touchParams.startY;
|
|
95
101
|
setMove(move);
|
|
96
|
-
if (now - state.touchParams.startTime > INERTIA_TIME) {
|
|
97
|
-
state.touchParams.startTime = now;
|
|
98
|
-
state.touchParams.startY = state.touchParams.lastY;
|
|
99
|
-
}
|
|
100
102
|
};
|
|
101
103
|
const onTouchEnd = (event) => {
|
|
102
104
|
state.touchParams.lastY = touch.deltaY.value;
|
|
@@ -150,13 +152,15 @@ const _sfc_main$1 = create$1({
|
|
|
150
152
|
setTransform(endMove, type, time, deg);
|
|
151
153
|
state.currIndex = Math.abs(Math.round(endMove / state.lineSpacing)) + 1;
|
|
152
154
|
} else {
|
|
153
|
-
let deg =
|
|
155
|
+
let deg = 0;
|
|
154
156
|
let currentDeg = (-updateMove / state.lineSpacing + 1) * state.rotation;
|
|
155
157
|
const maxDeg = (props.column.length + 1) * state.rotation;
|
|
156
158
|
const minDeg = 0;
|
|
157
|
-
deg = Math.min(Math.max(currentDeg, minDeg), maxDeg)
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
deg = Math.min(Math.max(currentDeg, minDeg), maxDeg);
|
|
160
|
+
if (minDeg < deg && deg < maxDeg) {
|
|
161
|
+
setTransform(updateMove, null, void 0, deg + "deg");
|
|
162
|
+
state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
|
|
163
|
+
}
|
|
160
164
|
}
|
|
161
165
|
};
|
|
162
166
|
const setChooseValue = () => {
|
|
@@ -200,19 +204,25 @@ const _sfc_main$1 = create$1({
|
|
|
200
204
|
isHidden,
|
|
201
205
|
roller,
|
|
202
206
|
list,
|
|
203
|
-
listItem,
|
|
204
207
|
onTouchStart,
|
|
205
208
|
onTouchMove,
|
|
206
209
|
onTouchEnd,
|
|
207
210
|
touchRollerStyle,
|
|
208
|
-
|
|
211
|
+
touchTileStyle,
|
|
209
212
|
setMove,
|
|
210
213
|
stopMomentum
|
|
211
214
|
};
|
|
212
215
|
}
|
|
213
216
|
});
|
|
214
|
-
const _hoisted_1$1 =
|
|
215
|
-
|
|
217
|
+
const _hoisted_1$1 = {
|
|
218
|
+
key: 1,
|
|
219
|
+
class: "nut-picker-roller-item-tile"
|
|
220
|
+
};
|
|
221
|
+
const _hoisted_2$1 = /* @__PURE__ */ createElementVNode("view", { class: "nut-picker-roller-mask" }, null, -1);
|
|
222
|
+
const _hoisted_3$1 = {
|
|
223
|
+
key: 0,
|
|
224
|
+
class: "nut-picker-content"
|
|
225
|
+
};
|
|
216
226
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
217
227
|
return openBlock(), createElementBlock("view", {
|
|
218
228
|
class: "nut-picker__list",
|
|
@@ -223,29 +233,30 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
223
233
|
createElementVNode("view", {
|
|
224
234
|
class: "nut-picker-roller",
|
|
225
235
|
ref: "roller",
|
|
226
|
-
style: normalizeStyle(_ctx.touchRollerStyle),
|
|
236
|
+
style: normalizeStyle(_ctx.threeDimensional ? _ctx.touchRollerStyle : _ctx.touchTileStyle),
|
|
227
237
|
onTransitionend: _cache[0] || (_cache[0] = (...args) => _ctx.stopMomentum && _ctx.stopMomentum(...args))
|
|
228
238
|
}, [
|
|
229
239
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.column, (item, index) => {
|
|
230
240
|
return openBlock(), createElementBlock(Fragment, {
|
|
231
241
|
key: item.value ? item.value : index
|
|
232
242
|
}, [
|
|
233
|
-
item && item.text ? (openBlock(), createElementBlock("view", {
|
|
243
|
+
item && item.text && _ctx.threeDimensional ? (openBlock(), createElementBlock("view", {
|
|
234
244
|
key: 0,
|
|
235
245
|
class: normalizeClass(["nut-picker-roller-item", { "nut-picker-roller-item-hidden": _ctx.isHidden(index + 1) }]),
|
|
236
246
|
style: normalizeStyle(_ctx.setRollerStyle(index + 1))
|
|
237
|
-
}, toDisplayString(item.text), 7)) : createCommentVNode("", true)
|
|
247
|
+
}, toDisplayString(item.text), 7)) : createCommentVNode("", true),
|
|
248
|
+
item && item.text && !_ctx.threeDimensional ? (openBlock(), createElementBlock("view", _hoisted_1$1, toDisplayString(item.text), 1)) : createCommentVNode("", true)
|
|
238
249
|
], 64);
|
|
239
250
|
}), 128))
|
|
240
251
|
], 36),
|
|
241
|
-
|
|
242
|
-
|
|
252
|
+
_hoisted_2$1,
|
|
253
|
+
_ctx.threeDimensional ? (openBlock(), createElementBlock("view", _hoisted_3$1, [
|
|
243
254
|
createElementVNode("view", {
|
|
244
255
|
class: "nut-picker-list-panel",
|
|
245
256
|
ref: "list",
|
|
246
|
-
style: normalizeStyle(_ctx.
|
|
257
|
+
style: normalizeStyle(_ctx.touchTileStyle)
|
|
247
258
|
}, null, 4)
|
|
248
|
-
])
|
|
259
|
+
])) : createCommentVNode("", true)
|
|
249
260
|
], 32);
|
|
250
261
|
}
|
|
251
262
|
var column = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
@@ -282,6 +293,10 @@ const _sfc_main = create({
|
|
|
282
293
|
readonly: {
|
|
283
294
|
type: Boolean,
|
|
284
295
|
default: false
|
|
296
|
+
},
|
|
297
|
+
threeDimensional: {
|
|
298
|
+
type: Boolean,
|
|
299
|
+
default: true
|
|
285
300
|
}
|
|
286
301
|
},
|
|
287
302
|
emits: ["close", "change", "confirm", "update:visible", "update:modelValue"],
|
|
@@ -475,10 +490,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
475
490
|
readonly: _ctx.readonly,
|
|
476
491
|
columnsType: _ctx.columnsType,
|
|
477
492
|
value: _ctx.defaultValues[columnIndex],
|
|
493
|
+
threeDimensional: _ctx.threeDimensional,
|
|
478
494
|
onChange: (option) => {
|
|
479
495
|
_ctx.changeHandler(columnIndex, option);
|
|
480
496
|
}
|
|
481
|
-
}, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "onChange"])
|
|
497
|
+
}, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "threeDimensional", "onChange"])
|
|
482
498
|
]);
|
|
483
499
|
}), 128))
|
|
484
500
|
], 512),
|