dfish-widget 1.0.79 → 1.0.81
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 +10 -9
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -1626,7 +1626,7 @@ $$1.ajax = async function(cmd, args) {
|
|
|
1626
1626
|
if (!src && !cmd.request) {
|
|
1627
1627
|
return Promise.reject('$.ajax(): The first parameter must be an object, and the property(src) of the object is required.')
|
|
1628
1628
|
}
|
|
1629
|
-
let config = $$1.lodash.pick(cmd, ['headers', 'responseType']);
|
|
1629
|
+
let config = $$1.lodash.pick(cmd, ['headers', 'responseType', 'transformRequest', 'transformResponse', 'timeout', 'cancelToken']);
|
|
1630
1630
|
if (cmd.download) {
|
|
1631
1631
|
$$1.extend(config, {responseType: 'blob'});
|
|
1632
1632
|
}
|
|
@@ -4311,11 +4311,11 @@ let inst$1 = null;
|
|
|
4311
4311
|
name: 'w-tip',
|
|
4312
4312
|
mixins: [script$1a],
|
|
4313
4313
|
props: ['face', 'text', 'escape'],
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4314
|
+
provide() {
|
|
4315
|
+
return {
|
|
4316
|
+
provideView: this.provideView
|
|
4317
|
+
}
|
|
4318
|
+
},
|
|
4319
4319
|
methods: {
|
|
4320
4320
|
x_default() {
|
|
4321
4321
|
return {
|
|
@@ -9315,14 +9315,14 @@ var script$q = {
|
|
|
9315
9315
|
},
|
|
9316
9316
|
mounted() {
|
|
9317
9317
|
this.indent();
|
|
9318
|
-
const observe = () => {
|
|
9318
|
+
const observe = $$1.lodash.debounce(() => {
|
|
9319
9319
|
if (this.$refs.wrap && this.$refs.next) {
|
|
9320
9320
|
$$1.q('.w-timeline-item', this.$refs.wrap).css({[this.x.vertical ? 'marginTop' : 'marginLeft']: 0});
|
|
9321
9321
|
$$1.q(this.$refs.next).css({[this.x.vertical ? 'marginTop' : 'marginLeft']: 0});
|
|
9322
9322
|
this.indent();
|
|
9323
9323
|
}
|
|
9324
|
-
};
|
|
9325
|
-
new
|
|
9324
|
+
});
|
|
9325
|
+
new MutationObserver(observe).observe(this.$refs.wrap, {childList: true, attributes:true, subtree: true});
|
|
9326
9326
|
}
|
|
9327
9327
|
};
|
|
9328
9328
|
|
|
@@ -11264,6 +11264,7 @@ var script$a = {
|
|
|
11264
11264
|
}
|
|
11265
11265
|
},
|
|
11266
11266
|
isUsableVal(v) {
|
|
11267
|
+
if (!v) return true
|
|
11267
11268
|
if (!$$1.dateValid(v, this.x.format)) return false
|
|
11268
11269
|
let eh = this.x.enableHour && $$1.arrayNumber(this.x.enableHour);
|
|
11269
11270
|
let em = this.x.enableMinute && $$1.arrayNumber(this.x.enableMinute);
|