dfish-widget 1.0.108 → 1.0.109
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/lib/index.esm.js +32 -6
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -1739,9 +1739,8 @@ $$1.config = function(opt) {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
};
|
|
1741
1741
|
|
|
1742
|
-
$$1.pop = (template, props,
|
|
1743
|
-
|
|
1744
|
-
return $$1.vm(commander).createPop(commander, template, props, options)
|
|
1742
|
+
$$1.pop = (template, props, target, mode) => {
|
|
1743
|
+
return (target ? $$1(target) : $$1.vm()).pop(template, props, {mode})
|
|
1745
1744
|
};
|
|
1746
1745
|
|
|
1747
1746
|
$$1.submit = (request, options = {}) => {
|
|
@@ -11401,6 +11400,20 @@ var script$c = {
|
|
|
11401
11400
|
}
|
|
11402
11401
|
}
|
|
11403
11402
|
},
|
|
11403
|
+
isReadonly() {
|
|
11404
|
+
if (this.x.readonly == null) {
|
|
11405
|
+
let p = this.provideRangeParent;
|
|
11406
|
+
if (p && p.x.readonly) return true
|
|
11407
|
+
}
|
|
11408
|
+
return !!this.x.readonly
|
|
11409
|
+
},
|
|
11410
|
+
isDisabled() {
|
|
11411
|
+
if (this.x.disabled == null) {
|
|
11412
|
+
let p = this.provideRangeParent;
|
|
11413
|
+
if (p && p.x.disabled) return true
|
|
11414
|
+
}
|
|
11415
|
+
return !!this.x.disabled
|
|
11416
|
+
},
|
|
11404
11417
|
input_prop() {
|
|
11405
11418
|
return {
|
|
11406
11419
|
'w-valuetype': 'number',
|
|
@@ -11602,11 +11615,11 @@ var script$b = {
|
|
|
11602
11615
|
...this.pubValidHooks,
|
|
11603
11616
|
minValue: (v, r, q) => {
|
|
11604
11617
|
if (v && $$1.dateParse(v, this.x.format) < $$1.dateParse(r, this.x.format))
|
|
11605
|
-
return this.formErr(q)
|
|
11618
|
+
return this.formErr(q, [r])
|
|
11606
11619
|
},
|
|
11607
11620
|
maxValue: (v, r, q) => {
|
|
11608
11621
|
if (v && $$1.dateParse(v, this.x.format) > $$1.dateParse(r, this.x.format))
|
|
11609
|
-
return this.formErr(q)
|
|
11622
|
+
return this.formErr(q, [r])
|
|
11610
11623
|
},
|
|
11611
11624
|
compare: (v, r, q) => {
|
|
11612
11625
|
let e = this.getCompareError(v, r);
|
|
@@ -11636,6 +11649,20 @@ var script$b = {
|
|
|
11636
11649
|
}
|
|
11637
11650
|
}
|
|
11638
11651
|
},
|
|
11652
|
+
isReadonly() {
|
|
11653
|
+
if (this.x.readonly == null) {
|
|
11654
|
+
let p = this.provideRangeParent;
|
|
11655
|
+
if (p && p.x.readonly) return true
|
|
11656
|
+
}
|
|
11657
|
+
return !!this.x.readonly
|
|
11658
|
+
},
|
|
11659
|
+
isDisabled() {
|
|
11660
|
+
if (this.x.disabled == null) {
|
|
11661
|
+
let p = this.provideRangeParent;
|
|
11662
|
+
if (p && p.x.disabled) return true
|
|
11663
|
+
}
|
|
11664
|
+
return !!this.x.disabled
|
|
11665
|
+
},
|
|
11639
11666
|
input_prop() {
|
|
11640
11667
|
return $$1.br.mobile ? {
|
|
11641
11668
|
readonly: true,
|
|
@@ -11927,7 +11954,6 @@ var script$7 = {
|
|
|
11927
11954
|
html_form() {
|
|
11928
11955
|
let c = this.slots_children();
|
|
11929
11956
|
c.splice(1, 0, h('div', {ref: 'to', class: 'w-range-to'}, $$1.loc.to));
|
|
11930
|
-
//c.push(h('input', {type: 'hidden', ref:'v', id: this.uid + 'hdn'}))
|
|
11931
11957
|
return c
|
|
11932
11958
|
},
|
|
11933
11959
|
},
|