@deot/vc-components 1.0.34 → 1.0.36
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/index.cjs +7 -7
- package/dist/index.iife.js +7 -7
- package/dist/index.js +7 -7
- package/dist/index.umd.cjs +7 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5174,7 +5174,7 @@ const useBase = () => {
|
|
|
5174
5174
|
|
|
5175
5175
|
const createPicker = (name, pickerProps, usePicker) => /* @__PURE__ */ vue.defineComponent({
|
|
5176
5176
|
name,
|
|
5177
|
-
props: Object.assign(props$Y, pickerProps),
|
|
5177
|
+
props: Object.assign({}, props$Y, pickerProps),
|
|
5178
5178
|
inheritAttrs: false,
|
|
5179
5179
|
emits: ['update:modelValue', 'change', 'clear', 'error', 'close', 'input', 'ready', 'visible-change', 'ok'],
|
|
5180
5180
|
setup(props, {
|
|
@@ -8396,7 +8396,7 @@ const COMPONENT_NAME$17 = 'vc-scroller-wheel';
|
|
|
8396
8396
|
*/
|
|
8397
8397
|
const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
|
|
8398
8398
|
name: COMPONENT_NAME$17,
|
|
8399
|
-
props: Object.assign(props$Q, {
|
|
8399
|
+
props: Object.assign({}, props$Q, {
|
|
8400
8400
|
stopPropagation: {
|
|
8401
8401
|
type: Boolean,
|
|
8402
8402
|
default: true
|
|
@@ -13798,8 +13798,8 @@ const RecycleList = /* @__PURE__ */ vue.defineComponent({
|
|
|
13798
13798
|
};
|
|
13799
13799
|
|
|
13800
13800
|
// 图片撑开时,会影响布局, 节流结束后调用
|
|
13801
|
-
const handleResize = Utils.throttle(async
|
|
13802
|
-
if (!wrapper.value
|
|
13801
|
+
const handleResize = Utils.throttle(async () => {
|
|
13802
|
+
if (!wrapper.value) return;
|
|
13803
13803
|
const isNeedRefreshLayout = rebuildData.value.some(i => !i.isPlaceholder);
|
|
13804
13804
|
if (isNeedRefreshLayout) {
|
|
13805
13805
|
const oldFirstItemIndex = firstItemIndex.value;
|
|
@@ -13945,7 +13945,7 @@ const RecycleList = /* @__PURE__ */ vue.defineComponent({
|
|
|
13945
13945
|
"data-column": item.column,
|
|
13946
13946
|
"data-size": item.size,
|
|
13947
13947
|
"data-position": item.position,
|
|
13948
|
-
"onResize": handleResize
|
|
13948
|
+
"onResize": e => e?.inited === true && handleResize()
|
|
13949
13949
|
}, {
|
|
13950
13950
|
default: () => [slots.default?.({
|
|
13951
13951
|
row: item.data || {},
|
|
@@ -18460,7 +18460,7 @@ const props$7 = {
|
|
|
18460
18460
|
const COMPONENT_NAME$c = 'vc-textarea';
|
|
18461
18461
|
const Textarea = /* @__PURE__ */ vue.defineComponent({
|
|
18462
18462
|
name: COMPONENT_NAME$c,
|
|
18463
|
-
props: Object.assign(props$7, {
|
|
18463
|
+
props: Object.assign({}, props$7, {
|
|
18464
18464
|
indicator: {
|
|
18465
18465
|
type: [Boolean, Object],
|
|
18466
18466
|
default: false
|
|
@@ -18518,7 +18518,7 @@ const Textarea = /* @__PURE__ */ vue.defineComponent({
|
|
|
18518
18518
|
const COMPONENT_NAME$b = 'vcm-textarea';
|
|
18519
18519
|
const MTextarea = /* @__PURE__ */ vue.defineComponent({
|
|
18520
18520
|
name: COMPONENT_NAME$b,
|
|
18521
|
-
props: Object.assign(props$7, {
|
|
18521
|
+
props: Object.assign({}, props$7, {
|
|
18522
18522
|
align: {
|
|
18523
18523
|
type: String,
|
|
18524
18524
|
default: 'left'
|
package/dist/index.iife.js
CHANGED
|
@@ -10480,7 +10480,7 @@ var VcComponents = (function (exports, vue) {
|
|
|
10480
10480
|
|
|
10481
10481
|
const createPicker = (name, pickerProps, usePicker) => /* @__PURE__ */ vue.defineComponent({
|
|
10482
10482
|
name,
|
|
10483
|
-
props: Object.assign(props$Y, pickerProps),
|
|
10483
|
+
props: Object.assign({}, props$Y, pickerProps),
|
|
10484
10484
|
inheritAttrs: false,
|
|
10485
10485
|
emits: ['update:modelValue', 'change', 'clear', 'error', 'close', 'input', 'ready', 'visible-change', 'ok'],
|
|
10486
10486
|
setup(props, {
|
|
@@ -14591,7 +14591,7 @@ var VcComponents = (function (exports, vue) {
|
|
|
14591
14591
|
*/
|
|
14592
14592
|
const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
|
|
14593
14593
|
name: COMPONENT_NAME$17,
|
|
14594
|
-
props: Object.assign(props$Q, {
|
|
14594
|
+
props: Object.assign({}, props$Q, {
|
|
14595
14595
|
stopPropagation: {
|
|
14596
14596
|
type: Boolean,
|
|
14597
14597
|
default: true
|
|
@@ -22618,8 +22618,8 @@ var VcComponents = (function (exports, vue) {
|
|
|
22618
22618
|
};
|
|
22619
22619
|
|
|
22620
22620
|
// 图片撑开时,会影响布局, 节流结束后调用
|
|
22621
|
-
const handleResize = throttle$1(async
|
|
22622
|
-
if (!wrapper.value
|
|
22621
|
+
const handleResize = throttle$1(async () => {
|
|
22622
|
+
if (!wrapper.value) return;
|
|
22623
22623
|
const isNeedRefreshLayout = rebuildData.value.some(i => !i.isPlaceholder);
|
|
22624
22624
|
if (isNeedRefreshLayout) {
|
|
22625
22625
|
const oldFirstItemIndex = firstItemIndex.value;
|
|
@@ -22765,7 +22765,7 @@ var VcComponents = (function (exports, vue) {
|
|
|
22765
22765
|
"data-column": item.column,
|
|
22766
22766
|
"data-size": item.size,
|
|
22767
22767
|
"data-position": item.position,
|
|
22768
|
-
"onResize": handleResize
|
|
22768
|
+
"onResize": e => e?.inited === true && handleResize()
|
|
22769
22769
|
}, {
|
|
22770
22770
|
default: () => [slots.default?.({
|
|
22771
22771
|
row: item.data || {},
|
|
@@ -44491,7 +44491,7 @@ var VcComponents = (function (exports, vue) {
|
|
|
44491
44491
|
const COMPONENT_NAME$c = 'vc-textarea';
|
|
44492
44492
|
const Textarea = /* @__PURE__ */ vue.defineComponent({
|
|
44493
44493
|
name: COMPONENT_NAME$c,
|
|
44494
|
-
props: Object.assign(props$7, {
|
|
44494
|
+
props: Object.assign({}, props$7, {
|
|
44495
44495
|
indicator: {
|
|
44496
44496
|
type: [Boolean, Object],
|
|
44497
44497
|
default: false
|
|
@@ -44549,7 +44549,7 @@ var VcComponents = (function (exports, vue) {
|
|
|
44549
44549
|
const COMPONENT_NAME$b = 'vcm-textarea';
|
|
44550
44550
|
const MTextarea = /* @__PURE__ */ vue.defineComponent({
|
|
44551
44551
|
name: COMPONENT_NAME$b,
|
|
44552
|
-
props: Object.assign(props$7, {
|
|
44552
|
+
props: Object.assign({}, props$7, {
|
|
44553
44553
|
align: {
|
|
44554
44554
|
type: String,
|
|
44555
44555
|
default: 'left'
|
package/dist/index.js
CHANGED
|
@@ -5152,7 +5152,7 @@ const useBase = () => {
|
|
|
5152
5152
|
|
|
5153
5153
|
const createPicker = (name, pickerProps, usePicker) => /* @__PURE__ */ defineComponent({
|
|
5154
5154
|
name,
|
|
5155
|
-
props: Object.assign(props$Y, pickerProps),
|
|
5155
|
+
props: Object.assign({}, props$Y, pickerProps),
|
|
5156
5156
|
inheritAttrs: false,
|
|
5157
5157
|
emits: ['update:modelValue', 'change', 'clear', 'error', 'close', 'input', 'ready', 'visible-change', 'ok'],
|
|
5158
5158
|
setup(props, {
|
|
@@ -8374,7 +8374,7 @@ const COMPONENT_NAME$17 = 'vc-scroller-wheel';
|
|
|
8374
8374
|
*/
|
|
8375
8375
|
const ScrollerWheel = /* @__PURE__ */ defineComponent({
|
|
8376
8376
|
name: COMPONENT_NAME$17,
|
|
8377
|
-
props: Object.assign(props$Q, {
|
|
8377
|
+
props: Object.assign({}, props$Q, {
|
|
8378
8378
|
stopPropagation: {
|
|
8379
8379
|
type: Boolean,
|
|
8380
8380
|
default: true
|
|
@@ -13776,8 +13776,8 @@ const RecycleList = /* @__PURE__ */ defineComponent({
|
|
|
13776
13776
|
};
|
|
13777
13777
|
|
|
13778
13778
|
// 图片撑开时,会影响布局, 节流结束后调用
|
|
13779
|
-
const handleResize = throttle$1(async
|
|
13780
|
-
if (!wrapper.value
|
|
13779
|
+
const handleResize = throttle$1(async () => {
|
|
13780
|
+
if (!wrapper.value) return;
|
|
13781
13781
|
const isNeedRefreshLayout = rebuildData.value.some(i => !i.isPlaceholder);
|
|
13782
13782
|
if (isNeedRefreshLayout) {
|
|
13783
13783
|
const oldFirstItemIndex = firstItemIndex.value;
|
|
@@ -13923,7 +13923,7 @@ const RecycleList = /* @__PURE__ */ defineComponent({
|
|
|
13923
13923
|
"data-column": item.column,
|
|
13924
13924
|
"data-size": item.size,
|
|
13925
13925
|
"data-position": item.position,
|
|
13926
|
-
"onResize": handleResize
|
|
13926
|
+
"onResize": e => e?.inited === true && handleResize()
|
|
13927
13927
|
}, {
|
|
13928
13928
|
default: () => [slots.default?.({
|
|
13929
13929
|
row: item.data || {},
|
|
@@ -18438,7 +18438,7 @@ const props$7 = {
|
|
|
18438
18438
|
const COMPONENT_NAME$c = 'vc-textarea';
|
|
18439
18439
|
const Textarea = /* @__PURE__ */ defineComponent({
|
|
18440
18440
|
name: COMPONENT_NAME$c,
|
|
18441
|
-
props: Object.assign(props$7, {
|
|
18441
|
+
props: Object.assign({}, props$7, {
|
|
18442
18442
|
indicator: {
|
|
18443
18443
|
type: [Boolean, Object],
|
|
18444
18444
|
default: false
|
|
@@ -18496,7 +18496,7 @@ const Textarea = /* @__PURE__ */ defineComponent({
|
|
|
18496
18496
|
const COMPONENT_NAME$b = 'vcm-textarea';
|
|
18497
18497
|
const MTextarea = /* @__PURE__ */ defineComponent({
|
|
18498
18498
|
name: COMPONENT_NAME$b,
|
|
18499
|
-
props: Object.assign(props$7, {
|
|
18499
|
+
props: Object.assign({}, props$7, {
|
|
18500
18500
|
align: {
|
|
18501
18501
|
type: String,
|
|
18502
18502
|
default: 'left'
|
package/dist/index.umd.cjs
CHANGED
|
@@ -10483,7 +10483,7 @@
|
|
|
10483
10483
|
|
|
10484
10484
|
const createPicker = (name, pickerProps, usePicker) => /* @__PURE__ */ vue.defineComponent({
|
|
10485
10485
|
name,
|
|
10486
|
-
props: Object.assign(props$Y, pickerProps),
|
|
10486
|
+
props: Object.assign({}, props$Y, pickerProps),
|
|
10487
10487
|
inheritAttrs: false,
|
|
10488
10488
|
emits: ['update:modelValue', 'change', 'clear', 'error', 'close', 'input', 'ready', 'visible-change', 'ok'],
|
|
10489
10489
|
setup(props, {
|
|
@@ -14594,7 +14594,7 @@
|
|
|
14594
14594
|
*/
|
|
14595
14595
|
const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
|
|
14596
14596
|
name: COMPONENT_NAME$17,
|
|
14597
|
-
props: Object.assign(props$Q, {
|
|
14597
|
+
props: Object.assign({}, props$Q, {
|
|
14598
14598
|
stopPropagation: {
|
|
14599
14599
|
type: Boolean,
|
|
14600
14600
|
default: true
|
|
@@ -22621,8 +22621,8 @@
|
|
|
22621
22621
|
};
|
|
22622
22622
|
|
|
22623
22623
|
// 图片撑开时,会影响布局, 节流结束后调用
|
|
22624
|
-
const handleResize = throttle$1(async
|
|
22625
|
-
if (!wrapper.value
|
|
22624
|
+
const handleResize = throttle$1(async () => {
|
|
22625
|
+
if (!wrapper.value) return;
|
|
22626
22626
|
const isNeedRefreshLayout = rebuildData.value.some(i => !i.isPlaceholder);
|
|
22627
22627
|
if (isNeedRefreshLayout) {
|
|
22628
22628
|
const oldFirstItemIndex = firstItemIndex.value;
|
|
@@ -22768,7 +22768,7 @@
|
|
|
22768
22768
|
"data-column": item.column,
|
|
22769
22769
|
"data-size": item.size,
|
|
22770
22770
|
"data-position": item.position,
|
|
22771
|
-
"onResize": handleResize
|
|
22771
|
+
"onResize": e => e?.inited === true && handleResize()
|
|
22772
22772
|
}, {
|
|
22773
22773
|
default: () => [slots.default?.({
|
|
22774
22774
|
row: item.data || {},
|
|
@@ -44494,7 +44494,7 @@
|
|
|
44494
44494
|
const COMPONENT_NAME$c = 'vc-textarea';
|
|
44495
44495
|
const Textarea = /* @__PURE__ */ vue.defineComponent({
|
|
44496
44496
|
name: COMPONENT_NAME$c,
|
|
44497
|
-
props: Object.assign(props$7, {
|
|
44497
|
+
props: Object.assign({}, props$7, {
|
|
44498
44498
|
indicator: {
|
|
44499
44499
|
type: [Boolean, Object],
|
|
44500
44500
|
default: false
|
|
@@ -44552,7 +44552,7 @@
|
|
|
44552
44552
|
const COMPONENT_NAME$b = 'vcm-textarea';
|
|
44553
44553
|
const MTextarea = /* @__PURE__ */ vue.defineComponent({
|
|
44554
44554
|
name: COMPONENT_NAME$b,
|
|
44555
|
-
props: Object.assign(props$7, {
|
|
44555
|
+
props: Object.assign({}, props$7, {
|
|
44556
44556
|
align: {
|
|
44557
44557
|
type: String,
|
|
44558
44558
|
default: 'left'
|